opener-opinion-detector-basic 3.2.6 → 3.2.7

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: 7bf885ed5d9cd309933e3419dc00f13073e42038e102bf58ed029e9ac6762101
4
- data.tar.gz: c9b7248d4a8dd672b6d0246994e643d845ebbc73af4e8f427bde80154755a310
3
+ metadata.gz: 1a359f51820d658e268c5ea8215e295bf6bba49fd2a10b4e6bf118c0218b05fd
4
+ data.tar.gz: 9bff0744e84164bd87cb362c3fcb9c367658109de6c5b076a8c0b41aa3ca7e13
5
5
  SHA512:
6
- metadata.gz: 2caf7e13cb13f4574446e4deaa246212b7a54630f94ba883803a360fb81a4e43c2d77b8dd140eaa5582d25efe1793d67145385f49acec275e1399cd52c3d1785
7
- data.tar.gz: 16346fb5631e18212bcc690353f384da813f4baa6f48e7f32263183e2f86dee39293876954dedaddd05baa3aa32d970e361e2a8ef6f7f8de7feff96991c90b2b
6
+ metadata.gz: fe970070831b765eb857ac92f54888b85f0d36582683db710f8203ecd8f101da7cd329ef3abc8f9f1a1b726e0eead3e19eabcb8135d1977f68d3c437f154885a
7
+ data.tar.gz: ec097e7a1652589e5c040fbbc4175a17d79ed8626fc69a61e8b9729f66ec22ebefcd35ce26f9e120f7862468e0c45a90a78aecb7e3fd4247302d445f8b589bde
@@ -14,6 +14,7 @@ module Opener
14
14
  'nl' => %w{, en},
15
15
  'en' => %w{, and},
16
16
  'es' => %w{, y e},
17
+ 'pt' => %w{, e},
17
18
  'it' => %w{, e ed},
18
19
  'de' => %w{, und},
19
20
  'fr' => %w{, et},
@@ -169,7 +170,7 @@ module Opener
169
170
  # Sometimes, comma comes with space after it
170
171
  #
171
172
  def is_conjunction?(language)
172
- pos == 'J' || xpos == ',' || CONJUNCTIONS[language]&.include?(lemma)
173
+ pos == 'J' || xpos == ',' || lemma == ',' || CONJUNCTIONS[language]&.include?(lemma)
173
174
  end
174
175
 
175
176
  private
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  class OpinionDetectorBasic
3
3
 
4
- VERSION = '3.2.6'
4
+ VERSION = '3.2.7'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-opinion-detector-basic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com