opener-constituent-parser-base 1.0.5 → 1.0.6

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: 9774df0d17549366f7c15cd9f9b31b7ee87d23e0
4
- data.tar.gz: f56667223b31c01217ac52892f9ce9692e1a59d0
3
+ metadata.gz: e425af3bb249719d4947420efb63a7f9018601d3
4
+ data.tar.gz: 89051eff9fb56307dd6c6d9a83e08b59804456bb
5
5
  SHA512:
6
- metadata.gz: 86f6ab87ad1e4c725e2adc451d4e31b2d9a0e9970d2703fe66a71564ab40ae0b7001770d86cde93b4c8b6c59a94f492b23f57e4e764449ab708e27ddf86b55bb
7
- data.tar.gz: 03fc14532760103588d186c63f0e521e8edd3b20770a6752b01f7f4e7c0c58a6a60fa3cf21e8dc39f9b0c1fe8b4d0a662c89e46cf6001bfa1c2685381bc0f563
6
+ metadata.gz: 85559938385fc551604edefe9bcfa969490e03e1e23916cc8464353b8eaead689b6a63868db231396f770541cfc33433cb4309108f5f1ef9d69b3d85e0be3fb9
7
+ data.tar.gz: 59e4fd218e4a12b57c95f259eb13435547ad2847c6dd8a4f3d4a1caf4abc7b95fafa6029383cf555cde99d2795c8ed24598c61396e34cf1e0e3cd6864e22816a
data/README.md CHANGED
@@ -8,10 +8,11 @@ supports the following languages:
8
8
  * English
9
9
  * Spanish
10
10
  * Italian
11
+ * French
11
12
 
12
13
  The parser takes KAF documents (with <wf> elements as it needs tokenized text)
13
- as standard input and outputs constituent syntactic analysis in treebank
14
- format, one sentence per line. It also provides an option of outputting the
14
+ as standard input and outputs constituent syntactic analysis in KAF or treebank
15
+ format. It also provides an option of outputting the
15
16
  constituent heads, as defined by Collins PhD thesis.
16
17
 
17
18
  ## Requirements
@@ -4,7 +4,6 @@ require 'stringio'
4
4
  require 'java'
5
5
  require File.expand_path('../../../../core/target/ehu-parse-1.0.jar', __FILE__)
6
6
 
7
- import 'ehu.parse.Annotate'
8
7
  import 'ixa.kaflib.KAFDocument'
9
8
  import 'java.io.InputStreamReader'
10
9
  import 'ehu.heads.CollinsHeadFinder'
@@ -31,7 +30,7 @@ module Opener
31
30
  # @return [String]
32
31
  #
33
32
  DEFAULT_LANGUAGE = 'en'.freeze
34
-
33
+
35
34
  ACCEPTED_LANGUAGES = ['en', 'es', 'it', 'fr'].freeze
36
35
 
37
36
  ##
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  module ConstituentParsers
3
3
  class Base
4
- VERSION = '1.0.5'
4
+ VERSION = '1.0.6'
5
5
  end # Base
6
6
  end # ConstituentParsers
7
7
  end # Opener
@@ -15,15 +15,14 @@ Gem::Specification.new do |gem|
15
15
 
16
16
  gem.files = Dir.glob([
17
17
  'core/target/ehu-parse-*.jar',
18
- 'lib/**/*.*',
18
+ 'lib/**/*',
19
19
  '*.gemspec',
20
20
  'README.md'
21
- ])
21
+ ]).select { |file| File.file?(file) }
22
22
 
23
- gem.executables = Dir.glob('bin/*').map { |f| File.basename(f) }
23
+ gem.executables = Dir.glob('bin/*').map { |file| File.basename(file) }
24
24
 
25
- gem.add_development_dependency 'opener-build-tools'
26
- gem.add_development_dependency 'rspec'
25
+ gem.add_development_dependency 'rspec', '~> 3.0'
27
26
  gem.add_development_dependency 'cucumber'
28
27
  gem.add_development_dependency 'rake'
29
28
  end
metadata CHANGED
@@ -1,41 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-constituent-parser-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
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-05-23 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: opener-build-tools
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: :development
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rspec
29
15
  version_requirements: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - '>='
17
+ - - ~>
32
18
  - !ruby/object:Gem::Version
33
- version: '0'
19
+ version: '3.0'
34
20
  requirement: !ruby/object:Gem::Requirement
35
21
  requirements:
36
- - - '>='
22
+ - - ~>
37
23
  - !ruby/object:Gem::Version
38
- version: '0'
24
+ version: '3.0'
39
25
  prerelease: false
40
26
  type: :development
41
27
  - !ruby/object:Gem::Dependency