opener-coreference 1.1.2 → 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: e9c4231e39cc7d4483974071fdbc7959d6a1509c
4
- data.tar.gz: 41754c1b53afeb3a671d3656e8a5d2181c803562
3
+ metadata.gz: 80eebdd9bee2972c7c88e8e5698222498ce8e69b
4
+ data.tar.gz: 7c62680e27b16d9ecca9d14b930db9fcc95983d2
5
5
  SHA512:
6
- metadata.gz: 8a61003c1314320e73e481252bbc3b1124e38dce1b133751b615257880ea963f10216635d00dbd5b14b6f31eae3bae0cef34d95a0ea65d3ad05d2276d8284965
7
- data.tar.gz: a8a5969964e7a7d8b5b3c2fe6bc61ec537e602a479bc36c6aa6db38fa4e589595cd80997ae839cfe7b80370cc7ad2d21bd453c4de35076ca056f9c6632b389e4
6
+ metadata.gz: 23e56108e60c8b6b955274797537b95269378dcbea52b50ca8a2fecc99db7d87fdd1c1dac869460b3d4bf019d1c7bba41dec1133f02121aa7c87aa3224343b8b
7
+ data.tar.gz: 5ddbee1787f2f9063254e809d80d0764767d98716e614e096cdb1ce4878a55a445e0cdb407faec7dcc451465c88d71eba3b5f03ffc0d3778cae96b1842c1a146
@@ -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,55 +1,69 @@
1
- Coreference
2
- -----------
1
+ # Coreference
3
2
 
4
- This Gem provides coreference resolution for various languages (en, es, it, nl, de, fr).
3
+ This Gem provides coreference resolution for various languages (en, es, it, nl,
4
+ de, fr).
5
5
 
6
- The CorefGraph module provides an implementation of the Multi-Sieve Pass system for for Coreference Resolution system originally proposed by the Stanford NLP Group (Lee et al., 2013). This system proposes a number of deterministic passes, ranging from high precision to higher recall, each dealing with a different manner in which coreference manifests itself in running text.
6
+ The CorefGraph module provides an implementation of the Multi-Sieve Pass system
7
+ for for Coreference Resolution system originally proposed by the Stanford NLP
8
+ Group (Lee et al., 2013). This system proposes a number of deterministic passes,
9
+ ranging from high precision to higher recall, each dealing with a different
10
+ manner in which coreference manifests itself in running text.
7
11
 
8
- Although more sieves are available, in order to facilitate the integration of the coreference system for the 6 languages of OpeNER we have included here 4 sieves: Exact String Matching, Precise Constructs, Strict Head Match and Pronoun Match (the sieve nomenclature follows Lee et al (2013). Furthermore, as it has been reported, this sieves are responsible for most of the performance in the Stanford system.
12
+ Although more sieves are available, in order to facilitate the integration of
13
+ the coreference system for the 6 languages of OpeNER we have included here 4
14
+ sieves: Exact String Matching, Precise Constructs, Strict Head Match and Pronoun
15
+ Match (the sieve nomenclature follows Lee et al (2013). Furthermore, as it has
16
+ been reported, this sieves are responsible for most of the performance in the
17
+ Stanford system.
9
18
 
10
- The implementation is a result of a collaboration between the IXA NLP <http://ixa.si.ehu.es> and LinguaMedia Groups <http://linguamedia.deusto.es>.
19
+ The implementation is a result of a collaboration between the IXA NLP
20
+ <http://ixa.si.ehu.es> and LinguaMedia Groups <http://linguamedia.deusto.es>.
11
21
 
12
- ### Confused by some terminology?
22
+ ## Confused by some terminology?
13
23
 
14
- 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.
24
+ This software is part of a larger collection of natural language processing
25
+ tools known as "the OpeNER project". You can find more information about the
26
+ project at [the OpeNER portal](http://opener-project.github.io). There you can
27
+ also find references to terms like KAF (an XML standard to represent linguistic
28
+ annotations in texts), component, cores, scenario's and pipelines.
15
29
 
16
-
17
- Quick Use Example
18
- -----------------
30
+ ## Quick Use Example
19
31
 
20
32
  Installing the coreference can be done by executing:
21
33
 
22
34
  gem install opener-coreference
23
35
 
24
- Please bare in mind that all components in OpeNER take KAF as an input and output KAF by default.
36
+ Please keep in mind that all components in OpeNER take KAF as an input and
37
+ output KAF by default.
25
38
 
26
39
  ### Command line interface
27
40
 
28
- You should now be able to call the coreference as a regular shell command: by its name. Once installed the gem normalyl sits in your path so you can call it directly from anywhere.
41
+ You should now be able to call the coreference as a regular shell command: by
42
+ its name. Once installed the gem normalyl sits in your path so you can call it
43
+ directly from anywhere.
29
44
 
30
- This aplication reads a text from standard input in order to identify the language.
45
+ This aplication reads a text from standard input in order to identify the
46
+ language.
31
47
 
32
48
  cat some_kind_of_kaf_file.kaf | coreference
33
49
 
34
50
  This will output:
35
51
 
36
- ```xml
37
- <coref coid="co5">
38
- <!--Her father-->
39
- <span>
40
- <target id="t45"/>
41
- <target id="t46"/>
42
- </span>
43
- <!--him-->
44
- <span>
45
- <target id="t58"/>
46
- </span>
47
- <!--his-->
48
- <span>
49
- <target id="t54"/>
50
- </span>
51
- </coref>
52
- ```
52
+ <coref coid="co5">
53
+ <!--Her father-->
54
+ <span>
55
+ <target id="t45"/>
56
+ <target id="t46"/>
57
+ </span>
58
+ <!--him-->
59
+ <span>
60
+ <target id="t58"/>
61
+ </span>
62
+ <!--his-->
63
+ <span>
64
+ <target id="t54"/>
65
+ </span>
66
+ </coref>
53
67
 
54
68
  ### Webservices
55
69
 
@@ -57,28 +71,32 @@ You can launch a language identification webservice by executing:
57
71
 
58
72
  coreference-server
59
73
 
60
- This will launch a mini webserver with the webservice. It defaults to port 9292, so you can access it at <http://localhost:9292>.
74
+ This will launch a mini webserver with the webservice. It defaults to port 9292,
75
+ so you can access it at <http://localhost:9292>.
61
76
 
62
- To launch it on a different port provide the `-p [port-number]` option like this:
77
+ To launch it on a different port provide the `-p [port-number]` option like
78
+ this:
63
79
 
64
80
  coreference-server -p 1234
65
81
 
66
82
  It then launches at <http://localhost:1234>
67
83
 
68
- 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.
69
-
84
+ Documentation on the Webservice is provided by surfing to the urls provided
85
+ above. For more information on how to launch a webservice run the command with
86
+ the `--help` option.
70
87
 
71
88
  ### Daemon
72
89
 
73
- Last but not least the coreference comes shipped with a daemon that can read jobs (and write) jobs to and from Amazon SQS queues. For more information type:
90
+ Last but not least the coreference comes shipped with a daemon that can read
91
+ jobs (and write) jobs to and from Amazon SQS queues. For more information type:
74
92
 
75
93
  coreference-daemon -h
76
94
 
95
+ ## Description of dependencies
77
96
 
78
- Description of dependencies
79
- ---------------------------
80
-
81
- 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
97
+ This component runs best if you run it in an environment suited for OpeNER
98
+ components. You can find an installation guide and helper tools in the
99
+ [OpeNER installer](https://github.com/opener-project/opener-installer) and an
82
100
  [installation guide on the Opener Website](http://opener-project.github.io/getting-started/how-to/local-installation.html)
83
101
 
84
102
  At least you need the following system setup:
@@ -88,57 +106,57 @@ At least you need the following system setup:
88
106
  * Ruby (MRI) 1.9.3 or newer
89
107
  * Python 2.6
90
108
 
91
- Adapting CorefGraph-en to your language
92
- ---------------------------------------
109
+ ## Adapting CorefGraph-en to your language
93
110
 
94
- There are a number of changes needed to be made to make CorefGraph works for other languages. Although we have try to keep the language dependent features to a minimum, you will still need to create some dictionaries for your own language and make some very minor changes in the code. Here is the list of very file in the Corefgraph module that needs to be changed. Every change except one (see below) to be done in the **$project/core/corefgraph/resources** directory:
111
+ There are a number of changes needed to be made to make CorefGraph works for
112
+ other languages. Although we have try to keep the language dependent features to
113
+ a minimum, you will still need to create some dictionaries for your own language
114
+ and make some very minor changes in the code. Here is the list of very file in
115
+ the Corefgraph module that needs to be changed. Every change except one (see
116
+ below) to be done in the `$project/core/corefgraph/resources` directory:
95
117
 
96
- * dictionaries/$lang\_determiners.py
97
- * dictionaries/$lang\_pronouns.py
98
- * dictionaries/$lang\_verbs.py
99
- * dictionaries/$lang\_stopwords.py
100
- * dictionaries/$lang\_temporals.py
118
+ * `dictionaries/$lang_determiners.py`
119
+ * `dictionaries/$lang_pronouns.py`
120
+ * `dictionaries/$lang_verbs.py`
121
+ * `dictionaries/$lang_stopwords.py`
122
+ * `dictionaries/$lang_temporals.py`
101
123
 
102
- * tagset/$TAGSETNAME\_pos.py
103
- * tagset/$TAGSETNAME\_constituent.py
124
+ * `tagset/$TAGSETNAME_pos.py`
125
+ * `tagset/$TAGSETNAME_constituent.py`
104
126
 
105
- * files/animate/$lang.animate.txt
106
- * files/animate/$lang.inanimate.txt
127
+ * `files/animate/$lang.animate.txt`
128
+ * `files/animate/$lang.inanimate.txt`
107
129
 
108
- * files/demonym/$lang.txt
130
+ * `files/demonym/$lang.txt`
109
131
 
110
- * files/gender/$lang.male.unigrams.txt
111
- * files/gender/$lang.female.unigrams.txt
112
- * files/gender/$lang.neutral.unigrams.txt
113
- * files/gender/$lang.namegender.combine.txt
114
- * files/gender/$lang.gender.data
132
+ * `files/gender/$lang.male.unigrams.txt`
133
+ * `files/gender/$lang.female.unigrams.txt`
134
+ * `files/gender/$lang.neutral.unigrams.txt`
135
+ * `files/gender/$lang.namegender.combine.txt`
136
+ * `files/gender/$lang.gender.data`
115
137
 
116
- * files/number/$lang.plural.unigrams.txt
117
- * files/number/$lang.singular.unigrams.txt
138
+ * `files/number/$lang.plural.unigrams.txt`
139
+ * `files/number/$lang.singular.unigrams.txt`
118
140
 
141
+ ## The Core
119
142
 
120
- The Core
121
- --------
122
-
123
- The component is a fat wrapper around the actual language technology core. You can find the core technolies in the following repositories:
143
+ The component is a fat wrapper around the actual language technology core. You
144
+ can find the core technolies in the following repositories:
124
145
 
125
146
  * [Coreference-base](https://github.com/opener-project/coreference-base)
126
147
 
127
- Where to go from here
128
- ---------------------
148
+ ## Where to go from here
129
149
 
130
150
  * [Check the project website](http://opener-project.github.io)
131
151
  * [Checkout the webservice](http://opener.olery.com/coreference)
132
152
 
133
- Report problem/Get help
134
- -----------------------
153
+ ## Report problem/Get help
135
154
 
136
- If you encounter problems, please email <support@opener-project.eu> or leave an issue in the
155
+ If you encounter problems, please email <support@opener-project.eu> or leave an
156
+ issue in the
137
157
  [issue tracker](https://github.com/opener-project/coreference/issues).
138
158
 
139
-
140
- Contributing
141
- ------------
159
+ ## Contributing
142
160
 
143
161
  1. Fork it <http://github.com/opener-project/coreference/fork>
144
162
  2. Create your feature branch (`git checkout -b my-new-feature`)
@@ -2,6 +2,6 @@
2
2
 
3
3
  require_relative '../lib/opener/coreference'
4
4
 
5
- cli = Opener::Coreference::CLI.new(:args => ARGV)
5
+ cli = Opener::Coreference::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/coreference.rb', __FILE__)
5
+ controller = Opener::Daemons::Controller.new(
6
+ :name => 'opener-coreference',
7
+ :exec_path => File.expand_path('../../exec/coreference.rb', __FILE__)
8
+ )
6
9
 
7
- Opener::Daemons::Controller.new(
8
- :name => 'coreference',
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-coreference',
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/coreference'
5
6
 
6
- options = Opener::Daemons::OptParser.parse!(ARGV)
7
- daemon = Opener::Daemons::Daemon.new(Opener::Coreference, options)
7
+ daemon = Opener::Daemons::Daemon.new(Opener::Coreference)
8
8
 
9
- daemon.start
9
+ daemon.start
@@ -1,7 +1,6 @@
1
- require 'optparse'
2
1
  require 'opener/coreferences/base'
2
+ require 'slop'
3
3
  require 'nokogiri'
4
- require 'opener/core'
5
4
 
6
5
  require_relative 'coreference/version'
7
6
  require_relative 'coreference/cli'
@@ -16,7 +15,7 @@ module Opener
16
15
  # @return [Hash]
17
16
  #
18
17
  DEFAULT_OPTIONS = {
19
- :args => [],
18
+ :args => [],
20
19
  }.freeze
21
20
 
22
21
  ##
@@ -24,36 +23,33 @@ module Opener
24
23
  #
25
24
  # @option options [Array] :args Collection of arbitrary arguments to pass
26
25
  # to the underlying kernels.
27
- # @option options [String] :language The language to use.
28
26
  #
29
27
  def initialize(options = {})
30
28
  @options = DEFAULT_OPTIONS.merge(options)
31
29
  end
32
30
 
33
31
  ##
34
- # Processes the input and returns an array containing the output of STDOUT,
35
- # STDERR and an object containing process information.
32
+ # Processes the input KAF document and returns a new KAF document containing
33
+ # the results.
36
34
  #
37
35
  # @param [String] input
38
- # @return [Array]
36
+ # @return [String]
39
37
  #
40
38
  def run(input)
41
- begin
42
- language = language_from_kaf(input)
43
- args = options[:args].dup
39
+ language = language_from_kaf(input)
40
+ args = options[:args].dup
44
41
 
45
- if language_constant_defined?(language)
46
- kernel = language.new(:args => args)
47
- else
48
- kernel = Coreferences::Base.new(:args => args, :language => language)
49
- end
50
- stdout, stderr, process = kernel.run(input)
51
- raise stderr unless process.success?
52
- return stdout
53
-
54
- rescue Exception => error
55
- return Opener::Core::ErrorLayer.new(input, error.message, self.class).add
42
+ if language_constant_defined?(language)
43
+ kernel = language.new(:args => args)
44
+ else
45
+ kernel = Coreferences::Base.new(:args => args, :language => language)
56
46
  end
47
+
48
+ stdout, stderr, process = kernel.run(input)
49
+
50
+ raise stderr unless process.success?
51
+
52
+ return stdout
57
53
  end
58
54
 
59
55
  protected
@@ -74,10 +70,14 @@ module Opener
74
70
  return Coreferences.const_get(language_constant_name)
75
71
  end
76
72
 
73
+ ##
74
+ # @param [String] input
75
+ # @return [String]
76
+ #
77
77
  def language_from_kaf(input)
78
78
  reader = Nokogiri::XML::Reader(input)
79
79
 
80
80
  return reader.read.lang
81
81
  end
82
- end
83
- end
82
+ end # Coreference
83
+ end # Opener
@@ -1,81 +1,59 @@
1
1
  module Opener
2
2
  class Coreference
3
3
  ##
4
- # CLI wrapper around {Opener::Coreference} using OptionParser.
4
+ # CLI wrapper around {Opener::Coreference} 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 = 'coreference'
22
- opts.summary_indent = ' '
23
-
24
- opts.on('-h', '--help', 'Shows this help message') do
25
- show_help
26
- end
19
+ def run(argv = ARGV)
20
+ parser.parse(argv)
21
+ end
27
22
 
28
- opts.on('-v', '--version', 'Shows the current version') do
29
- show_version
30
- end
23
+ ##
24
+ # @return [Slop]
25
+ #
26
+ def configure_slop
27
+ return Slop.new(:strict => false, :indent => 2, :help => true) do
28
+ banner 'Usage: coreference [OPTIONS]'
31
29
 
32
- opts.separator <<-EOF
30
+ separator <<-EOF.chomp
33
31
 
34
- Examples:
32
+ About:
35
33
 
36
- cat example.kaf | #{opts.program_name}
34
+ Coreference resolution for various languages such as Dutch and English.
35
+ This command reads input from STDIN.
37
36
 
38
- Supported Languages (taken from kaf lang element):
37
+ Example:
39
38
 
40
- * Dutch (nl)
41
- * English (en)
42
- * French (fr)
43
- * German (de)
44
- * Italian (it)
45
- * Spanish (es)
39
+ cat some_file.kaf | coreference
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"
55
43
 
56
- tokenizer = Coreference.new(options)
57
-
58
- stdout, stderr, process = tokenizer.run(input)
59
-
60
- puts stdout
61
- end
44
+ on :v, :version, 'Shows the current version' do
45
+ abort "coreference v#{VERSION} on #{RUBY_DESCRIPTION}"
46
+ end
62
47
 
63
- private
48
+ run do |opts, args|
49
+ coref = Coreference.new(:args => args)
64
50
 
65
- ##
66
- # Shows the help message and exits the program.
67
- #
68
- def show_help
69
- abort option_parser.to_s
70
- end
51
+ input = STDIN.tty? ? nil : STDIN.read
71
52
 
72
- ##
73
- # Shows the version and exits the program.
74
- #
75
- def show_version
76
- abort "#{option_parser.program_name} v#{VERSION} on #{RUBY_DESCRIPTION}"
53
+ puts coref.run(input)
54
+ end
55
+ end
77
56
  end
78
57
  end # CLI
79
- end # Ner
58
+ end # Coreference
80
59
  end # Opener
81
-
@@ -1,16 +1,15 @@
1
- require 'sinatra/base'
2
1
  require 'opener/webservice'
3
- require 'httpclient'
4
2
 
5
3
  module Opener
6
4
  class Coreference
7
5
  ##
8
6
  # Coreference 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 Coreference
13
- accepted_params :input
10
+
11
+ self.text_processor = Coreference
12
+ self.accepted_params = [:input]
14
13
  end # Server
15
14
  end # Ner
16
15
  end # Opener
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class Coreference
3
- VERSION = "1.1.2"
3
+ VERSION = '2.0.0'
4
4
  end
5
5
  end
@@ -24,12 +24,14 @@
24
24
  <textarea id="input" name="input" cols="50" rows="10"></textarea>
25
25
  </div>
26
26
 
27
+ <% 10.times do |t| %>
27
28
  <div>
28
- <label for="callbacks">Callback URL (**)</label>
29
+ <label for="callbacks">Callback URL <%= t + 1 %> (**)</label>
29
30
  <br />
30
31
 
31
- <input id="callbacks" type="text" name="callbacks" />
32
+ <input id="callbacks" type="text" name="callbacks[]" />
32
33
  </div>
34
+ <% end %>
33
35
 
34
36
  <div>
35
37
  <label for="error_callback">Error Callback</label>
@@ -6,6 +6,7 @@ Gem::Specification.new do |gem|
6
6
  gem.authors = ["development@olery.com"]
7
7
  gem.summary = "Gem that wraps the coreference code"
8
8
  gem.description = gem.summary
9
+ gem.license = 'Apache 2.0'
9
10
 
10
11
  gem.has_rdoc = "yard"
11
12
  gem.required_ruby_version = ">= 1.9.2"
@@ -15,19 +16,19 @@ Gem::Specification.new do |gem|
15
16
  'config.ru',
16
17
  '*.gemspec',
17
18
  'README.md',
19
+ 'LICENSE.txt',
18
20
  'exec/**/*'
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 'sinatra', '~> 1.4'
24
- gem.add_dependency 'httpclient'
25
- gem.add_dependency 'nokogiri'
26
25
  gem.add_dependency 'opener-coreference-base'
27
- gem.add_dependency 'opener-webservice'
28
- gem.add_dependency 'puma'
29
- gem.add_dependency 'opener-daemons'
30
- gem.add_dependency 'opener-core', '~> 1.0'
26
+ gem.add_dependency 'opener-daemons', '~> 2.2'
27
+ gem.add_dependency 'opener-webservice', '~> 2.1'
28
+ gem.add_dependency 'opener-core', '~> 2.2'
29
+
30
+ gem.add_dependency 'nokogiri'
31
+ gem.add_dependency 'slop', '~> 3.5'
31
32
 
32
33
  gem.add_development_dependency "rake"
33
34
  end
metadata CHANGED
@@ -1,150 +1,123 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-coreference
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 2.0.0
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: 2014-06-19 00:00:00.000000000 Z
11
+ date: 2014-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sinatra
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.4'
20
- requirement: !ruby/object:Gem::Requirement
21
- requirements:
22
- - - ~>
23
- - !ruby/object:Gem::Version
24
- version: '1.4'
25
- prerelease: false
26
- type: :runtime
27
- - !ruby/object:Gem::Dependency
28
- name: httpclient
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
14
+ name: opener-coreference-base
34
15
  requirement: !ruby/object:Gem::Requirement
35
16
  requirements:
36
- - - '>='
17
+ - - ">="
37
18
  - !ruby/object:Gem::Version
38
19
  version: '0'
39
- prerelease: false
40
20
  type: :runtime
41
- - !ruby/object:Gem::Dependency
42
- name: nokogiri
21
+ prerelease: false
43
22
  version_requirements: !ruby/object:Gem::Requirement
44
23
  requirements:
45
- - - '>='
24
+ - - ">="
46
25
  - !ruby/object:Gem::Version
47
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: opener-daemons
48
29
  requirement: !ruby/object:Gem::Requirement
49
30
  requirements:
50
- - - '>='
31
+ - - "~>"
51
32
  - !ruby/object:Gem::Version
52
- version: '0'
53
- prerelease: false
33
+ version: '2.2'
54
34
  type: :runtime
55
- - !ruby/object:Gem::Dependency
56
- name: opener-coreference-base
35
+ prerelease: false
57
36
  version_requirements: !ruby/object:Gem::Requirement
58
37
  requirements:
59
- - - '>='
38
+ - - "~>"
60
39
  - !ruby/object:Gem::Version
61
- version: '0'
40
+ version: '2.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: opener-webservice
62
43
  requirement: !ruby/object:Gem::Requirement
63
44
  requirements:
64
- - - '>='
45
+ - - "~>"
65
46
  - !ruby/object:Gem::Version
66
- version: '0'
67
- prerelease: false
47
+ version: '2.1'
68
48
  type: :runtime
69
- - !ruby/object:Gem::Dependency
70
- name: opener-webservice
49
+ prerelease: false
71
50
  version_requirements: !ruby/object:Gem::Requirement
72
51
  requirements:
73
- - - '>='
52
+ - - "~>"
74
53
  - !ruby/object:Gem::Version
75
- version: '0'
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: opener-core
76
57
  requirement: !ruby/object:Gem::Requirement
77
58
  requirements:
78
- - - '>='
59
+ - - "~>"
79
60
  - !ruby/object:Gem::Version
80
- version: '0'
81
- prerelease: false
61
+ version: '2.2'
82
62
  type: :runtime
83
- - !ruby/object:Gem::Dependency
84
- name: puma
63
+ prerelease: false
85
64
  version_requirements: !ruby/object:Gem::Requirement
86
65
  requirements:
87
- - - '>='
66
+ - - "~>"
88
67
  - !ruby/object:Gem::Version
89
- version: '0'
68
+ version: '2.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: nokogiri
90
71
  requirement: !ruby/object:Gem::Requirement
91
72
  requirements:
92
- - - '>='
73
+ - - ">="
93
74
  - !ruby/object:Gem::Version
94
75
  version: '0'
95
- prerelease: false
96
76
  type: :runtime
97
- - !ruby/object:Gem::Dependency
98
- name: opener-daemons
77
+ prerelease: false
99
78
  version_requirements: !ruby/object:Gem::Requirement
100
79
  requirements:
101
- - - '>='
80
+ - - ">="
102
81
  - !ruby/object:Gem::Version
103
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: slop
104
85
  requirement: !ruby/object:Gem::Requirement
105
86
  requirements:
106
- - - '>='
87
+ - - "~>"
107
88
  - !ruby/object:Gem::Version
108
- version: '0'
109
- prerelease: false
89
+ version: '3.5'
110
90
  type: :runtime
111
- - !ruby/object:Gem::Dependency
112
- name: opener-core
91
+ prerelease: false
113
92
  version_requirements: !ruby/object:Gem::Requirement
114
93
  requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '1.0'
118
- requirement: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - ~>
94
+ - - "~>"
121
95
  - !ruby/object:Gem::Version
122
- version: '1.0'
123
- prerelease: false
124
- type: :runtime
96
+ version: '3.5'
125
97
  - !ruby/object:Gem::Dependency
126
98
  name: rake
127
- version_requirements: !ruby/object:Gem::Requirement
99
+ requirement: !ruby/object:Gem::Requirement
128
100
  requirements:
129
- - - '>='
101
+ - - ">="
130
102
  - !ruby/object:Gem::Version
131
103
  version: '0'
132
- requirement: !ruby/object:Gem::Requirement
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
133
107
  requirements:
134
- - - '>='
108
+ - - ">="
135
109
  - !ruby/object:Gem::Version
136
110
  version: '0'
137
- prerelease: false
138
- type: :development
139
111
  description: Gem that wraps the coreference code
140
- email:
112
+ email:
141
113
  executables:
142
114
  - coreference
143
- - coreference-daemon
144
115
  - coreference-server
116
+ - coreference-daemon
145
117
  extensions: []
146
118
  extra_rdoc_files: []
147
119
  files:
120
+ - LICENSE.txt
148
121
  - README.md
149
122
  - bin/coreference
150
123
  - bin/coreference-daemon
@@ -158,27 +131,29 @@ files:
158
131
  - lib/opener/coreference/version.rb
159
132
  - lib/opener/coreference/views/index.erb
160
133
  - opener-coreference.gemspec
161
- homepage:
162
- licenses: []
134
+ homepage:
135
+ licenses:
136
+ - Apache 2.0
163
137
  metadata: {}
164
- post_install_message:
138
+ post_install_message:
165
139
  rdoc_options: []
166
140
  require_paths:
167
141
  - lib
168
142
  required_ruby_version: !ruby/object:Gem::Requirement
169
143
  requirements:
170
- - - '>='
144
+ - - ">="
171
145
  - !ruby/object:Gem::Version
172
146
  version: 1.9.2
173
147
  required_rubygems_version: !ruby/object:Gem::Requirement
174
148
  requirements:
175
- - - '>='
149
+ - - ">="
176
150
  - !ruby/object:Gem::Version
177
151
  version: '0'
178
152
  requirements: []
179
- rubyforge_project:
153
+ rubyforge_project:
180
154
  rubygems_version: 2.2.2
181
- signing_key:
155
+ signing_key:
182
156
  specification_version: 4
183
157
  summary: Gem that wraps the coreference code
184
158
  test_files: []
159
+ has_rdoc: yard