opener-ner 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: 81a89a206b92a88556d978ef8ad37bb9b6ca03d3
4
- data.tar.gz: 801709895c96d74cd75b6f34bcf2f08aa8e7654b
3
+ metadata.gz: 5c77d158e1dd7057cdde02e255491363f5ec351f
4
+ data.tar.gz: f6dceeec56433da36aff8f86e400386505251992
5
5
  SHA512:
6
- metadata.gz: 0475803001bf5e36ebb77c2b567d2d11245b098406b8226b5d38a52452266d88cad0f9fa9566f30394428768b0061c0951002b6ea4cab99a9836012b7bc0aa0d
7
- data.tar.gz: 38ee582fb0d5ab10c9256a6d4d5ea093da4fb5a749e037fffb0d0804ed545ab4eae317706d43b9ca76c11e9b2f3297eee5109197a8cf816bcc772b4d515a2f4c
6
+ metadata.gz: 0a0bf3e06f4dfa59b632d35918a2c6b325061d30d753856660acf5998eecc97e2443e83b7ffe6c313e3504311918d3e2d3b207fd6f5b4c563d3faeff1731422d
7
+ data.tar.gz: ec1b103186afb95179b4edaa70f2a7148e47c4e96167de8113ad6ed6d78f1bb470a5389397de534502b667699f40d14c0ae923ac98dda802d058fa503692fd48
data/README.md CHANGED
@@ -8,7 +8,7 @@ as well as providing a Sinatra based web service.
8
8
 
9
9
  This software is part of a larger collection of natural language processing
10
10
  tools known as "the OpeNER project". You can find more information about the
11
- project at (the OpeNER portal)[http://opener-project.github.io]. There you can
11
+ project at [the OpeNER portal](http://opener-project.github.io). There you can
12
12
  also find references to terms like KAF (an XML standard to represent linguistic
13
13
  annotations in texts), component, cores, scenario's and pipelines.
14
14
 
@@ -82,10 +82,8 @@ Description of dependencies
82
82
  ---------------------------
83
83
 
84
84
  This component runs best if you run it in an environment suited for OpeNER
85
- components. You can find an installation guide and helper tools in the (OpeNER
86
- installer)[https://github.com/opener-project/opener-installer] and (an
87
- installation guide on the Opener
88
- Website)[http://opener-project.github.io/getting-started/how-to/local-installation.html]
85
+ components. You can find an installation guide and helper tools in the [OpeNER installer](https://github.com/opener-project/opener-installer) and an
86
+ [installation guide on the Opener Website](http://opener-project.github.io/getting-started/how-to/local-installation.html)
89
87
 
90
88
  At least you need the following system setup:
91
89
 
@@ -114,26 +112,26 @@ The Core
114
112
  The component is a fat wrapper around the actual language technology core. You
115
113
  can find the core technolies in the following repositories:
116
114
 
117
- * (ner-base)[https://github.com/opener-project/ner-base]
115
+ * [ner-base](https://github.com/opener-project/ner-base)
118
116
 
119
117
 
120
118
  Where to go from here
121
119
  ---------------------
122
120
 
123
- * Check (the project websitere)[http://opener-project.github.io]
124
- * (Checkout the webservice)[http://opener.olery.com/ner]
121
+ * [Check the project websitere](http://opener-project.github.io)
122
+ * [Checkout the webservice](http://opener.olery.com/ner)
125
123
 
126
124
  Report problem/Get help
127
125
  -----------------------
128
126
 
129
- If you encounter problems, please email support@opener-project.eu or leave an
130
- issue in the (issue tracker)[https://github.com/opener-project/ner/issues].
127
+ If you encounter problems, please email <support@opener-project.eu> or leave an
128
+ issue in the [issue tracker](https://github.com/opener-project/ner/issues).
131
129
 
132
130
 
133
131
  Contributing
134
132
  ------------
135
133
 
136
- 1. Fork it ( http://github.com/opener-project/ner/fork )
134
+ 1. Fork it <http://github.com/opener-project/ner/fork>
137
135
  2. Create your feature branch (`git checkout -b my-new-feature`)
138
136
  3. Commit your changes (`git commit -am 'Add some feature'`)
139
137
  4. Push to the branch (`git push origin my-new-feature`)
data/bin/ner-daemon ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opener/daemons'
4
+
5
+ exec_path = File.expand_path('../../exec/ner.rb', __FILE__)
6
+
7
+ Opener::Daemons::Controller.new(
8
+ :name => 'ner',
9
+ :exec_path => exec_path
10
+ )
data/exec/ner.rb ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opener/daemons'
4
+ require_relative '../lib/opener/ner'
5
+
6
+ options = Opener::Daemons::OptParser.parse!(ARGV)
7
+ daemon = Opener::Daemons::Daemon.new(Opener::Ner, options)
8
+
9
+ daemon.start
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class Ner
3
- VERSION = '2.0.1'
3
+ VERSION = '2.0.2'
4
4
  end # NER
5
5
  end # Opener
data/opener-ner.gemspec CHANGED
@@ -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) }
@@ -23,6 +24,8 @@ Gem::Specification.new do |gem|
23
24
  gem.add_dependency 'httpclient'
24
25
  gem.add_dependency 'nokogiri'
25
26
  gem.add_dependency 'puma'
27
+ gem.add_dependency 'opener-daemons'
28
+ gem.add_dependency 'opener-core', ['>= 0.1.2']
26
29
  gem.add_dependency 'opener-ner-base'
27
30
  gem.add_dependency 'opener-webservice'
28
31
 
metadata CHANGED
@@ -1,153 +1,184 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-ner
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: sinatra
15
- requirement: !ruby/object:Gem::Requirement
15
+ version_requirements: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
- - - "~>"
22
+ - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '1.4'
25
+ prerelease: false
26
+ type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: httpclient
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
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: nokogiri
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: nokogiri
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: puma
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: puma
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: opener-daemons
64
71
  version_requirements: !ruby/object:Gem::Requirement
65
72
  requirements:
66
- - - ">="
73
+ - - '>='
67
74
  - !ruby/object:Gem::Version
68
75
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: opener-ner-base
71
76
  requirement: !ruby/object:Gem::Requirement
72
77
  requirements:
73
- - - ">="
78
+ - - '>='
74
79
  - !ruby/object:Gem::Version
75
80
  version: '0'
81
+ prerelease: false
76
82
  type: :runtime
83
+ - !ruby/object:Gem::Dependency
84
+ name: opener-core
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.1.2
90
+ requirement: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - '>='
93
+ - !ruby/object:Gem::Version
94
+ version: 0.1.2
77
95
  prerelease: false
96
+ type: :runtime
97
+ - !ruby/object:Gem::Dependency
98
+ name: opener-ner-base
78
99
  version_requirements: !ruby/object:Gem::Requirement
79
100
  requirements:
80
- - - ">="
101
+ - - '>='
81
102
  - !ruby/object:Gem::Version
82
103
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: opener-webservice
85
104
  requirement: !ruby/object:Gem::Requirement
86
105
  requirements:
87
- - - ">="
106
+ - - '>='
88
107
  - !ruby/object:Gem::Version
89
108
  version: '0'
90
- type: :runtime
91
109
  prerelease: false
110
+ type: :runtime
111
+ - !ruby/object:Gem::Dependency
112
+ name: opener-webservice
92
113
  version_requirements: !ruby/object:Gem::Requirement
93
114
  requirements:
94
- - - ">="
115
+ - - '>='
95
116
  - !ruby/object:Gem::Version
96
117
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rake
99
118
  requirement: !ruby/object:Gem::Requirement
100
119
  requirements:
101
- - - ">="
120
+ - - '>='
102
121
  - !ruby/object:Gem::Version
103
122
  version: '0'
104
- type: :development
105
123
  prerelease: false
124
+ type: :runtime
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
106
127
  version_requirements: !ruby/object:Gem::Requirement
107
128
  requirements:
108
- - - ">="
129
+ - - '>='
109
130
  - !ruby/object:Gem::Version
110
131
  version: '0'
132
+ requirement: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - '>='
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ prerelease: false
138
+ type: :development
111
139
  description: Primary NER component that wraps the various NER kernels.
112
- email:
140
+ email:
113
141
  executables:
114
142
  - ner
115
143
  - ner-server
144
+ - ner-daemon
116
145
  extensions: []
117
146
  extra_rdoc_files: []
118
147
  files:
119
- - README.md
120
- - bin/ner
121
- - bin/ner-server
122
- - config.ru
123
148
  - lib/opener/ner.rb
149
+ - lib/opener/ner/version.rb
150
+ - lib/opener/ner/server.rb
124
151
  - lib/opener/ner/cli.rb
125
152
  - lib/opener/ner/public/markdown.css
126
- - lib/opener/ner/server.rb
127
- - lib/opener/ner/version.rb
128
153
  - lib/opener/ner/views/index.erb
154
+ - config.ru
129
155
  - opener-ner.gemspec
130
- homepage:
156
+ - README.md
157
+ - exec/ner.rb
158
+ - bin/ner
159
+ - bin/ner-server
160
+ - bin/ner-daemon
161
+ homepage:
131
162
  licenses: []
132
163
  metadata: {}
133
- post_install_message:
164
+ post_install_message:
134
165
  rdoc_options: []
135
166
  require_paths:
136
167
  - lib
137
168
  required_ruby_version: !ruby/object:Gem::Requirement
138
169
  requirements:
139
- - - ">="
170
+ - - '>='
140
171
  - !ruby/object:Gem::Version
141
172
  version: 1.9.2
142
173
  required_rubygems_version: !ruby/object:Gem::Requirement
143
174
  requirements:
144
- - - ">="
175
+ - - '>='
145
176
  - !ruby/object:Gem::Version
146
177
  version: '0'
147
178
  requirements: []
148
- rubyforge_project:
149
- rubygems_version: 2.2.2
150
- signing_key:
179
+ rubyforge_project:
180
+ rubygems_version: 2.1.9
181
+ signing_key:
151
182
  specification_version: 4
152
183
  summary: Primary NER component that wraps the various NER kernels.
153
184
  test_files: []