opener-opinion-detector-basic 3.2.0 → 3.2.1

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
  SHA256:
3
- metadata.gz: 14f63b17cb26086742f4618eef4ad61e9435d00f271f2a2e7984ca9ef0f68a3e
4
- data.tar.gz: 257e711a1e2aee0764b4d8de9092e116d47a50e2d6de7717e8668e692d4f1270
3
+ metadata.gz: 6f7a562496546cf0e5fd8f4d506b8d0d0dda91e48f252c189f23eff5e3df7e6b
4
+ data.tar.gz: f97435237464279c9ca2ff30dcaebb93e89ffe2040fbe8078f4dd9f7ceef6428
5
5
  SHA512:
6
- metadata.gz: 54374bd46b28f4065f26899a042a1caeedafeff43a50de0642c164928dd55b1164a8ad076b19a3504fd2a4748348c19725e1cc448abbc2de12a0aaf4eb540df1
7
- data.tar.gz: e1ef4640b783bf2de26072553ecb874ec08c21a51e7286340ce402d6a0359d94adbc6efe03ed62af82c5c25a47354f6fe33b56d070b7a4d9488515dbb90074e6
6
+ metadata.gz: ae07678330cbc48f42fbcd4e3532f064280eb200b689750c6a87111d6980188424460441db97dad337a0c2f61299aec2081eb375fe3a9953113bc6cd473ec86d
7
+ data.tar.gz: 9cd7f7af2869ae4e63623d029e084caa8363884fd758c364a8475b1ed26b468b01d3fcf2da0e90cd88bde6bb6d49631b9e1be4e4c0d62521619c87434882fc46
@@ -145,7 +145,7 @@ module Opener
145
145
  # @return [TrueClass|FalseClass]
146
146
  #
147
147
  def is_conjunction?(language)
148
- CONJUNCTIONS[language].include?(lemma)
148
+ pos == 'J' || CONJUNCTIONS[language]&.include?(lemma)
149
149
  end
150
150
 
151
151
  private
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  class OpinionDetectorBasic
3
3
 
4
- VERSION = '3.2.0'
4
+ VERSION = '3.2.1'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,58 +1,59 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-opinion-detector-basic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
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: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: opener-daemons
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '2.2'
19
- name: opener-daemons
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: opener-webservice
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: '2.1'
33
- name: opener-webservice
34
- prerelease: false
35
34
  type: :runtime
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.1'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: opener-core
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: '2.2'
47
- name: opener-core
48
- prerelease: false
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.2'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: oga
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - "~>"
@@ -61,9 +62,8 @@ dependencies:
61
62
  - - ">="
62
63
  - !ruby/object:Gem::Version
63
64
  version: 1.3.1
64
- name: oga
65
- prerelease: false
66
65
  type: :runtime
66
+ prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - "~>"
@@ -73,56 +73,56 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.3.1
75
75
  - !ruby/object:Gem::Dependency
76
+ name: rspec
76
77
  requirement: !ruby/object:Gem::Requirement
77
78
  requirements:
78
79
  - - "~>"
79
80
  - !ruby/object:Gem::Version
80
81
  version: '3.0'
81
- name: rspec
82
- prerelease: false
83
82
  type: :development
83
+ prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3.0'
89
89
  - !ruby/object:Gem::Dependency
90
+ name: cucumber
90
91
  requirement: !ruby/object:Gem::Requirement
91
92
  requirements:
92
93
  - - ">="
93
94
  - !ruby/object:Gem::Version
94
95
  version: '0'
95
- name: cucumber
96
- prerelease: false
97
96
  type: :development
97
+ prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  - !ruby/object:Gem::Dependency
104
+ name: rake
104
105
  requirement: !ruby/object:Gem::Requirement
105
106
  requirements:
106
107
  - - ">="
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
- name: rake
110
- prerelease: false
111
110
  type: :development
111
+ prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
+ name: benchmark-ips
118
119
  requirement: !ruby/object:Gem::Requirement
119
120
  requirements:
120
121
  - - "~>"
121
122
  - !ruby/object:Gem::Version
122
123
  version: '2.0'
123
- name: benchmark-ips
124
- prerelease: false
125
124
  type: :development
125
+ prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.7.9
178
+ rubygems_version: 2.7.8
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Basic Opinion Detector.