kuromoji-ruby 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/{kuromoji.rb → kuromoji-ruby.rb} +0 -0
- data/lib/kuromoji/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b43af36ea9515dc87ed2751aee068bdfb8060e83
|
4
|
+
data.tar.gz: 6f19d990ef841f40a2d7d01cbc6f24117805f3f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37758b27823adf28a4d6406c249196fe201feff6227ccbf743e13df9f7d9d4cb47e37a654fe91ba170fcbfb30cb0b7db8bc85c5ced4ef3c872ac006538d0a809
|
7
|
+
data.tar.gz: 182bf42cf2b2f5ccca45fbd45181ed57e6d74144f9b6639d28310053de080d9e164dd7e31a92986e1230b3b57d7aa7deb947dd759770dc5c3b6293c9b8995bb5
|
data/README.md
CHANGED
@@ -31,7 +31,7 @@ export JAVA_HOME=`/usr/libexec/java_home`
|
|
31
31
|
and to run.
|
32
32
|
|
33
33
|
```ruby
|
34
|
-
Kuromoji.tokenize("あそこにいるのチャウチャウちゃうんちゃう")
|
34
|
+
Kuromoji::Core.new.tokenize("あそこにいるのチャウチャウちゃうんちゃう")
|
35
35
|
#=> {"あそこ"=>"名詞,代名詞,一般,*,*,*,あそこ,アソコ,アソコ",
|
36
36
|
"に"=>"助詞,格助詞,一般,*,*,*,に,ニ,ニ",
|
37
37
|
"いる"=>"動詞,自立,*,*,一段,基本形,いる,イル,イル",
|
@@ -39,7 +39,7 @@ Kuromoji.tokenize("あそこにいるのチャウチャウちゃうんちゃう"
|
|
39
39
|
"チャウチャウ"=>"名詞,一般,*,*,*,*,*",
|
40
40
|
"ちゃう"=>"動詞,自立,*,*,五段・ワ行促音便,基本形,ちゃう,チャウ,チャウ",
|
41
41
|
"ん"=>"名詞,非自立,一般,*,*,*,ん,ン,ン"}
|
42
|
-
Kuromoji.reading("吉田篤")
|
42
|
+
Kuromoji::Core.new.reading("吉田篤")
|
43
43
|
=> {"吉田"=>"ヨシダ", "篤"=>"アツシ"}
|
44
44
|
```
|
45
45
|
|
@@ -53,7 +53,7 @@ Commands:
|
|
53
53
|
kuromoji tokenize # echo '関西国際空港は、大阪府大阪市の南西38kmにまたがる会社管理空港である' | kuromoji -t
|
54
54
|
```
|
55
55
|
|
56
|
-
##
|
56
|
+
## Example
|
57
57
|
|
58
58
|
output json format
|
59
59
|
|
File without changes
|
data/lib/kuromoji/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kuromoji-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toyama0919
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rjb
|
@@ -124,7 +124,7 @@ files:
|
|
124
124
|
- Rakefile
|
125
125
|
- bin/kuromoji
|
126
126
|
- kuromoji.gemspec
|
127
|
-
- lib/kuromoji.rb
|
127
|
+
- lib/kuromoji-ruby.rb
|
128
128
|
- lib/kuromoji/commands.rb
|
129
129
|
- lib/kuromoji/core.rb
|
130
130
|
- lib/kuromoji/version.rb
|
@@ -158,10 +158,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.5.1
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: A ruby wrapper for the Kuromoji Japanese morphological analyzer.
|
165
165
|
test_files:
|
166
166
|
- test/kuromoji_test.rb
|
167
167
|
- test/test_helper.rb
|
168
|
+
has_rdoc:
|