mecab-light 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/ext/{mecab_light_binding.c → mecab/light/binding.c} +1 -1
- data/ext/{extconf.rb → mecab/light/extconf.rb} +1 -1
- data/lib/mecab/light/version.rb +1 -1
- data/lib/mecab/light.rb +1 -1
- data/mecab-light.gemspec +3 -3
- metadata +7 -8
- data/lib/mecab/light/binding.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 974e912e189f8360bb6262bd58cd1d429bf3c0e8
|
4
|
+
data.tar.gz: 30c75d49c243b6607af51332cff756d882760cf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00e60f2b160e885a58cbab9ce939b62846968e89b2b34d8fb18ba6cb658041297b9272949b0939b535f1e934ad89c96d0ba31e11d1deeb04165aa07d878dc4c0
|
7
|
+
data.tar.gz: 98223a90310d0be19a82f7084faaf4536431b2ec4e4ed25547c9b3c87f3969f4e3731726ee005c41438b7eb0d1b6f1c6625d800834496a60b778bdf28a27aaa4
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# MeCab::Light [![Build Status](https://travis-ci.org/hadzimme/mecab-light.png)](https://travis-ci.org/hadzimme/mecab-light)
|
2
2
|
|
3
|
-
Use a sequence of
|
3
|
+
Use a sequence of morphemes as an Enumerable object.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -30,6 +30,7 @@ tagger = MeCab::Light::Tagger.new
|
|
30
30
|
string = 'この文を形態素解析してください。'
|
31
31
|
result = tagger.parse(string)
|
32
32
|
result[0].surface #=> "この"
|
33
|
+
result.kind_of?(Enumerable) #=> true
|
33
34
|
result.map{|morpheme| morpheme.surface }
|
34
35
|
#=> ["この", "文", "を", "形態素", "解析", "し", "て", "ください", "。"]
|
35
36
|
```
|
data/lib/mecab/light/version.rb
CHANGED
data/lib/mecab/light.rb
CHANGED
data/mecab-light.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = MeCab::Light::VERSION
|
9
9
|
gem.authors = ["Hajime WAKAHARA"]
|
10
10
|
gem.email = ["hajime.wakahara@gmail.com"]
|
11
|
-
gem.description = %q{Use a sequence of
|
12
|
-
gem.summary = %q{
|
11
|
+
gem.description = %q{Use a sequence of morphemes as an Enumerable object.}
|
12
|
+
gem.summary = %q{An simple interface for MeCab (UNOFFICIAL)}
|
13
13
|
gem.homepage = "https://github.com/hadzimme/mecab-light"
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
19
|
gem.required_ruby_version = '>= 1.9'
|
20
|
-
gem.extensions << 'ext/extconf.rb'
|
20
|
+
gem.extensions << 'ext/mecab/light/extconf.rb'
|
21
21
|
|
22
22
|
gem.add_development_dependency 'rake'
|
23
23
|
gem.add_development_dependency 'rspec'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mecab-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hajime WAKAHARA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -38,12 +38,12 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description: Use a sequence of
|
41
|
+
description: Use a sequence of morphemes as an Enumerable object.
|
42
42
|
email:
|
43
43
|
- hajime.wakahara@gmail.com
|
44
44
|
executables: []
|
45
45
|
extensions:
|
46
|
-
- ext/extconf.rb
|
46
|
+
- ext/mecab/light/extconf.rb
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- .gitignore
|
@@ -51,10 +51,9 @@ files:
|
|
51
51
|
- LICENSE.txt
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
|
-
- ext/
|
55
|
-
- ext/
|
54
|
+
- ext/mecab/light/binding.c
|
55
|
+
- ext/mecab/light/extconf.rb
|
56
56
|
- lib/mecab/light.rb
|
57
|
-
- lib/mecab/light/binding.rb
|
58
57
|
- lib/mecab/light/morpheme.rb
|
59
58
|
- lib/mecab/light/result.rb
|
60
59
|
- lib/mecab/light/tagger.rb
|
@@ -83,6 +82,6 @@ rubyforge_project:
|
|
83
82
|
rubygems_version: 2.0.0
|
84
83
|
signing_key:
|
85
84
|
specification_version: 4
|
86
|
-
summary:
|
85
|
+
summary: An simple interface for MeCab (UNOFFICIAL)
|
87
86
|
test_files:
|
88
87
|
- spec/mecab_spec.rb
|
data/lib/mecab/light/binding.rb
DELETED