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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17c9bf39ed9de3611af506a873d80ffe2c97c62d
4
- data.tar.gz: 187167d805ca45c4e8efc203c8dced7df507fb52
3
+ metadata.gz: 5d4d5d7dee45b0d08dce3332e006938f7eaa7bb9
4
+ data.tar.gz: ccc39744d5b99cdf0ee50fc24fe06f470b05cefa
5
5
  SHA512:
6
- metadata.gz: 04922fb8abd60ecbacb764c1aa99f6b517bc382848c7d2cb58dd44f1156a56211fb0c1677fbf7da3bc2a603bbd2b5ef9bd095a763ec2f47fa76cce7a449ca028
7
- data.tar.gz: 6ba8d3d75403ab77d29a5e7ad4f74214fc91c25ba5616570aa2b872f3d7c65b101c8a01b69714d0a0913f331b2dda74d3d7f74ce4f97745325b297de71ecda6c
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-Parser
2
- ------------------
1
+ # Constituent Parser
3
2
 
4
- The constituent parser wraps several other constituent parsers into a component that parses the 6 main opener languages. Each language uses it's own parser and core. For more information on the specific languages, please check the individual cores.
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 tools known as "the OpeNER project". You can find more information about the project at [the OpeNER portal](http://opener-project.github.io). There you can also find references to terms like KAF (an XML standard to represent linguistic annotations in texts), component, cores, scenario's and pipelines.
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 bare in mind that all components in OpeNER take KAF as an input and output KAF by default.
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 command: by its name. Once installed the gem normaly sits in your path so you can call it directly from anywhere.
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 language.
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
- <!--he-->
37
- <t id="ter761">
38
- <span>
39
- <target id="t761" />
40
- </span>
41
- </t>
42
- <!--added-->
43
- <t id="ter762">
44
- <span>
45
- <target id="t762" />
46
- </span>
47
- </t>
48
- <!--.-->
49
- <t id="ter763">
50
- <span>
51
- <target id="t763" />
52
- </span>
53
- </t>
54
- <!--Tree edges-->
55
- <edge id="tre2051" from="nter1328" to="nter1327" />
56
- <edge id="tre2052" from="nter1329" to="nter1328" />
57
- <edge id="tre2053" from="nter1330" to="nter1329" />
58
- <edge id="tre2054" from="nter1331" to="nter1330" head="yes" />
59
- <edge id="tre2055" from="nter1332" to="nter1331" head="yes" />
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, so you can access it at <http://localhost: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 this:
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 above. For more information on how to launch a webservice run the command with the ```-h``` option.
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 read jobs (and write) jobs to and from Amazon SQS queues. For more information type:
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
- Description of dependencies
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
- TODO
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 issue in the
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
-
@@ -2,6 +2,6 @@
2
2
 
3
3
  require_relative '../lib/opener/constituent_parser'
4
4
 
5
- cli = Opener::ConstituentParser::CLI.new(:args => ARGV)
5
+ cli = Opener::ConstituentParser::CLI.new
6
6
 
7
- cli.run(STDIN.tty? ? nil : STDIN.read)
7
+ cli.run
@@ -2,9 +2,9 @@
2
2
 
3
3
  require 'opener/daemons'
4
4
 
5
- exec_path = File.expand_path('../../exec/constituent-parser.rb', __FILE__)
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
- Opener::Daemons::Controller.new(
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 'puma/cli'
3
+ require 'opener/webservice'
4
4
 
5
- rack_config = File.expand_path('../../config.ru', __FILE__)
5
+ parser = Opener::Webservice::OptionParser.new(
6
+ 'opener-constituent-parser',
7
+ File.expand_path('../../config.ru', __FILE__)
8
+ )
6
9
 
7
- cli = Puma::CLI.new([rack_config] + ARGV)
8
- cli.run
10
+ parser.run
@@ -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
- options = Opener::Daemons::OptParser.parse!(ARGV)
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 'optparse'
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 an array containing the output of STDOUT,
41
- # STDERR and an object containing process information.
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
- begin
48
- args = options[:args].dup
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
- return kernel.run(input)
60
- rescue Exception => error
61
- return Opener::Core::ErrorLayer.new(input, error.message, self.class).add
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 OptionParser.
4
+ # CLI wrapper around {Opener::ConstituentParser} using Slop.
5
5
  #
6
- # @!attribute [r] options
7
- # @return [Hash]
8
- # @!attribute [r] option_parser
9
- # @return [OptionParser]
6
+ # @!attribute [r] parser
7
+ # @return [Slop]
10
8
  #
11
9
  class CLI
12
- attr_reader :options, :option_parser
10
+ attr_reader :parser
11
+
12
+ def initialize
13
+ @parser = configure_slop
14
+ end
13
15
 
14
16
  ##
15
- # @param [Hash] options
17
+ # @param [Array] argv
16
18
  #
17
- def initialize(options = {})
18
- @options = DEFAULT_OPTIONS.merge(options)
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
- opts.on('-h', '--help', 'Shows this help message') do
25
- show_help
26
- end
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
- opts.on('-v', '--version', 'Shows the current version') do
29
- show_version
30
- end
30
+ separator <<-EOF.chomp
31
31
 
32
- opts.on(
33
- '-l',
34
- '--language [VALUE]',
35
- 'Uses this specific language'
36
- ) do |value|
37
- @options[:language] = value
38
- end
32
+ About:
39
33
 
40
- opts.separator <<-EOF
34
+ Constituent parser for various languages such as English and Dutch. This
35
+ command reads input from STDIN.
41
36
 
42
- Examples:
37
+ Example:
43
38
 
44
- cat input_file.kaf | #{opts.program_name}
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
- # @param [String] input
52
- #
53
- def run(input)
54
- option_parser.parse!(options[:args])
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
- runner = ConstituentParser.new(options)
48
+ on :l=, :language=, 'Sets a specific language to use', :as => String
57
49
 
58
- stdout, stderr, process = runner.run(input)
50
+ run do |opts, args|
51
+ parser = ConstituentParser.new(
52
+ :args => args,
53
+ :language => opts[:language]
54
+ )
59
55
 
60
- if process
61
- if process.success?
62
- puts stdout
56
+ input = STDIN.tty? ? nil : STDIN.read
63
57
 
64
- STDERR.puts(stderr) unless stderr.empty?
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
- text_processor ConstituentParser
13
- accepted_params :input, :language
10
+
11
+ self.text_processor = ConstituentParser
12
+ self.accepted_params = [:input, :language]
14
13
  end # Server
15
14
  end # ConstituentParser
16
15
  end # Opener
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class ConstituentParser
3
- VERSION = '1.2.3'
3
+ VERSION = '2.0.0'
4
4
  end # ConstituentParser
5
5
  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
- gem.add_dependency 'puma'
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 'httpclient'
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: 1.2.3
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-06-24 00:00:00.000000000 Z
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: puma
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: '0'
67
+ version: '2.2'
96
68
  requirement: !ruby/object:Gem::Requirement
97
69
  requirements:
98
- - - '>='
70
+ - - ~>
99
71
  - !ruby/object:Gem::Version
100
- version: '0'
72
+ version: '2.2'
101
73
  prerelease: false
102
74
  type: :runtime
103
75
  - !ruby/object:Gem::Dependency
104
- name: nokogiri
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: '0'
81
+ version: '2.1'
110
82
  requirement: !ruby/object:Gem::Requirement
111
83
  requirements:
112
- - - '>='
84
+ - - ~>
113
85
  - !ruby/object:Gem::Version
114
- version: '0'
86
+ version: '2.1'
115
87
  prerelease: false
116
88
  type: :runtime
117
89
  - !ruby/object:Gem::Dependency
118
- name: httpclient
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: '0'
95
+ version: '2.2'
124
96
  requirement: !ruby/object:Gem::Requirement
125
97
  requirements:
126
- - - '>='
98
+ - - ~>
127
99
  - !ruby/object:Gem::Version
128
- version: '0'
100
+ version: '2.2'
129
101
  prerelease: false
130
102
  type: :runtime
131
103
  - !ruby/object:Gem::Dependency
132
- name: opener-daemons
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: opener-core
118
+ name: slop
147
119
  version_requirements: !ruby/object:Gem::Requirement
148
120
  requirements:
149
121
  - - ~>
150
122
  - !ruby/object:Gem::Version
151
- version: '1.0'
123
+ version: '3.5'
152
124
  requirement: !ruby/object:Gem::Requirement
153
125
  requirements:
154
126
  - - ~>
155
127
  - !ruby/object:Gem::Version
156
- version: '1.0'
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.2.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