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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e425af3bb249719d4947420efb63a7f9018601d3
|
4
|
+
data.tar.gz: 89051eff9fb56307dd6c6d9a83e08b59804456bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
Binary file
|
@@ -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
|
##
|
@@ -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 { |
|
23
|
+
gem.executables = Dir.glob('bin/*').map { |file| File.basename(file) }
|
24
24
|
|
25
|
-
gem.add_development_dependency '
|
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.
|
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-
|
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
|