opener-polarity-tagger 3.5.3 → 3.5.4

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: befa570d0fdb2774fee58f8f7f3154c4d944cee2865015411534d2c2c313837a
4
- data.tar.gz: 4d95524761db77af92db9ece51dc5ff5bf66744445459a1c3c0b7c570ddb3267
3
+ metadata.gz: 7e5839e60aef20bdb324e372633c12751bcacef6079f6816558c52cee410f833
4
+ data.tar.gz: 1ec21ef77b6374ff5de702e3d87efcc24a989949a9aa80a1cc8cf2372a3b9933
5
5
  SHA512:
6
- metadata.gz: be4cd1daf7cb8f906f2e91d1bba18e64bc713e5d13c6ec090877b4e079153b8fa818915fcc789f6df1bcfe4735b24af2e7a15dbab5517a7037bd6983eba612c8
7
- data.tar.gz: dfd2058e9b98ea482d65e86d4a82d33865a1ef9cd5350deac4853c5e4b3c9cec39b37766b862a0f459c92644fd4e5f916f35ea4d1568ffdddde5d823b6b7b43b
6
+ metadata.gz: 1cb4794aaff71abf550bba0dcff9790dd3b87ae46d5e51d9816e9b79460b9840e6cc202dbd006bd94c6c9992410ba58b09885b32e10124995ebb87dfa0e979e8
7
+ data.tar.gz: 3db61d9487abf52dcc8839d70d50f9e93dcc6c440d88489f9850bec7330ac353925c42ab8939981230e8bd4c6712694aca91e2ed36918c72fc186ba9ab97b931
@@ -26,6 +26,10 @@ module Opener
26
26
  @node.attr :pos
27
27
  end
28
28
 
29
+ def lexicon_id
30
+ @node.attr :lexicon_id
31
+ end
32
+
29
33
  def setPolarity attrs, polarity_pos
30
34
  #In case there is no pos info, we use the polarityPos
31
35
  @node[:pos] = polarity_pos if !pos and polarity_pos
@@ -22,6 +22,7 @@ module Opener
22
22
 
23
23
  @cache_keys = params[:cache_keys] ||= {}
24
24
  @cache_keys.merge! lang: kaf.language
25
+ @cache_keys[:contract_ids] = nil unless @cache_keys[:contract_ids]
25
26
  @cache_keys = @cache_keys.except :property_type
26
27
  @map = kaf.map = CACHE[**@cache_keys].lexicons
27
28
 
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  class PolarityTagger
3
3
 
4
- VERSION = '3.5.3'
4
+ VERSION = '3.5.4'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-polarity-tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
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: 2021-03-18 00:00:00.000000000 Z
11
+ date: 2021-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opener-daemons
@@ -250,8 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
252
  requirements: []
253
- rubyforge_project:
254
- rubygems_version: 2.7.6
253
+ rubygems_version: 3.2.14
255
254
  signing_key:
256
255
  specification_version: 4
257
256
  summary: Polarity tagger for various languages.