opener-pos-tagger 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a8029cbbc32db1198fdad5dace36d24e6a6fb0a
4
- data.tar.gz: e4fc6ddf8b971397000aae788572e32d2ddc1fbb
3
+ metadata.gz: 3b924bfe2c2bd35de1ddcf465ad4396a2842d300
4
+ data.tar.gz: 46a6eee4488f576b382ea4f2b6346217902d76f8
5
5
  SHA512:
6
- metadata.gz: b4fe20a7556bb3a60712c391d52ae07b3f52cc613bfccf3cbdea35f27e460f4867cf476d2febc415c65c1b78a48444fa06e8bf63f49c268fc07a2934a60c1efb
7
- data.tar.gz: c313ae995237ea105472e7991f4b126de819cf38ab59af0e3e1bb5c97a62b66a67c7af62f38950f63467566d4cd7cefdb2cdd4194a680e7fb0b16a4e26ab23c3
6
+ metadata.gz: 27112c94e357cb70e551a3f370bda5e721a6b64ea555ddf88fd07b2439d970d115e4188ca976f375513e8850e2c5c8fa090870e35639353940c7a841beb45b80
7
+ data.tar.gz: 88e1f4898780a602ce385f77f37f5c2cea4e0cf90d117b3452cf9d508b4652ea89ede61fe6004126a52953e0d7a5b1a5589ce5bf2064a4b063941a8ae48c997f
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  POS-tagger
2
2
  ------------
3
3
 
4
- Component that wraps the different existing POS Taggers based on OpenNLP.
4
+ Component that wraps the different existing POS Taggers.
5
5
 
6
6
  ### Confused by some terminology?
7
7
 
8
8
  This software is part of a larger collection of natural language processing
9
9
  tools known as "the OpeNER project". You can find more information about the
10
- project at (the OpeNER portal)[http://opener-project.github.io]. There you can
10
+ project at [the OpeNER portal](http://opener-project.github.io). There you can
11
11
  also find references to terms like KAF (an XML standard to represent linguistic
12
12
  annotations in texts), component, cores, scenario's and pipelines.
13
13
 
@@ -114,10 +114,7 @@ Description of dependencies
114
114
  ---------------------------
115
115
 
116
116
  This component runs best if you run it in an environment suited for OpeNER
117
- components. You can find an installation guide and helper tools in the (OpeNER
118
- installer)[https://github.com/opener-project/opener-installer] and (an
119
- installation guide on the Opener
120
- Website)[http://opener-project.github.io/getting-started/how-to/local-installation.html]
117
+ components. You can find an installation guide and helper tools in the [OpeNER installer](https://github.com/opener-project/opener-installer) and an [installation guide on the Opener Website](http://opener-project.github.io/getting-started/how-to/local-installation.html)
121
118
 
122
119
  At least you need the following system setup:
123
120
 
@@ -139,25 +136,27 @@ The Core
139
136
  --------
140
137
 
141
138
  The component is a fat wrapper around the actual language technology core. You
142
- can find the core technolies in the following repositories: (https://github.com/opener-project/?query=pos)[https://github.com/opener-project/?query=pos]
139
+ can find the core technolies in the following repositories:
140
+ <https://github.com/opener-project/?query=pos>
141
+ <https://github.com/opener-project/?query=pos>
143
142
 
144
143
  Where to go from here
145
144
  ---------------------
146
145
 
147
- * Check (the project websitere)[http://opener-project.github.io]
148
- * (Checkout the webservice)[http://opener.olery.com/pos-tagger]
146
+ * [Check the project websitere](http://opener-project.github.io)
147
+ * [Checkout the webservice](http://opener.olery.com/pos-tagger)
149
148
 
150
149
  Report problem/Get help
151
150
  -----------------------
152
151
 
153
- If you encounter problems, please email support@opener-project.eu or leave an
154
- issue in the (issue tracker)[https://github.com/opener-project/pos-tagger/issues].
152
+ If you encounter problems, please email <support@opener-project.eu> or leave an
153
+ issue in the [issue tracker](https://github.com/opener-project/pos-tagger/issues).
155
154
 
156
155
 
157
156
  Contributing
158
157
  ------------
159
158
 
160
- 1. Fork it ( http://github.com/opener-project/pos-tagger/fork )
159
+ 1. Fork it <http://github.com/opener-project/pos-tagger/fork>
161
160
  2. Create your feature branch (`git checkout -b my-new-feature`)
162
161
  3. Commit your changes (`git commit -am 'Add some feature'`)
163
162
  4. Push to the branch (`git push origin my-new-feature`)
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opener/daemons'
4
+
5
+ exec_path = File.expand_path('../../exec/pos-tagger.rb', __FILE__)
6
+
7
+ Opener::Daemons::Controller.new(
8
+ :name => 'pos-tagger',
9
+ :exec_path => exec_path
10
+ )
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opener/daemons'
4
+ require_relative '../lib/opener/pos_tagger'
5
+
6
+ options = Opener::Daemons::OptParser.parse!(ARGV)
7
+ daemon = Opener::Daemons::Daemon.new(Opener::PosTagger, options)
8
+
9
+ daemon.start
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class POSTagger
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
5
5
  end
@@ -14,7 +14,8 @@ Gem::Specification.new do |gem|
14
14
  'lib/**/*',
15
15
  'config.ru',
16
16
  '*.gemspec',
17
- 'README.md'
17
+ 'README.md',
18
+ 'exec/**/*'
18
19
  ]).select { |file| File.file?(file) }
19
20
 
20
21
  gem.executables = Dir.glob('bin/*').map { |file| File.basename(file) }
@@ -27,6 +28,8 @@ Gem::Specification.new do |gem|
27
28
  gem.add_dependency 'sinatra', '~>1.4.2'
28
29
  gem.add_dependency 'httpclient'
29
30
  gem.add_dependency 'puma'
31
+ gem.add_dependency 'opener-daemons'
32
+ gem.add_dependency 'opener-core', ['>= 0.1.2']
30
33
 
31
34
  gem.add_development_dependency 'rspec'
32
35
  gem.add_development_dependency 'cucumber'
metadata CHANGED
@@ -1,210 +1,241 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-pos-tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-20 00:00:00.000000000 Z
11
+ date: 2014-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opener-pos-tagger-base
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
15
20
  requirement: !ruby/object:Gem::Requirement
16
21
  requirements:
17
- - - ">="
22
+ - - '>='
18
23
  - !ruby/object:Gem::Version
19
24
  version: '0'
20
- type: :runtime
21
25
  prerelease: false
26
+ type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: opener-pos-tagger-en-es
22
29
  version_requirements: !ruby/object:Gem::Requirement
23
30
  requirements:
24
- - - ">="
31
+ - - '>='
25
32
  - !ruby/object:Gem::Version
26
33
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: opener-pos-tagger-en-es
29
34
  requirement: !ruby/object:Gem::Requirement
30
35
  requirements:
31
- - - ">="
36
+ - - '>='
32
37
  - !ruby/object:Gem::Version
33
38
  version: '0'
34
- type: :runtime
35
39
  prerelease: false
40
+ type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ name: opener-webservice
36
43
  version_requirements: !ruby/object:Gem::Requirement
37
44
  requirements:
38
- - - ">="
45
+ - - '>='
39
46
  - !ruby/object:Gem::Version
40
47
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: opener-webservice
43
48
  requirement: !ruby/object:Gem::Requirement
44
49
  requirements:
45
- - - ">="
50
+ - - '>='
46
51
  - !ruby/object:Gem::Version
47
52
  version: '0'
48
- type: :runtime
49
53
  prerelease: false
54
+ type: :runtime
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
50
57
  version_requirements: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ">="
59
+ - - '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: nokogiri
57
62
  requirement: !ruby/object:Gem::Requirement
58
63
  requirements:
59
- - - ">="
64
+ - - '>='
60
65
  - !ruby/object:Gem::Version
61
66
  version: '0'
62
- type: :runtime
63
67
  prerelease: false
68
+ type: :runtime
69
+ - !ruby/object:Gem::Dependency
70
+ name: sinatra
64
71
  version_requirements: !ruby/object:Gem::Requirement
65
72
  requirements:
66
- - - ">="
73
+ - - ~>
67
74
  - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: sinatra
75
+ version: 1.4.2
71
76
  requirement: !ruby/object:Gem::Requirement
72
77
  requirements:
73
- - - "~>"
78
+ - - ~>
74
79
  - !ruby/object:Gem::Version
75
80
  version: 1.4.2
76
- type: :runtime
77
81
  prerelease: false
82
+ type: :runtime
83
+ - !ruby/object:Gem::Dependency
84
+ name: httpclient
78
85
  version_requirements: !ruby/object:Gem::Requirement
79
86
  requirements:
80
- - - "~>"
87
+ - - '>='
81
88
  - !ruby/object:Gem::Version
82
- version: 1.4.2
83
- - !ruby/object:Gem::Dependency
84
- name: httpclient
89
+ version: '0'
85
90
  requirement: !ruby/object:Gem::Requirement
86
91
  requirements:
87
- - - ">="
92
+ - - '>='
88
93
  - !ruby/object:Gem::Version
89
94
  version: '0'
90
- type: :runtime
91
95
  prerelease: false
96
+ type: :runtime
97
+ - !ruby/object:Gem::Dependency
98
+ name: puma
92
99
  version_requirements: !ruby/object:Gem::Requirement
93
100
  requirements:
94
- - - ">="
101
+ - - '>='
95
102
  - !ruby/object:Gem::Version
96
103
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: puma
99
104
  requirement: !ruby/object:Gem::Requirement
100
105
  requirements:
101
- - - ">="
106
+ - - '>='
102
107
  - !ruby/object:Gem::Version
103
108
  version: '0'
104
- type: :runtime
105
109
  prerelease: false
110
+ type: :runtime
111
+ - !ruby/object:Gem::Dependency
112
+ name: opener-daemons
106
113
  version_requirements: !ruby/object:Gem::Requirement
107
114
  requirements:
108
- - - ">="
115
+ - - '>='
109
116
  - !ruby/object:Gem::Version
110
117
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rspec
113
118
  requirement: !ruby/object:Gem::Requirement
114
119
  requirements:
115
- - - ">="
120
+ - - '>='
116
121
  - !ruby/object:Gem::Version
117
122
  version: '0'
118
- type: :development
119
123
  prerelease: false
124
+ type: :runtime
125
+ - !ruby/object:Gem::Dependency
126
+ name: opener-core
120
127
  version_requirements: !ruby/object:Gem::Requirement
121
128
  requirements:
122
- - - ">="
129
+ - - '>='
123
130
  - !ruby/object:Gem::Version
124
- version: '0'
131
+ version: 0.1.2
132
+ requirement: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - '>='
135
+ - !ruby/object:Gem::Version
136
+ version: 0.1.2
137
+ prerelease: false
138
+ type: :runtime
125
139
  - !ruby/object:Gem::Dependency
126
- name: cucumber
140
+ name: rspec
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
127
146
  requirement: !ruby/object:Gem::Requirement
128
147
  requirements:
129
- - - ">="
148
+ - - '>='
130
149
  - !ruby/object:Gem::Version
131
150
  version: '0'
132
- type: :development
133
151
  prerelease: false
152
+ type: :development
153
+ - !ruby/object:Gem::Dependency
154
+ name: cucumber
134
155
  version_requirements: !ruby/object:Gem::Requirement
135
156
  requirements:
136
- - - ">="
157
+ - - '>='
137
158
  - !ruby/object:Gem::Version
138
159
  version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: pry
141
160
  requirement: !ruby/object:Gem::Requirement
142
161
  requirements:
143
- - - ">="
162
+ - - '>='
144
163
  - !ruby/object:Gem::Version
145
164
  version: '0'
146
- type: :development
147
165
  prerelease: false
166
+ type: :development
167
+ - !ruby/object:Gem::Dependency
168
+ name: pry
148
169
  version_requirements: !ruby/object:Gem::Requirement
149
170
  requirements:
150
- - - ">="
171
+ - - '>='
151
172
  - !ruby/object:Gem::Version
152
173
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: rake
155
174
  requirement: !ruby/object:Gem::Requirement
156
175
  requirements:
157
- - - ">="
176
+ - - '>='
158
177
  - !ruby/object:Gem::Version
159
178
  version: '0'
160
- type: :development
161
179
  prerelease: false
180
+ type: :development
181
+ - !ruby/object:Gem::Dependency
182
+ name: rake
162
183
  version_requirements: !ruby/object:Gem::Requirement
163
184
  requirements:
164
- - - ">="
185
+ - - '>='
165
186
  - !ruby/object:Gem::Version
166
187
  version: '0'
188
+ requirement: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - '>='
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ prerelease: false
194
+ type: :development
167
195
  description: Gem that wraps up the different existing pos-taggers
168
- email:
196
+ email:
169
197
  executables:
170
198
  - pos-tagger-server
171
199
  - pos-tagger
200
+ - pos-tagger-daemon
172
201
  extensions: []
173
202
  extra_rdoc_files: []
174
203
  files:
175
- - README.md
176
- - bin/pos-tagger
177
- - bin/pos-tagger-server
178
- - config.ru
179
204
  - lib/opener/pos_tagger.rb
205
+ - lib/opener/pos_tagger/version.rb
206
+ - lib/opener/pos_tagger/server.rb
180
207
  - lib/opener/pos_tagger/cli.rb
181
208
  - lib/opener/pos_tagger/public/markdown.css
182
- - lib/opener/pos_tagger/server.rb
183
- - lib/opener/pos_tagger/version.rb
184
209
  - lib/opener/pos_tagger/views/index.erb
185
210
  - lib/opener/pos_tagger/views/result.erb
211
+ - config.ru
186
212
  - opener-pos-tagger.gemspec
213
+ - README.md
214
+ - exec/pos-tagger.rb
215
+ - bin/pos-tagger-server
216
+ - bin/pos-tagger
217
+ - bin/pos-tagger-daemon
187
218
  homepage: http://opener-project.github.com/
188
219
  licenses: []
189
220
  metadata: {}
190
- post_install_message:
221
+ post_install_message:
191
222
  rdoc_options: []
192
223
  require_paths:
193
224
  - lib
194
225
  required_ruby_version: !ruby/object:Gem::Requirement
195
226
  requirements:
196
- - - ">="
227
+ - - '>='
197
228
  - !ruby/object:Gem::Version
198
229
  version: 1.9.2
199
230
  required_rubygems_version: !ruby/object:Gem::Requirement
200
231
  requirements:
201
- - - ">="
232
+ - - '>='
202
233
  - !ruby/object:Gem::Version
203
234
  version: '0'
204
235
  requirements: []
205
- rubyforge_project:
206
- rubygems_version: 2.2.2
207
- signing_key:
236
+ rubyforge_project:
237
+ rubygems_version: 2.1.9
238
+ signing_key:
208
239
  specification_version: 4
209
240
  summary: Gem that wraps up the different existing pos-taggers
210
241
  test_files: []