opener-property-tagger 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opener/property_tagger/processor.rb +3 -1
- data/lib/opener/property_tagger/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bdc478005838e629b52e310437c5cac89158b8f33429d477c7096f1210c3249
|
4
|
+
data.tar.gz: a8fec4e6229cfd39f1cc0f11c3a8007c2c40442fd6ed2f00a558d2cbd8f01c8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a88d97bd1fff6f57c956024d7d47affe13179a02e068129ddda1be0c577324eafee18c271e465d68dc06a99d7cdd78288e6094f307ab4503ee68c963e618bafc
|
7
|
+
data.tar.gz: 6e601c83e09931821e6d00c03114fbaabb72f8c72781f667eea384b7beb916adc3ccc42f83dbd15434779e2dd3e5f574bcb8ef7be022f3154f0afdabec0107b2
|
@@ -31,10 +31,11 @@ module Opener
|
|
31
31
|
@pretty = pretty
|
32
32
|
|
33
33
|
@params = params
|
34
|
-
@cache_keys = params[:cache_keys] || {lang: language}
|
35
34
|
@remote = !url.nil?
|
36
35
|
@aspects_path = path
|
37
36
|
@aspects_url = url
|
37
|
+
@cache_keys = params[:cache_keys]
|
38
|
+
@cache_keys.merge! lang: @document.root.attr('xml:lang')
|
38
39
|
|
39
40
|
@aspects = if @remote then REMOTE_ASPECTS_CACHE[**@cache_keys].aspects else FILE_ASPECTS_CACHE[aspects_file] end
|
40
41
|
end
|
@@ -78,6 +79,7 @@ module Opener
|
|
78
79
|
|
79
80
|
##
|
80
81
|
# Check which terms belong to an aspect (property)
|
82
|
+
# Text have priority over Lemmas, overriding if there is a conflict
|
81
83
|
# @return [Hash]
|
82
84
|
#
|
83
85
|
def extract_aspects
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-property-tagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.6
|
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-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opener-daemons
|
@@ -167,9 +167,9 @@ dependencies:
|
|
167
167
|
description: Property tagger for hotels in Dutch and English.
|
168
168
|
email:
|
169
169
|
executables:
|
170
|
+
- property-tagger
|
170
171
|
- property-tagger-daemon
|
171
172
|
- property-tagger-server
|
172
|
-
- property-tagger
|
173
173
|
extensions: []
|
174
174
|
extra_rdoc_files: []
|
175
175
|
files:
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
version: '0'
|
214
214
|
requirements: []
|
215
215
|
rubyforge_project:
|
216
|
-
rubygems_version: 2.7.
|
216
|
+
rubygems_version: 2.7.8
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: Property tagger for hotels in Dutch and English.
|