opener-constituent-parser-de 1.1.2 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 172cca8693e0b98ecfee2527707c8be6229f7e0c
4
- data.tar.gz: 4b9701e9cceb3dd84013b0c1d8ae73199a5d867b
3
+ metadata.gz: 22d15cce98b0135cd55b1d7b24b9a3eef4350e05
4
+ data.tar.gz: 3cd0daffb353cb618c00abdec8b6ca6f796269ef
5
5
  SHA512:
6
- metadata.gz: 7a846f05b37bdd7b407452a657bd5f48cadeeffd482cb108b4f79ae049bd4bbdccb2b918a69bb4381dba0fb06248d9ed17a08877945e082a21dd6466eebe7c73
7
- data.tar.gz: 1a2d48c1458197ca27ad950b633a67d8664ee1f2bec7255d2913e603da59a2c339b2954b139a7bd66f516c92ec80e9906d707c1fdff382d8c13df7760f60f414
6
+ metadata.gz: 72154f285dcbadce5efa2ad74dcf514636168ebc32eb511abe6402f72f22fa9cb9db3f5d253480ab830384e53f029eac564387b334532fc95cc7d7320cf4dced
7
+ data.tar.gz: c2523195c1b450c7bdf52bd7042bf0e5d053dab0194838a72f110965c76df93c52da6172e3a1c38c214f04ddbb37b081d2d2cce2bcec514a6c184e5eaca3a8d3
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.
@@ -44,7 +44,7 @@ module Opener
44
44
  # @return [String]
45
45
  #
46
46
  def command
47
- return "python -E -O #{kernel} #{args.join(' ')}"
47
+ return "python -E #{kernel} #{args.join(' ')}"
48
48
  end
49
49
 
50
50
  # Runs the command and returns the output of STDOUT, STDERR and the
@@ -60,11 +60,11 @@ module Opener
60
60
  end
61
61
 
62
62
  protected
63
-
63
+
64
64
  ##
65
- # capture3 method doesn't work properly with Jruby, so
65
+ # capture3 method doesn't work properly with Jruby, so
66
66
  # this is a workaround
67
- #
67
+ #
68
68
  def capture(input)
69
69
  Open3.popen3(*command.split(" ")) {|i, o, e, t|
70
70
  out_reader = Thread.new { o.read }
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  module ConstituentParsers
3
3
  class DE
4
- VERSION = '1.1.2'
4
+ VERSION = '1.2.0'
5
5
  end # DE
6
6
  end # ConstituentParsers
7
7
  end # Opener
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.description = gem.summary
12
12
  gem.has_rdoc = 'yard'
13
13
  gem.extensions = ['ext/hack/Rakefile']
14
+ gem.license = 'Apache 2.0'
14
15
 
15
16
  gem.required_ruby_version = '>= 1.9.2'
16
17
 
@@ -22,6 +23,7 @@ Gem::Specification.new do |gem|
22
23
  '*.gemspec',
23
24
  '*_requirements.txt',
24
25
  'README.md',
26
+ 'LICENSE.txt',
25
27
  'task/*',
26
28
  ]).select { |f| File.file?(f) }
27
29
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-constituent-parser-de
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.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-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cliver
@@ -74,6 +74,7 @@ extensions:
74
74
  - ext/hack/Rakefile
75
75
  extra_rdoc_files: []
76
76
  files:
77
+ - LICENSE.txt
77
78
  - README.md
78
79
  - bin/constituent-parser-de
79
80
  - core/convert_penn_to_kaf.py
@@ -92,7 +93,8 @@ files:
92
93
  - task/stanford.rake
93
94
  - task/test.rake
94
95
  homepage:
95
- licenses: []
96
+ licenses:
97
+ - Apache 2.0
96
98
  metadata: {}
97
99
  post_install_message:
98
100
  rdoc_options: []