open_nlp 0.0.7-java → 0.1.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -2
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +6 -0
  5. data/Gemfile.lock +31 -0
  6. data/README.md +8 -1
  7. data/lib/open_nlp.rb +3 -3
  8. data/lib/open_nlp/categorizer.rb +7 -3
  9. data/lib/open_nlp/chunker.rb +19 -8
  10. data/lib/open_nlp/model.rb +13 -9
  11. data/lib/open_nlp/named_entity_detector.rb +6 -2
  12. data/lib/open_nlp/opennlp-maxent-3.0.3.jar +0 -0
  13. data/lib/open_nlp/opennlp-tools-1.5.3.jar +0 -0
  14. data/lib/open_nlp/parser.rb +43 -33
  15. data/lib/open_nlp/parser/parse.rb +12 -21
  16. data/lib/open_nlp/pos_tagger.rb +5 -2
  17. data/lib/open_nlp/sentence_detector.rb +16 -6
  18. data/lib/open_nlp/tokenizer.rb +8 -3
  19. data/lib/open_nlp/tool.rb +1 -1
  20. data/lib/open_nlp/util.rb +1 -2
  21. data/lib/open_nlp/util/span.rb +5 -5
  22. data/lib/open_nlp/version.rb +1 -1
  23. data/spec/categorizer_spec.rb +24 -22
  24. data/spec/chunker_spec.rb +29 -28
  25. data/spec/model/chunker_spec.rb +12 -15
  26. data/spec/model/detokenizer_spec.rb +11 -14
  27. data/spec/model/named_entity_detector_spec.rb +11 -14
  28. data/spec/model/pos_tagger_spec.rb +12 -15
  29. data/spec/model/sentence_detector_spec.rb +11 -14
  30. data/spec/model/tokenizer_spec.rb +11 -14
  31. data/spec/named_entity_detector_spec.rb +28 -27
  32. data/spec/parser/parse_spec.rb +64 -56
  33. data/spec/parser_spec.rb +26 -21
  34. data/spec/pos_tagger_spec.rb +22 -23
  35. data/spec/sentence_detector_spec.rb +39 -30
  36. data/spec/spec_helper.rb +1 -1
  37. data/spec/tokenizer_spec.rb +26 -22
  38. metadata +16 -17
  39. data/lib/open_nlp/opennlp-maxent-3.0.2-incubating.jar +0 -0
  40. data/lib/open_nlp/opennlp-tools-1.5.2-incubating.jar +0 -0
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_nlp
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.0.7
4
+ version: 0.1.0
6
5
  platform: java
7
6
  authors:
8
7
  - Hck
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-22 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: JRuby tools wrapper for Apache OpenNLP
15
14
  email:
@@ -17,9 +16,12 @@ executables: []
17
16
  extensions: []
18
17
  extra_rdoc_files: []
19
18
  files:
20
- - .gitignore
21
- - .rspec
19
+ - ".gitignore"
20
+ - ".rspec"
21
+ - ".ruby-version"
22
+ - ".travis.yml"
22
23
  - Gemfile
24
+ - Gemfile.lock
23
25
  - LICENSE.txt
24
26
  - README.md
25
27
  - Rakefile
@@ -37,8 +39,8 @@ files:
37
39
  - lib/open_nlp/model/sentence_detector.rb
38
40
  - lib/open_nlp/model/tokenizer.rb
39
41
  - lib/open_nlp/named_entity_detector.rb
40
- - lib/open_nlp/opennlp-maxent-3.0.2-incubating.jar
41
- - lib/open_nlp/opennlp-tools-1.5.2-incubating.jar
42
+ - lib/open_nlp/opennlp-maxent-3.0.3.jar
43
+ - lib/open_nlp/opennlp-tools-1.5.3.jar
42
44
  - lib/open_nlp/parser.rb
43
45
  - lib/open_nlp/parser/parse.rb
44
46
  - lib/open_nlp/pos_tagger.rb
@@ -74,29 +76,26 @@ files:
74
76
  - spec/tokenizer_spec.rb
75
77
  homepage: http://github.com/hck/open_nlp
76
78
  licenses: []
79
+ metadata: {}
77
80
  post_install_message:
78
81
  rdoc_options: []
79
82
  require_paths:
80
83
  - lib
81
84
  required_ruby_version: !ruby/object:Gem::Requirement
82
85
  requirements:
83
- - - ! '>='
86
+ - - ">="
84
87
  - !ruby/object:Gem::Version
85
- version: !binary |-
86
- MA==
87
- none: false
88
+ version: '0'
88
89
  required_rubygems_version: !ruby/object:Gem::Requirement
89
90
  requirements:
90
- - - ! '>='
91
+ - - ">="
91
92
  - !ruby/object:Gem::Version
92
- version: !binary |-
93
- MA==
94
- none: false
93
+ version: '0'
95
94
  requirements: []
96
95
  rubyforge_project:
97
- rubygems_version: 1.8.24
96
+ rubygems_version: 2.4.8
98
97
  signing_key:
99
- specification_version: 3
98
+ specification_version: 4
100
99
  summary: A JRuby wrapper for the Apache OpenNLP tools library
101
100
  test_files:
102
101
  - spec/categorizer_spec.rb