open_nlp 0.0.5-java → 0.0.6-java

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.
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in open_nlp.gemspec
4
4
  gemspec
5
+
6
+ group :test do
7
+ gem 'rspec'
8
+ end
@@ -42,7 +42,7 @@ module OpenNlp
42
42
  kids = j_instance.getChildren
43
43
 
44
44
  kids.inject([]) do |acc,kid|
45
- data = {type: kid.getType, parent_type: self.j_instance.getType, token: kid.toString}
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
@@ -1,3 +1,3 @@
1
1
  module OpenNlp
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
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
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-09-28 00:00:00.000000000 Z
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: