opener-opinion-detector-basic 3.2.1 → 3.2.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d90cb88e3b8224dc8d308e0c14aee257451869d6ae4c79db007b0247aaae6c2b
|
4
|
+
data.tar.gz: 0546c8e56ce77a995e259cb1567be5b7444044944f6ee017a7497780f6ee98c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db793d069cec098dcc50d3732820bbf83756e2dfaff54975ff6b2ef47af116efe140416e40c92ac5a6e011d161c6f398388282e59ea60b50ec6c596520437e9
|
7
|
+
data.tar.gz: 70dde9675a2b3038d9883e24f378abe597a6823ec5aa2e88d0806be5b71d20cc174c68fd0ef3da3a141931559a9c81be54ab2d1f100e3f9573d568042d2c0890
|
@@ -76,7 +76,7 @@ module Opener
|
|
76
76
|
def obtain_holders(sentences, language)
|
77
77
|
sentence_terms = sentences[sentence]
|
78
78
|
sentence_terms.each do |term|
|
79
|
-
if OPINION_HOLDERS[language]
|
79
|
+
if OPINION_HOLDERS[language]&.include?(term.lemma)
|
80
80
|
@holders << term.id
|
81
81
|
break
|
82
82
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-opinion-detector-basic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.2
|
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-
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opener-daemons
|
@@ -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.
|
178
|
+
rubygems_version: 2.7.6
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Basic Opinion Detector.
|