natto 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +18 -0
- data/LICENSE +13 -11
- data/README.md +233 -108
- data/lib/natto.rb +26 -0
- data/lib/natto/binding.rb +69 -25
- data/lib/natto/natto.rb +166 -72
- data/lib/natto/option_parse.rb +26 -0
- data/lib/natto/struct.rb +103 -80
- data/lib/natto/version.rb +27 -1
- metadata +12 -10
data/lib/natto/version.rb
CHANGED
@@ -27,5 +27,31 @@
|
|
27
27
|
# `Natto`.
|
28
28
|
module Natto
|
29
29
|
# Version string for this Rubygem.
|
30
|
-
VERSION = "0.9.
|
30
|
+
VERSION = "0.9.7"
|
31
31
|
end
|
32
|
+
|
33
|
+
# Copyright (c) 2014-2015, Brooke M. Fujita.
|
34
|
+
# All rights reserved.
|
35
|
+
#
|
36
|
+
# Redistribution and use in source and binary forms, with or without
|
37
|
+
# modification, are permitted provided that the following conditions are met:
|
38
|
+
#
|
39
|
+
# * Redistributions of source code must retain the above
|
40
|
+
# copyright notice, this list of conditions and the
|
41
|
+
# following disclaimer.
|
42
|
+
#
|
43
|
+
# * Redistributions in binary form must reproduce the above
|
44
|
+
# copyright notice, this list of conditions and the
|
45
|
+
# following disclaimer in the documentation and/or other
|
46
|
+
# materials provided with the distribution.
|
47
|
+
#
|
48
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
49
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
50
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
51
|
+
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
52
|
+
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
53
|
+
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
54
|
+
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
55
|
+
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
56
|
+
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
57
|
+
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: natto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke M. Fujita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -25,22 +25,22 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.9.0
|
27
27
|
description: |
|
28
|
-
|
28
|
+
No compiler is necessary, as natto is not a C extension. It will run on CRuby (mri/yarv) and JRuby (jvm) equally well. It will also run on Windows, Unix/Linux, and Mac OS. natto provides a naturally Ruby-esque interface to MeCab.
|
29
29
|
email: buruzaemon@gmail.com
|
30
30
|
executables: []
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
+
- .yardopts
|
35
|
+
- CHANGELOG
|
36
|
+
- LICENSE
|
37
|
+
- README.md
|
34
38
|
- lib/natto.rb
|
35
39
|
- lib/natto/binding.rb
|
36
40
|
- lib/natto/natto.rb
|
37
41
|
- lib/natto/option_parse.rb
|
38
42
|
- lib/natto/struct.rb
|
39
43
|
- lib/natto/version.rb
|
40
|
-
- README.md
|
41
|
-
- LICENSE
|
42
|
-
- CHANGELOG
|
43
|
-
- .yardopts
|
44
44
|
homepage: https://bitbucket.org/buruzaemon/natto
|
45
45
|
licenses:
|
46
46
|
- BSD
|
@@ -63,9 +63,11 @@ requirements:
|
|
63
63
|
- MeCab, 0.996 or greater
|
64
64
|
- FFI, 1.9.0 or greater
|
65
65
|
rubyforge_project:
|
66
|
-
rubygems_version: 2.
|
66
|
+
rubygems_version: 2.4.1
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
|
-
summary:
|
70
|
-
and morphological analyzer for
|
69
|
+
summary: A gem leveraging FFI (foreign function interface), natto combines the Ruby
|
70
|
+
programming language with MeCab, the part-of-speech and morphological analyzer for
|
71
|
+
the Japanese language.
|
71
72
|
test_files: []
|
73
|
+
has_rdoc:
|