opener-constituent-parser 1.2.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +13 -0
- data/README.md +60 -52
- data/bin/constituent-parser +2 -2
- data/bin/constituent-parser-daemon +5 -5
- data/bin/constituent-parser-server +6 -4
- data/exec/constituent-parser.rb +3 -3
- data/lib/opener/constituent_parser.rb +14 -26
- data/lib/opener/constituent_parser/cli.rb +37 -63
- data/lib/opener/constituent_parser/server.rb +4 -5
- data/lib/opener/constituent_parser/version.rb +1 -1
- data/opener-constituent-parser.gemspec +8 -6
- metadata +34 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d4d5d7dee45b0d08dce3332e006938f7eaa7bb9
|
4
|
+
data.tar.gz: ccc39744d5b99cdf0ee50fc24fe06f470b05cefa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2122084413b9222904f36b9298fce09415062890b2c585bcdbd6df810f2320659d1d076fc947ba18d23f8a3fac995253a22df710199c4d026b6e115572ba776
|
7
|
+
data.tar.gz: e287ac2e702360efcb619e5078fccf32769197a1cccc4f6575315c8f3dfb88442f9fa42d055798d93b9b5e88953fd0c85694c30bbda4c06c8981454a5e815765
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Copyright 2014 OpeNER Project Consortium
|
2
|
+
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
you may not use this file except in compliance with the License.
|
5
|
+
You may obtain a copy of the License at
|
6
|
+
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
See the License for the specific language governing permissions and
|
13
|
+
limitations under the License.
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
Constituent
|
2
|
-
------------------
|
1
|
+
# Constituent Parser
|
3
2
|
|
4
|
-
The constituent parser wraps several other constituent parsers into a component
|
3
|
+
The constituent parser wraps several other constituent parsers into a component
|
4
|
+
that parses the 6 main opener languages. Each language uses it's own parser and
|
5
|
+
core. For more information on the specific languages, please check the
|
6
|
+
individual cores.
|
5
7
|
|
6
8
|
* [English, Spanish and French](https://github.com/opener-project/constituent-parser-base) - OpeNER
|
7
9
|
* [German](https://github.com/opener-project/constituent-parser-de) - Stanford Based
|
@@ -10,56 +12,59 @@ The constituent parser wraps several other constituent parsers into a component
|
|
10
12
|
|
11
13
|
### Confused by some terminology?
|
12
14
|
|
13
|
-
This software is part of a larger collection of natural language processing
|
15
|
+
This software is part of a larger collection of natural language processing
|
16
|
+
tools known as "the OpeNER project". You can find more information about the
|
17
|
+
project at [the OpeNER portal](http://opener-project.github.io). There you can
|
18
|
+
also find references to terms like KAF (an XML standard to represent linguistic
|
19
|
+
annotations in texts), component, cores, scenario's and pipelines.
|
14
20
|
|
15
|
-
Quick Use Example
|
16
|
-
-----------------
|
21
|
+
## Quick Use Example
|
17
22
|
|
18
23
|
Installing the constituent-parser can be done by executing:
|
19
24
|
|
20
25
|
gem install opener-constituent-parser
|
21
26
|
|
22
|
-
Please
|
27
|
+
Please keep in mind that all components in OpeNER take KAF as an input and
|
28
|
+
output KAF by default.
|
23
29
|
|
24
30
|
### Command line interface
|
25
31
|
|
26
|
-
You should now be able to call the constituent parser as a regular shell
|
32
|
+
You should now be able to call the constituent parser as a regular shell
|
33
|
+
command: by its name. Once installed the gem normaly sits in your path so you
|
34
|
+
can call it directly from anywhere.
|
27
35
|
|
28
|
-
This aplication reads a text from standard input in order to identify the
|
36
|
+
This aplication reads a text from standard input in order to identify the
|
37
|
+
language.
|
29
38
|
|
30
39
|
cat some_kind_of_kaf_file.kaf | constituent-parser
|
31
40
|
|
32
|
-
|
33
41
|
This is an excerpt of an example output:
|
34
42
|
|
35
|
-
|
36
|
-
|
37
|
-
<
|
38
|
-
<
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
<
|
44
|
-
<
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<
|
50
|
-
<
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<edge id="tre2056" from="nter1333" to="nter1332" />
|
61
|
-
|
62
|
-
```
|
43
|
+
<!--he-->
|
44
|
+
<t id="ter761">
|
45
|
+
<span>
|
46
|
+
<target id="t761" />
|
47
|
+
</span>
|
48
|
+
</t>
|
49
|
+
<!--added-->
|
50
|
+
<t id="ter762">
|
51
|
+
<span>
|
52
|
+
<target id="t762" />
|
53
|
+
</span>
|
54
|
+
</t>
|
55
|
+
<!--.-->
|
56
|
+
<t id="ter763">
|
57
|
+
<span>
|
58
|
+
<target id="t763" />
|
59
|
+
</span>
|
60
|
+
</t>
|
61
|
+
<!--Tree edges-->
|
62
|
+
<edge id="tre2051" from="nter1328" to="nter1327" />
|
63
|
+
<edge id="tre2052" from="nter1329" to="nter1328" />
|
64
|
+
<edge id="tre2053" from="nter1330" to="nter1329" />
|
65
|
+
<edge id="tre2054" from="nter1331" to="nter1330" head="yes" />
|
66
|
+
<edge id="tre2055" from="nter1332" to="nter1331" head="yes" />
|
67
|
+
<edge id="tre2056" from="nter1333" to="nter1332" />
|
63
68
|
|
64
69
|
### Webservices
|
65
70
|
|
@@ -67,27 +72,33 @@ You can launch a language identification webservice by executing:
|
|
67
72
|
|
68
73
|
constituent-parser-server
|
69
74
|
|
70
|
-
This will launch a mini webserver with the webservice. It defaults to port 9292,
|
75
|
+
This will launch a mini webserver with the webservice. It defaults to port 9292,
|
76
|
+
so you can access it at <http://localhost:9292>.
|
71
77
|
|
72
|
-
To launch it on a different port provide the `-p [port-number]` option like
|
78
|
+
To launch it on a different port provide the `-p [port-number]` option like
|
79
|
+
this:
|
73
80
|
|
74
81
|
constituent-parser-server -p 1234
|
75
82
|
|
76
83
|
It then launches at <http://localhost:1234>
|
77
84
|
|
78
|
-
Documentation on the Webservice is provided by surfing to the urls provided
|
85
|
+
Documentation on the Webservice is provided by surfing to the urls provided
|
86
|
+
above. For more information on how to launch a webservice run the command with
|
87
|
+
the `--help` option.
|
79
88
|
|
80
89
|
### Daemon
|
81
90
|
|
82
|
-
Last but not least the constituent parser comes shipped with a daemon that can
|
91
|
+
Last but not least the constituent parser comes shipped with a daemon that can
|
92
|
+
read jobs (and write) jobs to and from Amazon SQS queues. For more information
|
93
|
+
type:
|
83
94
|
|
84
95
|
constituent-parser-daemon -h
|
85
96
|
|
97
|
+
## Description of dependencies
|
86
98
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
This component runs best if you run it in an environment suited for OpeNER components. You can find an installation guide and helper tools in the [OpeNER installer](https://github.com/opener-project/opener-installer) and an
|
99
|
+
This component runs best if you run it in an environment suited for OpeNER
|
100
|
+
components. You can find an installation guide and helper tools in the
|
101
|
+
[OpeNER installer](https://github.com/opener-project/opener-installer) and an
|
91
102
|
[installation guide on the Opener Website](http://opener-project.github.io/getting-started/how-to/local-installation.html)
|
92
103
|
|
93
104
|
At least you need the following system setup:
|
@@ -105,8 +116,7 @@ If you want to use the Dutch constituent parser you need to have:
|
|
105
116
|
Language Extension
|
106
117
|
------------------
|
107
118
|
|
108
|
-
|
109
|
-
|
119
|
+
TODO
|
110
120
|
|
111
121
|
Where to go from here
|
112
122
|
---------------------
|
@@ -117,10 +127,10 @@ Where to go from here
|
|
117
127
|
Report problem/Get help
|
118
128
|
-----------------------
|
119
129
|
|
120
|
-
If you encounter problems, please email support@opener-project.eu or leave an
|
130
|
+
If you encounter problems, please email support@opener-project.eu or leave an
|
131
|
+
issue in the
|
121
132
|
[issue tracker](https://github.com/opener-project/constituent-parser/issues).
|
122
133
|
|
123
|
-
|
124
134
|
Contributing
|
125
135
|
------------
|
126
136
|
|
@@ -129,5 +139,3 @@ Contributing
|
|
129
139
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
130
140
|
4. Push to the branch (`git push origin my-new-feature`)
|
131
141
|
5. Create new Pull Request
|
132
|
-
|
133
|
-
|
data/bin/constituent-parser
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
require 'opener/daemons'
|
4
4
|
|
5
|
-
|
5
|
+
controller = Opener::Daemons::Controller.new(
|
6
|
+
:name => 'opener-constituent-parser',
|
7
|
+
:exec_path => File.expand_path('../../exec/constituent-parser.rb', __FILE__)
|
8
|
+
)
|
6
9
|
|
7
|
-
|
8
|
-
:name => 'constituent-parser',
|
9
|
-
:exec_path => exec_path
|
10
|
-
)
|
10
|
+
controller.run
|
@@ -1,8 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'opener/webservice'
|
4
4
|
|
5
|
-
|
5
|
+
parser = Opener::Webservice::OptionParser.new(
|
6
|
+
'opener-constituent-parser',
|
7
|
+
File.expand_path('../../config.ru', __FILE__)
|
8
|
+
)
|
6
9
|
|
7
|
-
|
8
|
-
cli.run
|
10
|
+
parser.run
|
data/exec/constituent-parser.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'opener/daemons'
|
4
|
+
|
4
5
|
require_relative '../lib/opener/constituent_parser'
|
5
6
|
|
6
|
-
|
7
|
-
daemon = Opener::Daemons::Daemon.new(Opener::ConstituentParser, options)
|
7
|
+
daemon = Opener::Daemons::Daemon.new(Opener::ConstituentParser)
|
8
8
|
|
9
|
-
daemon.start
|
9
|
+
daemon.start
|
@@ -1,10 +1,9 @@
|
|
1
1
|
require 'open3'
|
2
|
-
require '
|
2
|
+
require 'slop'
|
3
3
|
require 'nokogiri'
|
4
4
|
require 'opener/constituent_parsers/base'
|
5
5
|
require 'opener/constituent_parsers/nl'
|
6
6
|
require 'opener/constituent_parsers/de'
|
7
|
-
require 'opener/core'
|
8
7
|
|
9
8
|
require_relative 'constituent_parser/version'
|
10
9
|
require_relative 'constituent_parser/cli'
|
@@ -25,7 +24,7 @@ module Opener
|
|
25
24
|
# @return [Hash]
|
26
25
|
#
|
27
26
|
DEFAULT_OPTIONS = {
|
28
|
-
:args
|
27
|
+
:args => [],
|
29
28
|
}.freeze
|
30
29
|
|
31
30
|
##
|
@@ -37,41 +36,30 @@ module Opener
|
|
37
36
|
end
|
38
37
|
|
39
38
|
##
|
40
|
-
# Processes the input and returns
|
41
|
-
#
|
39
|
+
# Processes the input KAF document and returns a new KAF document as a
|
40
|
+
# String.
|
42
41
|
#
|
43
42
|
# @param [String] input
|
44
43
|
# @return [String]
|
45
44
|
#
|
46
45
|
def run(input)
|
47
|
-
|
48
|
-
|
49
|
-
language = language(input)
|
50
|
-
if language_constant_defined?(language)
|
51
|
-
kernel = language_constant(language).new(:args => args)
|
52
|
-
else
|
53
|
-
kernel = ConstituentParsers::Base.new(
|
54
|
-
:args => args,
|
55
|
-
:language => language
|
56
|
-
)
|
57
|
-
end
|
46
|
+
args = options[:args].dup
|
47
|
+
language = language(input)
|
58
48
|
|
59
|
-
|
60
|
-
|
61
|
-
|
49
|
+
if language_constant_defined?(language)
|
50
|
+
kernel = language_constant(language).new(:args => args)
|
51
|
+
else
|
52
|
+
kernel = ConstituentParsers::Base.new(
|
53
|
+
:args => args,
|
54
|
+
:language => language
|
55
|
+
)
|
62
56
|
end
|
63
|
-
end
|
64
57
|
|
65
|
-
|
66
|
-
# @return [String]
|
67
|
-
#
|
68
|
-
def output_type
|
69
|
-
return :xml
|
58
|
+
return kernel.run(input)
|
70
59
|
end
|
71
60
|
|
72
61
|
protected
|
73
62
|
|
74
|
-
|
75
63
|
##
|
76
64
|
# Returns `true` if the current language has a dedicated kernel class.
|
77
65
|
#
|
@@ -1,90 +1,64 @@
|
|
1
1
|
module Opener
|
2
2
|
class ConstituentParser
|
3
3
|
##
|
4
|
-
# CLI wrapper around {Opener::ConstituentParser} using
|
4
|
+
# CLI wrapper around {Opener::ConstituentParser} using Slop.
|
5
5
|
#
|
6
|
-
# @!attribute [r]
|
7
|
-
# @return [
|
8
|
-
# @!attribute [r] option_parser
|
9
|
-
# @return [OptionParser]
|
6
|
+
# @!attribute [r] parser
|
7
|
+
# @return [Slop]
|
10
8
|
#
|
11
9
|
class CLI
|
12
|
-
attr_reader :
|
10
|
+
attr_reader :parser
|
11
|
+
|
12
|
+
def initialize
|
13
|
+
@parser = configure_slop
|
14
|
+
end
|
13
15
|
|
14
16
|
##
|
15
|
-
# @param [
|
17
|
+
# @param [Array] argv
|
16
18
|
#
|
17
|
-
def
|
18
|
-
|
19
|
-
|
20
|
-
@option_parser = OptionParser.new do |opts|
|
21
|
-
opts.program_name = 'constituent-parser'
|
22
|
-
opts.summary_indent = ' '
|
19
|
+
def run(argv = ARGV)
|
20
|
+
parser.parse(argv)
|
21
|
+
end
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
##
|
24
|
+
# @return [Slop]
|
25
|
+
#
|
26
|
+
def configure_slop
|
27
|
+
return Slop.new(:strict => false, :indent => 2, :help => true) do
|
28
|
+
banner 'Usage: constituent-parser [OPTIONS]'
|
27
29
|
|
28
|
-
|
29
|
-
show_version
|
30
|
-
end
|
30
|
+
separator <<-EOF.chomp
|
31
31
|
|
32
|
-
|
33
|
-
'-l',
|
34
|
-
'--language [VALUE]',
|
35
|
-
'Uses this specific language'
|
36
|
-
) do |value|
|
37
|
-
@options[:language] = value
|
38
|
-
end
|
32
|
+
About:
|
39
33
|
|
40
|
-
|
34
|
+
Constituent parser for various languages such as English and Dutch. This
|
35
|
+
command reads input from STDIN.
|
41
36
|
|
42
|
-
|
37
|
+
Example:
|
43
38
|
|
44
|
-
|
45
|
-
cat input_file.kaf | #{opts.program_name} -l nl
|
39
|
+
cat some_file.kaf | constituent-parser
|
46
40
|
EOF
|
47
|
-
end
|
48
|
-
end
|
49
41
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
42
|
+
separator "\nOptions:\n"
|
43
|
+
|
44
|
+
on :v, :version, 'Shows the current version' do
|
45
|
+
abort "property-tagger v#{VERSION} on #{RUBY_DESCRIPTION}"
|
46
|
+
end
|
55
47
|
|
56
|
-
|
48
|
+
on :l=, :language=, 'Sets a specific language to use', :as => String
|
57
49
|
|
58
|
-
|
50
|
+
run do |opts, args|
|
51
|
+
parser = ConstituentParser.new(
|
52
|
+
:args => args,
|
53
|
+
:language => opts[:language]
|
54
|
+
)
|
59
55
|
|
60
|
-
|
61
|
-
if process.success?
|
62
|
-
puts stdout
|
56
|
+
input = STDIN.tty? ? nil : STDIN.read
|
63
57
|
|
64
|
-
|
65
|
-
else
|
66
|
-
abort stderr
|
58
|
+
puts parser.run(input)
|
67
59
|
end
|
68
|
-
else
|
69
|
-
puts stdout
|
70
60
|
end
|
71
61
|
end
|
72
|
-
|
73
|
-
private
|
74
|
-
|
75
|
-
##
|
76
|
-
# Shows the help message and exits the program.
|
77
|
-
#
|
78
|
-
def show_help
|
79
|
-
abort option_parser.to_s
|
80
|
-
end
|
81
|
-
|
82
|
-
##
|
83
|
-
# Shows the version and exits the program.
|
84
|
-
#
|
85
|
-
def show_version
|
86
|
-
abort "#{option_parser.program_name} v#{VERSION} on #{RUBY_DESCRIPTION}"
|
87
|
-
end
|
88
62
|
end # CLI
|
89
63
|
end # ConstituentParser
|
90
64
|
end # Opener
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'sinatra/base'
|
2
|
-
require 'httpclient'
|
3
1
|
require 'opener/webservice'
|
4
2
|
|
5
3
|
module Opener
|
@@ -7,10 +5,11 @@ module Opener
|
|
7
5
|
##
|
8
6
|
# Constituent parser server powered by Sinatra.
|
9
7
|
#
|
10
|
-
class Server < Webservice
|
8
|
+
class Server < Webservice::Server
|
11
9
|
set :views, File.expand_path('../views', __FILE__)
|
12
|
-
|
13
|
-
|
10
|
+
|
11
|
+
self.text_processor = ConstituentParser
|
12
|
+
self.accepted_params = [:input, :language]
|
14
13
|
end # Server
|
15
14
|
end # ConstituentParser
|
16
15
|
end # Opener
|
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.summary = 'Constituent parser including a webservice.'
|
8
8
|
gem.description = gem.summary
|
9
9
|
gem.has_rdoc = 'yard'
|
10
|
+
gem.license = 'Apache 2.0'
|
10
11
|
|
11
12
|
gem.required_ruby_version = '>= 1.9.2'
|
12
13
|
|
@@ -14,22 +15,23 @@ Gem::Specification.new do |gem|
|
|
14
15
|
'lib/**/*',
|
15
16
|
'*.gemspec',
|
16
17
|
'README.md',
|
18
|
+
'LICENSE.txt',
|
17
19
|
'exec/**/*',
|
18
20
|
'config.ru'
|
19
21
|
]).select { |file| File.file?(file) }
|
20
22
|
|
21
23
|
gem.executables = Dir.glob('bin/*').map { |file| File.basename(file) }
|
22
24
|
|
23
|
-
gem.add_dependency 'opener-webservice'
|
24
|
-
gem.add_dependency 'sinatra', '~>1.4.2'
|
25
25
|
gem.add_dependency 'opener-constituent-parser-base', ['~> 1.0', '>= 1.0.6']
|
26
26
|
gem.add_dependency 'opener-constituent-parser-nl', '~> 1.0'
|
27
27
|
gem.add_dependency 'opener-constituent-parser-de', '~> 1.1'
|
28
|
-
|
28
|
+
|
29
|
+
gem.add_dependency 'opener-daemons', '~> 2.2'
|
30
|
+
gem.add_dependency 'opener-webservice', '~> 2.1'
|
31
|
+
gem.add_dependency 'opener-core', '~> 2.2'
|
32
|
+
|
29
33
|
gem.add_dependency 'nokogiri'
|
30
|
-
gem.add_dependency '
|
31
|
-
gem.add_dependency 'opener-daemons'
|
32
|
-
gem.add_dependency 'opener-core', "~> 1.0"
|
34
|
+
gem.add_dependency 'slop', '~> 3.5'
|
33
35
|
|
34
36
|
gem.add_development_dependency 'rake'
|
35
37
|
end
|
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-constituent-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
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: 2014-
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: opener-webservice
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
requirement: !ruby/object:Gem::Requirement
|
21
|
-
requirements:
|
22
|
-
- - '>='
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '0'
|
25
|
-
prerelease: false
|
26
|
-
type: :runtime
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: sinatra
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.4.2
|
34
|
-
requirement: !ruby/object:Gem::Requirement
|
35
|
-
requirements:
|
36
|
-
- - ~>
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 1.4.2
|
39
|
-
prerelease: false
|
40
|
-
type: :runtime
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: opener-constituent-parser-base
|
43
15
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -87,49 +59,49 @@ dependencies:
|
|
87
59
|
prerelease: false
|
88
60
|
type: :runtime
|
89
61
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
62
|
+
name: opener-daemons
|
91
63
|
version_requirements: !ruby/object:Gem::Requirement
|
92
64
|
requirements:
|
93
|
-
- -
|
65
|
+
- - ~>
|
94
66
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
67
|
+
version: '2.2'
|
96
68
|
requirement: !ruby/object:Gem::Requirement
|
97
69
|
requirements:
|
98
|
-
- -
|
70
|
+
- - ~>
|
99
71
|
- !ruby/object:Gem::Version
|
100
|
-
version: '
|
72
|
+
version: '2.2'
|
101
73
|
prerelease: false
|
102
74
|
type: :runtime
|
103
75
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
76
|
+
name: opener-webservice
|
105
77
|
version_requirements: !ruby/object:Gem::Requirement
|
106
78
|
requirements:
|
107
|
-
- -
|
79
|
+
- - ~>
|
108
80
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
81
|
+
version: '2.1'
|
110
82
|
requirement: !ruby/object:Gem::Requirement
|
111
83
|
requirements:
|
112
|
-
- -
|
84
|
+
- - ~>
|
113
85
|
- !ruby/object:Gem::Version
|
114
|
-
version: '
|
86
|
+
version: '2.1'
|
115
87
|
prerelease: false
|
116
88
|
type: :runtime
|
117
89
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
90
|
+
name: opener-core
|
119
91
|
version_requirements: !ruby/object:Gem::Requirement
|
120
92
|
requirements:
|
121
|
-
- -
|
93
|
+
- - ~>
|
122
94
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
95
|
+
version: '2.2'
|
124
96
|
requirement: !ruby/object:Gem::Requirement
|
125
97
|
requirements:
|
126
|
-
- -
|
98
|
+
- - ~>
|
127
99
|
- !ruby/object:Gem::Version
|
128
|
-
version: '
|
100
|
+
version: '2.2'
|
129
101
|
prerelease: false
|
130
102
|
type: :runtime
|
131
103
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
104
|
+
name: nokogiri
|
133
105
|
version_requirements: !ruby/object:Gem::Requirement
|
134
106
|
requirements:
|
135
107
|
- - '>='
|
@@ -143,17 +115,17 @@ dependencies:
|
|
143
115
|
prerelease: false
|
144
116
|
type: :runtime
|
145
117
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
118
|
+
name: slop
|
147
119
|
version_requirements: !ruby/object:Gem::Requirement
|
148
120
|
requirements:
|
149
121
|
- - ~>
|
150
122
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
123
|
+
version: '3.5'
|
152
124
|
requirement: !ruby/object:Gem::Requirement
|
153
125
|
requirements:
|
154
126
|
- - ~>
|
155
127
|
- !ruby/object:Gem::Version
|
156
|
-
version: '
|
128
|
+
version: '3.5'
|
157
129
|
prerelease: false
|
158
130
|
type: :runtime
|
159
131
|
- !ruby/object:Gem::Dependency
|
@@ -179,21 +151,23 @@ executables:
|
|
179
151
|
extensions: []
|
180
152
|
extra_rdoc_files: []
|
181
153
|
files:
|
182
|
-
- README.md
|
183
|
-
- bin/constituent-parser
|
184
|
-
- bin/constituent-parser-daemon
|
185
|
-
- bin/constituent-parser-server
|
186
|
-
- config.ru
|
187
|
-
- exec/constituent-parser.rb
|
188
154
|
- lib/opener/constituent_parser.rb
|
155
|
+
- lib/opener/constituent_parser/version.rb
|
156
|
+
- lib/opener/constituent_parser/server.rb
|
189
157
|
- lib/opener/constituent_parser/cli.rb
|
190
158
|
- lib/opener/constituent_parser/public/markdown.css
|
191
|
-
- lib/opener/constituent_parser/server.rb
|
192
|
-
- lib/opener/constituent_parser/version.rb
|
193
159
|
- lib/opener/constituent_parser/views/index.erb
|
194
160
|
- opener-constituent-parser.gemspec
|
161
|
+
- README.md
|
162
|
+
- LICENSE.txt
|
163
|
+
- exec/constituent-parser.rb
|
164
|
+
- config.ru
|
165
|
+
- bin/constituent-parser
|
166
|
+
- bin/constituent-parser-daemon
|
167
|
+
- bin/constituent-parser-server
|
195
168
|
homepage:
|
196
|
-
licenses:
|
169
|
+
licenses:
|
170
|
+
- Apache 2.0
|
197
171
|
metadata: {}
|
198
172
|
post_install_message:
|
199
173
|
rdoc_options: []
|
@@ -211,8 +185,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
185
|
version: '0'
|
212
186
|
requirements: []
|
213
187
|
rubyforge_project:
|
214
|
-
rubygems_version: 2.
|
188
|
+
rubygems_version: 2.1.9
|
215
189
|
signing_key:
|
216
190
|
specification_version: 4
|
217
191
|
summary: Constituent parser including a webservice.
|
218
192
|
test_files: []
|
193
|
+
has_rdoc: yard
|