open_nlp 0.0.5-java → 0.0.6-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/lib/open_nlp/parser/parse.rb +1 -1
- data/lib/open_nlp/version.rb +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
@@ -42,7 +42,7 @@ module OpenNlp
|
|
42
42
|
kids = j_instance.getChildren
|
43
43
|
|
44
44
|
kids.inject([]) do |acc,kid|
|
45
|
-
data = {type
|
45
|
+
data = {:type => kid.getType, :parent_type => self.j_instance.getType, :token => kid.toString}
|
46
46
|
subtree = self.class.new(kid).code_tree
|
47
47
|
data[:children] = subtree unless subtree.empty?
|
48
48
|
acc << data
|
data/lib/open_nlp/version.rb
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: open_nlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Hck
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: JRuby tools wrapper for Apache OpenNLP
|
15
15
|
email:
|