opener-property-tagger 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -9
- data/lib/opener/property_tagger/version.rb +1 -1
- data/task/lexicons.rake +19 -0
- data/task/requirements.rake +1 -1
- data/task/test.rake +3 -1
- metadata +67 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd892d35b2c63bf6186dbd770a60878f1ab393ba
|
4
|
+
data.tar.gz: 8a45c4bc4bb53b01dd394d91ad8c7c5a99e320ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c26b7b04a7788ee0300148a5af16502e44c3141edc2187cb1c00ee6de5bd954c8bb670ea215359f65ebcb31b0ce440607bf6d0bf165cf6529897b53869aeb42e
|
7
|
+
data.tar.gz: 637fee56021276a7f86a3cbb92bfc26c3c328ed8609488cf04bc0021a782a889901f769429ab208c54d745d5be37c0b9df4a91d517542e9dd94817e01d21cc35
|
data/README.md
CHANGED
@@ -120,14 +120,10 @@ At least you need the following system setup:
|
|
120
120
|
* Ruby 1.9.3 or newer
|
121
121
|
* Python 2.6
|
122
122
|
* lxml installed
|
123
|
+
* libarchive (for running the tests and such), on Debian/Ubuntu based systems
|
124
|
+
this can be installed using `sudo apt-get install libarchive-dev`
|
123
125
|
|
124
|
-
|
125
|
-
|
126
|
-
* Maven (for building the Gem)
|
127
|
-
|
128
|
-
|
129
|
-
Domain Adaption and Language Extension
|
130
|
-
--------------------------------------
|
126
|
+
## Domain Adaption and Language Extension
|
131
127
|
|
132
128
|
The lexicons in the resource path must be stored in a file and follow this
|
133
129
|
format:
|
@@ -157,8 +153,7 @@ If you encounter problems, please email <support@opener-project.eu> or leave an
|
|
157
153
|
issue in the
|
158
154
|
[issue tracker](https://github.com/opener-project/property-tagger/issues).
|
159
155
|
|
160
|
-
Contributing
|
161
|
-
------------
|
156
|
+
## Contributing
|
162
157
|
|
163
158
|
1. Fork it <http://github.com/opener-project/property-tagger/fork>
|
164
159
|
2. 2. Create your feature branch (`git checkout -b my-new-feature`)
|
data/task/lexicons.rake
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
lexicons_url = 'https://s3-eu-west-1.amazonaws.com/opener/dummy-hotel-lexicons.tar.gz'
|
2
|
+
tmp_archive = 'tmp/lexicons.tar.gz'
|
3
|
+
tmp_lexicons = 'tmp/lexicons'
|
4
|
+
en_lexicon = 'tmp/lexicons/hotel/en.txt'
|
5
|
+
|
6
|
+
file(tmp_archive) do |task|
|
7
|
+
sh "wget #{lexicons_url} -O #{task.name} --quiet"
|
8
|
+
end
|
9
|
+
|
10
|
+
directory(tmp_lexicons) do |task|
|
11
|
+
sh "mkdir -p #{task.name}"
|
12
|
+
end
|
13
|
+
|
14
|
+
file(en_lexicon) do |task|
|
15
|
+
sh "tar -xf #{tmp_archive} -C #{tmp_lexicons}"
|
16
|
+
end
|
17
|
+
|
18
|
+
desc 'Downloads dummy lexicons'
|
19
|
+
task :lexicons => [tmp_archive, tmp_lexicons, en_lexicon]
|
data/task/requirements.rake
CHANGED
data/task/test.rake
CHANGED
metadata
CHANGED
@@ -1,129 +1,129 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-property-tagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opener-daemons
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.2'
|
20
15
|
requirement: !ruby/object:Gem::Requirement
|
21
16
|
requirements:
|
22
|
-
- - ~>
|
17
|
+
- - "~>"
|
23
18
|
- !ruby/object:Gem::Version
|
24
19
|
version: '2.2'
|
25
|
-
prerelease: false
|
26
20
|
type: :runtime
|
27
|
-
|
28
|
-
name: opener-webservice
|
21
|
+
prerelease: false
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
30
23
|
requirements:
|
31
|
-
- - ~>
|
24
|
+
- - "~>"
|
32
25
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
26
|
+
version: '2.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: opener-webservice
|
34
29
|
requirement: !ruby/object:Gem::Requirement
|
35
30
|
requirements:
|
36
|
-
- - ~>
|
31
|
+
- - "~>"
|
37
32
|
- !ruby/object:Gem::Version
|
38
33
|
version: '2.1'
|
39
|
-
prerelease: false
|
40
34
|
type: :runtime
|
41
|
-
|
42
|
-
name: opener-core
|
35
|
+
prerelease: false
|
43
36
|
version_requirements: !ruby/object:Gem::Requirement
|
44
37
|
requirements:
|
45
|
-
- - ~>
|
38
|
+
- - "~>"
|
46
39
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
40
|
+
version: '2.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: opener-core
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
44
|
requirements:
|
50
|
-
- - ~>
|
45
|
+
- - "~>"
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: '2.2'
|
53
|
-
prerelease: false
|
54
48
|
type: :runtime
|
55
|
-
|
56
|
-
name: nokogiri
|
49
|
+
prerelease: false
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '2.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: nokogiri
|
62
57
|
requirement: !ruby/object:Gem::Requirement
|
63
58
|
requirements:
|
64
|
-
- -
|
59
|
+
- - ">="
|
65
60
|
- !ruby/object:Gem::Version
|
66
61
|
version: '0'
|
67
|
-
prerelease: false
|
68
62
|
type: :runtime
|
69
|
-
|
70
|
-
name: rake
|
63
|
+
prerelease: false
|
71
64
|
version_requirements: !ruby/object:Gem::Requirement
|
72
65
|
requirements:
|
73
|
-
- -
|
66
|
+
- - ">="
|
74
67
|
- !ruby/object:Gem::Version
|
75
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
76
71
|
requirement: !ruby/object:Gem::Requirement
|
77
72
|
requirements:
|
78
|
-
- -
|
73
|
+
- - ">="
|
79
74
|
- !ruby/object:Gem::Version
|
80
75
|
version: '0'
|
81
|
-
prerelease: false
|
82
76
|
type: :runtime
|
83
|
-
|
84
|
-
name: cliver
|
77
|
+
prerelease: false
|
85
78
|
version_requirements: !ruby/object:Gem::Requirement
|
86
79
|
requirements:
|
87
|
-
- -
|
80
|
+
- - ">="
|
88
81
|
- !ruby/object:Gem::Version
|
89
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: cliver
|
90
85
|
requirement: !ruby/object:Gem::Requirement
|
91
86
|
requirements:
|
92
|
-
- -
|
87
|
+
- - ">="
|
93
88
|
- !ruby/object:Gem::Version
|
94
89
|
version: '0'
|
95
|
-
prerelease: false
|
96
90
|
type: :runtime
|
97
|
-
|
98
|
-
name: rspec
|
91
|
+
prerelease: false
|
99
92
|
version_requirements: !ruby/object:Gem::Requirement
|
100
93
|
requirements:
|
101
|
-
- -
|
94
|
+
- - ">="
|
102
95
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
104
99
|
requirement: !ruby/object:Gem::Requirement
|
105
100
|
requirements:
|
106
|
-
- - ~>
|
101
|
+
- - "~>"
|
107
102
|
- !ruby/object:Gem::Version
|
108
103
|
version: '3.0'
|
109
|
-
prerelease: false
|
110
104
|
type: :development
|
111
|
-
|
112
|
-
name: cucumber
|
105
|
+
prerelease: false
|
113
106
|
version_requirements: !ruby/object:Gem::Requirement
|
114
107
|
requirements:
|
115
|
-
- -
|
108
|
+
- - "~>"
|
116
109
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
110
|
+
version: '3.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: cucumber
|
118
113
|
requirement: !ruby/object:Gem::Requirement
|
119
114
|
requirements:
|
120
|
-
- -
|
115
|
+
- - ">="
|
121
116
|
- !ruby/object:Gem::Version
|
122
117
|
version: '0'
|
123
|
-
prerelease: false
|
124
118
|
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
125
|
description: Property tagger for hotels in Dutch and English.
|
126
|
-
email:
|
126
|
+
email:
|
127
127
|
executables:
|
128
128
|
- property-tagger
|
129
129
|
- property-tagger-daemon
|
@@ -132,51 +132,53 @@ extensions:
|
|
132
132
|
- ext/hack/Rakefile
|
133
133
|
extra_rdoc_files: []
|
134
134
|
files:
|
135
|
+
- LICENSE.txt
|
136
|
+
- README.md
|
137
|
+
- bin/property-tagger
|
138
|
+
- bin/property-tagger-daemon
|
139
|
+
- bin/property-tagger-server
|
140
|
+
- config.ru
|
135
141
|
- core/extract_aspects.py
|
136
142
|
- core/hotel_property_tagger_nl_en.py
|
143
|
+
- exec/property-tagger.rb
|
137
144
|
- ext/hack/Rakefile
|
138
145
|
- lib/opener/property_tagger.rb
|
139
146
|
- lib/opener/property_tagger/cli.rb
|
147
|
+
- lib/opener/property_tagger/public/markdown.css
|
140
148
|
- lib/opener/property_tagger/server.rb
|
141
149
|
- lib/opener/property_tagger/version.rb
|
142
|
-
- lib/opener/property_tagger/public/markdown.css
|
143
150
|
- lib/opener/property_tagger/views/index.erb
|
144
151
|
- lib/opener/property_tagger/views/result.erb
|
145
|
-
- config.ru
|
146
152
|
- opener-property-tagger.gemspec
|
147
153
|
- pre_install_requirements.txt
|
148
|
-
- README.md
|
149
|
-
- LICENSE.txt
|
150
|
-
- exec/property-tagger.rb
|
151
154
|
- task/compile.rake
|
155
|
+
- task/lexicons.rake
|
152
156
|
- task/python.rake
|
153
157
|
- task/requirements.rake
|
154
158
|
- task/test.rake
|
155
|
-
- bin/property-tagger
|
156
|
-
- bin/property-tagger-daemon
|
157
|
-
- bin/property-tagger-server
|
158
159
|
homepage: http://opener-project.github.com/
|
159
160
|
licenses:
|
160
161
|
- Apache 2.0
|
161
162
|
metadata: {}
|
162
|
-
post_install_message:
|
163
|
+
post_install_message:
|
163
164
|
rdoc_options: []
|
164
165
|
require_paths:
|
165
166
|
- lib
|
166
167
|
required_ruby_version: !ruby/object:Gem::Requirement
|
167
168
|
requirements:
|
168
|
-
- -
|
169
|
+
- - ">="
|
169
170
|
- !ruby/object:Gem::Version
|
170
171
|
version: 1.9.2
|
171
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
173
|
requirements:
|
173
|
-
- -
|
174
|
+
- - ">="
|
174
175
|
- !ruby/object:Gem::Version
|
175
176
|
version: '0'
|
176
177
|
requirements: []
|
177
|
-
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
179
|
-
signing_key:
|
178
|
+
rubyforge_project:
|
179
|
+
rubygems_version: 2.2.2
|
180
|
+
signing_key:
|
180
181
|
specification_version: 4
|
181
182
|
summary: Property tagger for hotels in Dutch and English.
|
182
183
|
test_files: []
|
184
|
+
has_rdoc:
|