opener-property-tagger 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
- data/README.md +150 -39
- data/core/hotel_property_tagger_nl_en.py +9 -5
- data/core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt +5 -5
- data/ext/hack/Rakefile +3 -3
- data/lib/opener/property_tagger.rb +15 -3
- data/lib/opener/property_tagger/cli.rb +16 -13
- data/lib/opener/property_tagger/version.rb +1 -1
- data/opener-property-tagger.gemspec +2 -1
- data/pre_install_requirements.txt +1 -0
- metadata +47 -34
- data/pre_build_requirements.txt +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZGQzMjM4MjQxZjMyNDkwOGFiNGQ4Njg3MDZiOWE1N2JmZmIxZTY1NQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTdmYmMwMGViYTc3MDcyOTRjOTQzM2M4MjMyZTU1NDJjMjUxNWNlNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODFmOWVlNzNmM2NiNzM4OWNjNmIyZTNhMGEyYWFmMzVhMTBlYzliMzZkNmU2
|
10
|
+
NGVmYmNjNTZhYjZjMDFjNWYzMDhjODE5MWRiMzI1MTg2MTIxODE5ZTBkMWE1
|
11
|
+
N2Y2OWExNWZlOTQzNjEyYmRiZTgzMjUyMjI4Y2U4NTAzODAzNDc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Y2M2ZWQyMWYyZDhhYjJjOTYwMmQyYWI1ODljNTgxNzU2YTU1YjhkYzQyMmFi
|
14
|
+
MTEzYjg2MzM1Zjk1MzUwMDM5NGRiMmZiMTU3ZWM0MWUwNDNjNzQwYTk4Mjc2
|
15
|
+
MTg1NzhmY2UyMzI3Yjg5ZGVkNmFlZTg0YmRlZTgyODI2MTQyNjA=
|
data/README.md
CHANGED
@@ -1,46 +1,140 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
#Introduction#
|
1
|
+
Property Tagger
|
2
|
+
---------------
|
4
3
|
|
5
4
|
This module implements a tagger for hotel properties for Dutch, English, French, Italian, Spanish and German. It detects aspect words,
|
6
5
|
for instance words related with "room", "cleanliness", "staff" or "breakfast" and links them with the correct aspect class.
|
7
6
|
The input for this module has to be a valid KAF file with at lest the term layer, as the lemmas will be used for detecting the hotel properties. The output is also
|
8
7
|
a KAF valid file extended with the property layer. This module works for all the languages within the OpeNER project (en,de,nl,fr,es,it) and the language is read from
|
9
|
-
the input KAF file, from the lang attribute of the KAF element (make
|
10
|
-
````shell
|
11
|
-
<KAF xml:lang="( en | nl | fr | it | de | es)">
|
12
|
-
````
|
8
|
+
the input KAF file, from the lang attribute of the KAF element (make sure your preprocessors set properly this value or you might use the resources for a wrong language)
|
13
9
|
|
14
|
-
|
15
|
-
* VUKafParserPy: parser in python for KAF files (https://github.com/opener-project/VU-kaf-parser)
|
16
|
-
* lxml: library for processing xml in python
|
10
|
+
### Confused by some terminology?
|
17
11
|
|
12
|
+
This software is part of a larger collection of natural language processing
|
13
|
+
tools known as "the OpeNER project". You can find more information about the
|
14
|
+
project at (the OpeNER portal)[http://opener-project.github.io]. There you can
|
15
|
+
also find references to terms like KAF (an XML standard to represent linguistic
|
16
|
+
annotations in texts), component, cores, scenario's and pipelines.
|
18
17
|
|
18
|
+
Quick Use Example
|
19
|
+
-----------------
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
and writes the output to the standard output, generating some log information in the standard error output. To process the file
|
23
|
-
"input.kaf" just type:
|
24
|
-
````shell
|
25
|
-
cat input.kaf | core/hotel_property_tagger_nl_en.py > output.kaf
|
26
|
-
````
|
21
|
+
Keep in mind that this component uses PYTHON so it's advised to make sure you
|
22
|
+
have a virtualenv activated before installing.
|
27
23
|
|
28
|
-
|
24
|
+
Installing the property-tagger can be done by executing:
|
29
25
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
gem install opener-property-tagger
|
27
|
+
|
28
|
+
Please bare in mind that all components in OpeNER take KAF as an input and
|
29
|
+
output KAF by default.
|
30
|
+
|
31
|
+
|
32
|
+
### Command line interface
|
33
|
+
|
34
|
+
You should now be able to call the property tagger as a regular shell
|
35
|
+
command: by its name. Once installed the gem normally sits in your path so you can call it directly from anywhere.
|
36
|
+
|
37
|
+
This application reads a text from standard input in order process it.
|
38
|
+
|
39
|
+
cat some_kind_of_kaf_file.kaf | property-tagger --resource-path /path/to/lexicons/
|
40
|
+
|
41
|
+
The property tagger will search in the resource-path for files named
|
42
|
+
```{language_code}.txt```, for example ```en.txt```.
|
43
|
+
|
44
|
+
An excerpt of a potential output would than be:
|
45
|
+
|
46
|
+
```
|
47
|
+
<features>
|
48
|
+
<properties>
|
49
|
+
<property pid="p1" lemma="cleanliness">
|
50
|
+
<references>
|
51
|
+
<!--dirty-->
|
52
|
+
<span>
|
53
|
+
<target id="t_12"/>
|
54
|
+
</span>
|
55
|
+
</references>
|
56
|
+
</property>
|
57
|
+
<property pid="p2" lemma="sleeping_comfort">
|
58
|
+
<references>
|
59
|
+
<!--bed-->
|
60
|
+
<span>
|
61
|
+
<target id="t_10"/>
|
62
|
+
</span>
|
63
|
+
</references>
|
64
|
+
</property>
|
65
|
+
<property pid="p3" lemma="staff">
|
66
|
+
<references>
|
67
|
+
<!--staff-->
|
68
|
+
<span>
|
69
|
+
<target id="t_16"/>
|
70
|
+
</span>
|
71
|
+
<!--friendly-->
|
72
|
+
<span>
|
73
|
+
<target id="t_20"/>
|
74
|
+
</span>
|
75
|
+
</references>
|
76
|
+
</property>
|
77
|
+
</properties>
|
78
|
+
</features>
|
79
|
+
```
|
80
|
+
|
81
|
+
### Webservices
|
82
|
+
|
83
|
+
You can launch a webservice by executing:
|
84
|
+
|
85
|
+
property-tagger-server --resource-path /path/to/resources
|
86
|
+
|
87
|
+
This will launch a mini webserver with the webservice. It defaults to port 9292,
|
88
|
+
so you can access it at <http://localhost:9292>.
|
89
|
+
|
90
|
+
To launch it on a different port provide the `-p [port-number]` option like
|
91
|
+
this:
|
92
|
+
|
93
|
+
property-tagger-server -p 1234
|
94
|
+
|
95
|
+
It then launches at <http://localhost:1234>
|
34
96
|
|
35
|
-
|
97
|
+
Documentation on the Webservice is provided by surfing to the urls provided
|
98
|
+
above. For more information on how to launch a webservice run the command with
|
99
|
+
the ```-h``` option.
|
36
100
|
|
37
|
-
optional arguments:
|
38
|
-
-h, --help show this help message and exit
|
39
|
-
--no-time For not including timestamp in header
|
40
|
-
--lexicon LEXICON Force to use this lexicon
|
41
|
-
````
|
42
101
|
|
43
|
-
|
102
|
+
### Daemon
|
103
|
+
|
104
|
+
Last but not least the property tagger comes shipped with a daemon that
|
105
|
+
can read jobs (and write) jobs to and from Amazon SQS queues. For more
|
106
|
+
information type:
|
107
|
+
|
108
|
+
property-tagger-daemon -h
|
109
|
+
|
110
|
+
|
111
|
+
Description of dependencies
|
112
|
+
---------------------------
|
113
|
+
|
114
|
+
This component runs best if you run it in an environment suited for OpeNER
|
115
|
+
components. You can find an installation guide and helper tools in the (OpeNER
|
116
|
+
installer)[https://github.com/opener-project/opener-installer] and (an
|
117
|
+
installation guide on the Opener
|
118
|
+
Website)[http://opener-project.github.io/getting-started/how-to/local-installation.html]
|
119
|
+
|
120
|
+
At least you need the following system setup:
|
121
|
+
|
122
|
+
### Depenencies for normal use:
|
123
|
+
|
124
|
+
* Ruby 1.9.3 or newer
|
125
|
+
* Python 2.6
|
126
|
+
* lxml installed
|
127
|
+
|
128
|
+
### Dependencies if you want to modify the component:
|
129
|
+
|
130
|
+
* Maven (for building the Gem)
|
131
|
+
|
132
|
+
|
133
|
+
Domain Adaption and Language Extension
|
134
|
+
--------------------------------------
|
135
|
+
|
136
|
+
The lexicons in the resource path must be stored in a file and follow this format:
|
137
|
+
|
44
138
|
````shell
|
45
139
|
surf verb facilities
|
46
140
|
surfer noun facilities
|
@@ -48,15 +142,32 @@ surfing verb facilities
|
|
48
142
|
```
|
49
143
|
|
50
144
|
So, one aspect per line, with 3 fields separated by a tabulator, the first one is the word or span of words (in this case use whitespaces), then the part
|
51
|
-
of speech (which actually it is not use, you can include a dummy label) and finally the aspect class associated with the word.
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
145
|
+
of speech (which actually it is not use, you can include a dummy label) and finally the aspect class associated with the word.
|
146
|
+
|
147
|
+
The Core
|
148
|
+
--------
|
149
|
+
|
150
|
+
The component is a fat wrapper around the actual language technology core. You
|
151
|
+
can find the core technolies (python) in the ```/core``` directory.
|
152
|
+
|
153
|
+
Where to go from here
|
154
|
+
---------------------
|
155
|
+
|
156
|
+
* Check (the project websitere)[http://opener-project.github.io]
|
157
|
+
* (Checkout the webservice)[http://opener.olery.com/property-tagger]
|
158
|
+
|
159
|
+
Report problem/Get help
|
160
|
+
-----------------------
|
161
|
+
|
162
|
+
If you encounter problems, please email support@opener-project.eu or leave an
|
163
|
+
issue in the (issue tracker)[https://github.com/opener-project/property-tagger/issues].
|
164
|
+
|
56
165
|
|
57
|
-
|
58
|
-
|
59
|
-
* Ruben Izquierdo
|
60
|
-
* Vrije University of Amsterdam
|
61
|
-
* ruben.izquierdobevia@vu.nl
|
166
|
+
Contributing
|
167
|
+
------------
|
62
168
|
|
169
|
+
1. Fork it ( http://github.com/opener-project/property-tagger/fork )
|
170
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
171
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
172
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
173
|
+
5. Create new Pull Request
|
@@ -17,7 +17,7 @@ from lxml import etree
|
|
17
17
|
from collections import defaultdict
|
18
18
|
|
19
19
|
__desc='VUA property tagger'
|
20
|
-
__last_edited='
|
20
|
+
__last_edited='20may2014'
|
21
21
|
__version='1.0'
|
22
22
|
|
23
23
|
###
|
@@ -37,8 +37,11 @@ def loadAspects(my_lang,this_file=None):
|
|
37
37
|
if this_file is not None:
|
38
38
|
aspects_filename = this_file
|
39
39
|
else:
|
40
|
-
|
41
|
-
|
40
|
+
filename = "{0}.txt".format(my_lang)
|
41
|
+
print>>sys.stderr, "filename thingy",filename
|
42
|
+
print>>sys.stderr, "path thingy",arguments.path
|
43
|
+
aspects_filename = os.path.join(arguments.path,filename)
|
44
|
+
|
42
45
|
if not os.path.exists(aspects_filename):
|
43
46
|
print>>sys.stderr,'ERROR: file with aspects for the language',my_lang,'not found in',aspects_filename
|
44
47
|
else:
|
@@ -56,8 +59,9 @@ def loadAspects(my_lang,this_file=None):
|
|
56
59
|
###### MAIN ########
|
57
60
|
|
58
61
|
argument_parser = argparse.ArgumentParser(description='Tags a text with polarities at lemma level')
|
59
|
-
argument_parser.add_argument("--no-time",action="store_false", default=True, dest="my_time_stamp",help="For not including timestamp in header")
|
62
|
+
argument_parser.add_argument("--no-time",action="store_false", default=True, dest="my_time_stamp",help="For not including timestamp in header")
|
60
63
|
argument_parser.add_argument("--lexicon", action="store", default=None, dest="lexicon", help="Force to use this lexicon")
|
64
|
+
argument_parser.add_argument("--path", action="store", default=None, dest="path", help="Set the path where the property aspects are found.")
|
61
65
|
|
62
66
|
arguments = argument_parser.parse_args()
|
63
67
|
|
@@ -94,7 +98,7 @@ if arguments.lexicon is None:
|
|
94
98
|
my_aspects_filename, my_aspects = loadAspects(my_lang)
|
95
99
|
else:
|
96
100
|
my_aspects_filename, my_aspects = loadAspects(my_lang,this_file=arguments.lexicon)
|
97
|
-
|
101
|
+
|
98
102
|
if verbose:
|
99
103
|
print>>sys.stderr,'Loaded ',len(my_aspects),'aspects from',my_aspects_filename
|
100
104
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
../VUKafParserPy/KafParserMod.py
|
2
1
|
../VUKafParserPy/__init__.py
|
3
2
|
../VUKafParserPy/KafDataObjectsMod.py
|
4
|
-
../VUKafParserPy/KafParserMod.
|
3
|
+
../VUKafParserPy/KafParserMod.py
|
5
4
|
../VUKafParserPy/__init__.pyc
|
6
5
|
../VUKafParserPy/KafDataObjectsMod.pyc
|
6
|
+
../VUKafParserPy/KafParserMod.pyc
|
7
7
|
./
|
8
|
-
top_level.txt
|
9
|
-
SOURCES.txt
|
10
|
-
PKG-INFO
|
11
8
|
dependency_links.txt
|
9
|
+
PKG-INFO
|
10
|
+
SOURCES.txt
|
11
|
+
top_level.txt
|
data/ext/hack/Rakefile
CHANGED
@@ -7,7 +7,7 @@ task :requirements do
|
|
7
7
|
end
|
8
8
|
|
9
9
|
task :default => :requirements do
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
path = File.join(PYTHON_SITE_PACKAGES, 'pre_install')
|
11
|
+
|
12
|
+
pip_install(PRE_INSTALL_REQUIREMENTS, path)
|
13
13
|
end
|
@@ -31,7 +31,19 @@ module Opener
|
|
31
31
|
# @return [String]
|
32
32
|
#
|
33
33
|
def command
|
34
|
-
return "#{adjust_python_path} python -E -OO #{kernel} #{args.join(' ')}"
|
34
|
+
return "#{adjust_python_path} python -E -OO #{kernel} #{args.join(' ')} --path #{path}"
|
35
|
+
end
|
36
|
+
|
37
|
+
|
38
|
+
##
|
39
|
+
# Get the resource path for the lexicon files, defaults to an ENV variable
|
40
|
+
#
|
41
|
+
def path
|
42
|
+
return options[:resource_path] if options[:resource_path]
|
43
|
+
return ENV.fetch('PROPERTY_TAGGER_LEXICONS_PATH') {
|
44
|
+
raise ArgumentError, "No lexicon path provided."
|
45
|
+
}
|
46
|
+
|
35
47
|
end
|
36
48
|
|
37
49
|
##
|
@@ -55,7 +67,7 @@ module Opener
|
|
55
67
|
end
|
56
68
|
|
57
69
|
##
|
58
|
-
# capture3 method doesn't work properly with Jruby, so
|
70
|
+
# capture3 method doesn't work properly with Jruby, so
|
59
71
|
# this is a workaround
|
60
72
|
#
|
61
73
|
def capture(input)
|
@@ -67,7 +79,7 @@ module Opener
|
|
67
79
|
[out_reader.value, err_reader.value, t.value]
|
68
80
|
}
|
69
81
|
end
|
70
|
-
|
82
|
+
|
71
83
|
##
|
72
84
|
# @return [String]
|
73
85
|
#
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'opener/core/resource_switcher'
|
2
|
+
|
1
3
|
module Opener
|
2
4
|
class PropertyTagger
|
3
5
|
##
|
@@ -9,45 +11,46 @@ module Opener
|
|
9
11
|
# @return [OptionParser]
|
10
12
|
#
|
11
13
|
class CLI
|
12
|
-
attr_reader :options, :option_parser
|
14
|
+
attr_reader :options, :option_parser, :resource_switcher
|
15
|
+
|
16
|
+
DEFAULT_OPTIONS = {
|
17
|
+
:logging => false,
|
18
|
+
}
|
13
19
|
|
14
20
|
##
|
15
21
|
# @param [Hash] options
|
16
22
|
#
|
17
23
|
def initialize(options = {})
|
18
24
|
@options = DEFAULT_OPTIONS.merge(options)
|
25
|
+
@resource_switcher = Opener::Core::ResourceSwitcher.new
|
19
26
|
|
20
27
|
@option_parser = OptionParser.new do |opts|
|
21
28
|
opts.program_name = 'polarity-tagger'
|
22
29
|
opts.summary_indent = ' '
|
23
30
|
|
31
|
+
resource_switcher.bind(opts, @options)
|
32
|
+
|
24
33
|
opts.on('-h', '--help', 'Shows this help message') do
|
25
34
|
show_help
|
26
35
|
end
|
27
36
|
|
28
|
-
opts.on('-v', '--version', 'Shows the current version') do
|
29
|
-
show_version
|
30
|
-
end
|
31
|
-
|
32
37
|
opts.on('-l', '--log', 'Enable logging to STDERR') do
|
33
38
|
@options[:logging] = true
|
34
39
|
end
|
35
40
|
|
36
|
-
opts.
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
cat example.kaf | #{opts.program_name} # Basic usage
|
41
|
-
cat example.kaf | #{opts.program_name} # Logs information to STDERR
|
42
|
-
EOF
|
41
|
+
opts.on("--lexicon FILE", "Use a specific lexicon file") do |v|
|
42
|
+
@options[:lexicon] = v
|
43
|
+
end
|
43
44
|
end
|
45
|
+
|
46
|
+
option_parser.parse!(options[:args])
|
47
|
+
resource_switcher.install(@options)
|
44
48
|
end
|
45
49
|
|
46
50
|
##
|
47
51
|
# @param [String] input
|
48
52
|
#
|
49
53
|
def run(input)
|
50
|
-
option_parser.parse!(options[:args])
|
51
54
|
|
52
55
|
tagger = PropertyTagger.new(options)
|
53
56
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
|
14
14
|
gem.files = Dir.glob([
|
15
15
|
'core/site-packages/pre_build/**/*',
|
16
|
-
|
16
|
+
'core/data/**/*',
|
17
17
|
'core/*',
|
18
18
|
'ext/**/*',
|
19
19
|
'lib/**/*',
|
@@ -31,6 +31,7 @@ Gem::Specification.new do |gem|
|
|
31
31
|
gem.add_dependency 'httpclient'
|
32
32
|
gem.add_dependency 'puma'
|
33
33
|
gem.add_dependency 'opener-webservice'
|
34
|
+
gem.add_dependency 'opener-core'
|
34
35
|
|
35
36
|
gem.add_development_dependency 'rspec'
|
36
37
|
gem.add_development_dependency 'cucumber'
|
@@ -0,0 +1 @@
|
|
1
|
+
https://github.com/opener-project/VU-kaf-parser/archive/master.zip#egg=VUKafParserPy
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-property-tagger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
@@ -14,112 +14,126 @@ dependencies:
|
|
14
14
|
name: opener-build-tools
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.2.7
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.2.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sinatra
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: httpclient
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: puma
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: opener-webservice
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: opener-core
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- -
|
122
|
+
- - ! '>='
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: cucumber
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - ! '>='
|
116
130
|
- !ruby/object:Gem::Version
|
117
131
|
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - ! '>='
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
description: Property tagger for hotels in Dutch and English.
|
@@ -131,31 +145,31 @@ extensions:
|
|
131
145
|
- ext/hack/Rakefile
|
132
146
|
extra_rdoc_files: []
|
133
147
|
files:
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
- config.ru
|
138
|
-
- core/extract_aspects.py
|
139
|
-
- core/hotel_property_tagger_nl_en.py
|
140
|
-
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/PKG-INFO
|
141
|
-
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/SOURCES.txt
|
148
|
+
- core/site-packages/pre_build/VUKafParserPy/__init__.py
|
149
|
+
- core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py
|
150
|
+
- core/site-packages/pre_build/VUKafParserPy/KafParserMod.py
|
142
151
|
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/dependency_links.txt
|
143
152
|
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt
|
153
|
+
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/PKG-INFO
|
154
|
+
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/SOURCES.txt
|
144
155
|
- core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt
|
145
|
-
- core/
|
146
|
-
- core/
|
147
|
-
- core/site-packages/pre_build/VUKafParserPy/__init__.py
|
156
|
+
- core/extract_aspects.py
|
157
|
+
- core/hotel_property_tagger_nl_en.py
|
148
158
|
- ext/hack/Rakefile
|
149
159
|
- ext/hack/support.rb
|
150
|
-
- lib/opener/property_tagger.rb
|
151
160
|
- lib/opener/property_tagger/cli.rb
|
152
161
|
- lib/opener/property_tagger/public/markdown.css
|
153
162
|
- lib/opener/property_tagger/server.rb
|
154
163
|
- lib/opener/property_tagger/version.rb
|
155
164
|
- lib/opener/property_tagger/views/index.erb
|
156
165
|
- lib/opener/property_tagger/views/result.erb
|
166
|
+
- lib/opener/property_tagger.rb
|
167
|
+
- config.ru
|
157
168
|
- opener-property-tagger.gemspec
|
158
|
-
-
|
169
|
+
- pre_install_requirements.txt
|
170
|
+
- README.md
|
171
|
+
- bin/property-tagger
|
172
|
+
- bin/property-tagger-server
|
159
173
|
homepage: http://opener-project.github.com/
|
160
174
|
licenses: []
|
161
175
|
metadata: {}
|
@@ -165,19 +179,18 @@ require_paths:
|
|
165
179
|
- lib
|
166
180
|
required_ruby_version: !ruby/object:Gem::Requirement
|
167
181
|
requirements:
|
168
|
-
- -
|
182
|
+
- - ! '>='
|
169
183
|
- !ruby/object:Gem::Version
|
170
184
|
version: 1.9.2
|
171
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
186
|
requirements:
|
173
|
-
- -
|
187
|
+
- - ! '>='
|
174
188
|
- !ruby/object:Gem::Version
|
175
189
|
version: '0'
|
176
190
|
requirements: []
|
177
191
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.1.11
|
179
193
|
signing_key:
|
180
194
|
specification_version: 4
|
181
195
|
summary: Property tagger for hotels in Dutch and English.
|
182
196
|
test_files: []
|
183
|
-
has_rdoc:
|
data/pre_build_requirements.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
git+ssh://git@github.com/opener-project/VU-kaf-parser.git#egg=VUKafParserPy
|