opener-pos-tagger 3.1.3 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/opener/pos_tagger.rb +4 -3
- data/lib/opener/pos_tagger/version.rb +3 -1
- data/opener-pos-tagger.gemspec +0 -1
- metadata +70 -71
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 774dcdae5e00e60c2f23bd37ed200b72447da5c32e8656bc82ed5be817f59b69
|
4
|
+
data.tar.gz: 6c1938904c3e6d935c3eff89448c66e2952255e1fa4f41a2ca7f784bb2940dd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71c595655b35c5f2ad9cdd3d6654c611793437f496db80084404bc02cd56c67bdfb9e7055d2b11bcce59b821f71a7f866e49d4e13c161ab0a6535cd822244a25
|
7
|
+
data.tar.gz: 9654949d072ea842b00bce46bc487511345d287bdece48bc1fb1f51a7998e621a50ef3aa260fef14387cd98c705e1c80a0aa16511c2d4e47d461b731e594642e
|
data/lib/opener/pos_tagger.rb
CHANGED
@@ -47,7 +47,7 @@ module Opener
|
|
47
47
|
# @param [String] input The input to process.
|
48
48
|
# @return [Array]
|
49
49
|
#
|
50
|
-
def run
|
50
|
+
def run input, params = {}
|
51
51
|
language = language_from_kaf(input)
|
52
52
|
|
53
53
|
if !language or !valid_language?(language)
|
@@ -91,5 +91,6 @@ module Opener
|
|
91
91
|
def valid_language?(language)
|
92
92
|
return Opener::POSTaggers.const_defined?(language.upcase)
|
93
93
|
end
|
94
|
-
|
95
|
-
end
|
94
|
+
|
95
|
+
end
|
96
|
+
end
|
data/opener-pos-tagger.gemspec
CHANGED
@@ -7,7 +7,6 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.summary = 'Gem that wraps up the different existing pos-taggers'
|
8
8
|
gem.description = gem.summary
|
9
9
|
gem.homepage = 'http://opener-project.github.com/'
|
10
|
-
gem.has_rdoc = "yard"
|
11
10
|
gem.required_ruby_version = ">= 1.9.2"
|
12
11
|
|
13
12
|
gem.license = 'Apache 2.0'
|
metadata
CHANGED
@@ -1,191 +1,191 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-pos-tagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: opener-pos-tagger-base
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.0'
|
20
|
-
- - '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.1.0
|
23
14
|
requirement: !ruby/object:Gem::Requirement
|
24
15
|
requirements:
|
25
|
-
- - ~>
|
16
|
+
- - "~>"
|
26
17
|
- !ruby/object:Gem::Version
|
27
18
|
version: '2.0'
|
28
|
-
- -
|
19
|
+
- - ">="
|
29
20
|
- !ruby/object:Gem::Version
|
30
21
|
version: 2.1.0
|
22
|
+
name: opener-pos-tagger-base
|
31
23
|
prerelease: false
|
32
24
|
type: :runtime
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: opener-pos-tagger-en-es
|
35
25
|
version_requirements: !ruby/object:Gem::Requirement
|
36
26
|
requirements:
|
37
|
-
- - ~>
|
27
|
+
- - "~>"
|
38
28
|
- !ruby/object:Gem::Version
|
39
29
|
version: '2.0'
|
40
|
-
- -
|
30
|
+
- - ">="
|
41
31
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.0
|
32
|
+
version: 2.1.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
43
34
|
requirement: !ruby/object:Gem::Requirement
|
44
35
|
requirements:
|
45
|
-
- - ~>
|
36
|
+
- - "~>"
|
46
37
|
- !ruby/object:Gem::Version
|
47
38
|
version: '2.0'
|
48
|
-
- -
|
39
|
+
- - ">="
|
49
40
|
- !ruby/object:Gem::Version
|
50
41
|
version: 2.0.2
|
42
|
+
name: opener-pos-tagger-en-es
|
51
43
|
prerelease: false
|
52
44
|
type: :runtime
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: opener-webservice
|
55
45
|
version_requirements: !ruby/object:Gem::Requirement
|
56
46
|
requirements:
|
57
|
-
- - ~>
|
47
|
+
- - "~>"
|
58
48
|
- !ruby/object:Gem::Version
|
59
49
|
version: '2.0'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.0.2
|
53
|
+
- !ruby/object:Gem::Dependency
|
60
54
|
requirement: !ruby/object:Gem::Requirement
|
61
55
|
requirements:
|
62
|
-
- - ~>
|
56
|
+
- - "~>"
|
63
57
|
- !ruby/object:Gem::Version
|
64
58
|
version: '2.0'
|
59
|
+
name: opener-webservice
|
65
60
|
prerelease: false
|
66
61
|
type: :runtime
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: opener-daemons
|
69
62
|
version_requirements: !ruby/object:Gem::Requirement
|
70
63
|
requirements:
|
71
|
-
- - ~>
|
64
|
+
- - "~>"
|
72
65
|
- !ruby/object:Gem::Version
|
73
|
-
version: '2.
|
66
|
+
version: '2.0'
|
67
|
+
- !ruby/object:Gem::Dependency
|
74
68
|
requirement: !ruby/object:Gem::Requirement
|
75
69
|
requirements:
|
76
|
-
- - ~>
|
70
|
+
- - "~>"
|
77
71
|
- !ruby/object:Gem::Version
|
78
72
|
version: '2.1'
|
73
|
+
name: opener-daemons
|
79
74
|
prerelease: false
|
80
75
|
type: :runtime
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: opener-core
|
83
76
|
version_requirements: !ruby/object:Gem::Requirement
|
84
77
|
requirements:
|
85
|
-
- - ~>
|
78
|
+
- - "~>"
|
86
79
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
80
|
+
version: '2.1'
|
81
|
+
- !ruby/object:Gem::Dependency
|
88
82
|
requirement: !ruby/object:Gem::Requirement
|
89
83
|
requirements:
|
90
|
-
- - ~>
|
84
|
+
- - "~>"
|
91
85
|
- !ruby/object:Gem::Version
|
92
86
|
version: '2.3'
|
87
|
+
name: opener-core
|
93
88
|
prerelease: false
|
94
89
|
type: :runtime
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: nokogiri
|
97
90
|
version_requirements: !ruby/object:Gem::Requirement
|
98
91
|
requirements:
|
99
|
-
- -
|
92
|
+
- - "~>"
|
100
93
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
94
|
+
version: '2.3'
|
95
|
+
- !ruby/object:Gem::Dependency
|
102
96
|
requirement: !ruby/object:Gem::Requirement
|
103
97
|
requirements:
|
104
|
-
- -
|
98
|
+
- - ">="
|
105
99
|
- !ruby/object:Gem::Version
|
106
100
|
version: '0'
|
101
|
+
name: nokogiri
|
107
102
|
prerelease: false
|
108
103
|
type: :runtime
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: slop
|
111
104
|
version_requirements: !ruby/object:Gem::Requirement
|
112
105
|
requirements:
|
113
|
-
- -
|
106
|
+
- - ">="
|
114
107
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
108
|
+
version: '0'
|
109
|
+
- !ruby/object:Gem::Dependency
|
116
110
|
requirement: !ruby/object:Gem::Requirement
|
117
111
|
requirements:
|
118
|
-
- - ~>
|
112
|
+
- - "~>"
|
119
113
|
- !ruby/object:Gem::Version
|
120
114
|
version: '3.5'
|
115
|
+
name: slop
|
121
116
|
prerelease: false
|
122
117
|
type: :runtime
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: rspec
|
125
118
|
version_requirements: !ruby/object:Gem::Requirement
|
126
119
|
requirements:
|
127
|
-
- -
|
120
|
+
- - "~>"
|
128
121
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
122
|
+
version: '3.5'
|
123
|
+
- !ruby/object:Gem::Dependency
|
130
124
|
requirement: !ruby/object:Gem::Requirement
|
131
125
|
requirements:
|
132
|
-
- -
|
126
|
+
- - ">="
|
133
127
|
- !ruby/object:Gem::Version
|
134
128
|
version: '0'
|
129
|
+
name: rspec
|
135
130
|
prerelease: false
|
136
131
|
type: :development
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: pry
|
139
132
|
version_requirements: !ruby/object:Gem::Requirement
|
140
133
|
requirements:
|
141
|
-
- -
|
134
|
+
- - ">="
|
142
135
|
- !ruby/object:Gem::Version
|
143
136
|
version: '0'
|
137
|
+
- !ruby/object:Gem::Dependency
|
144
138
|
requirement: !ruby/object:Gem::Requirement
|
145
139
|
requirements:
|
146
|
-
- -
|
140
|
+
- - ">="
|
147
141
|
- !ruby/object:Gem::Version
|
148
142
|
version: '0'
|
143
|
+
name: pry
|
149
144
|
prerelease: false
|
150
145
|
type: :development
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: rake
|
153
146
|
version_requirements: !ruby/object:Gem::Requirement
|
154
147
|
requirements:
|
155
|
-
- -
|
148
|
+
- - ">="
|
156
149
|
- !ruby/object:Gem::Version
|
157
150
|
version: '0'
|
151
|
+
- !ruby/object:Gem::Dependency
|
158
152
|
requirement: !ruby/object:Gem::Requirement
|
159
153
|
requirements:
|
160
|
-
- -
|
154
|
+
- - ">="
|
161
155
|
- !ruby/object:Gem::Version
|
162
156
|
version: '0'
|
157
|
+
name: rake
|
163
158
|
prerelease: false
|
164
159
|
type: :development
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
165
|
description: Gem that wraps up the different existing pos-taggers
|
166
166
|
email:
|
167
167
|
executables:
|
168
|
-
- pos-tagger-server
|
169
168
|
- pos-tagger
|
170
169
|
- pos-tagger-daemon
|
170
|
+
- pos-tagger-server
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
+
- LICENSE.txt
|
175
|
+
- README.md
|
176
|
+
- bin/pos-tagger
|
177
|
+
- bin/pos-tagger-daemon
|
178
|
+
- bin/pos-tagger-server
|
179
|
+
- config.ru
|
180
|
+
- exec/pos-tagger.rb
|
174
181
|
- lib/opener/pos_tagger.rb
|
175
|
-
- lib/opener/pos_tagger/version.rb
|
176
|
-
- lib/opener/pos_tagger/server.rb
|
177
182
|
- lib/opener/pos_tagger/cli.rb
|
178
183
|
- lib/opener/pos_tagger/public/markdown.css
|
184
|
+
- lib/opener/pos_tagger/server.rb
|
185
|
+
- lib/opener/pos_tagger/version.rb
|
179
186
|
- lib/opener/pos_tagger/views/index.erb
|
180
187
|
- lib/opener/pos_tagger/views/result.erb
|
181
|
-
- config.ru
|
182
188
|
- opener-pos-tagger.gemspec
|
183
|
-
- README.md
|
184
|
-
- LICENSE.txt
|
185
|
-
- exec/pos-tagger.rb
|
186
|
-
- bin/pos-tagger-server
|
187
|
-
- bin/pos-tagger
|
188
|
-
- bin/pos-tagger-daemon
|
189
189
|
homepage: http://opener-project.github.com/
|
190
190
|
licenses:
|
191
191
|
- Apache 2.0
|
@@ -196,19 +196,18 @@ require_paths:
|
|
196
196
|
- lib
|
197
197
|
required_ruby_version: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- -
|
199
|
+
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: 1.9.2
|
202
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
|
-
- -
|
204
|
+
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
208
|
rubyforge_project:
|
209
|
-
rubygems_version: 2.
|
209
|
+
rubygems_version: 2.7.9
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: Gem that wraps up the different existing pos-taggers
|
213
213
|
test_files: []
|
214
|
-
has_rdoc: yard
|