opener-constituent-parser-nl 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/constituent-parser-nl +1 -2
- data/core/convert_penn_to_kaf.pyo +0 -0
- data/core/tree.pyo +0 -0
- data/lib/opener/constituent_parsers/nl.rb +6 -4
- data/lib/opener/constituent_parsers/nl/version.rb +1 -1
- data/task/compile.rake +1 -1
- metadata +39 -40
- data/core/convert_penn_to_kaf.pyc +0 -0
- data/core/tree.pyc +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d611b2eadc917adb4f9c069e435adf5b26194455
|
4
|
+
data.tar.gz: 95c201fabe6c51ebd99cf38090b2bb4c23b24b50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa8243efeef7bd9d71486a435e5339d019d309c31b6d4ddb9c48b959cb510524aad06b3de7d0aa6b55850952e28cc1042bc255d248290c2f08fcada364eadf69
|
7
|
+
data.tar.gz: ab8502b3a47c0e88458acc33369451a5b6061b8438a3fd5a33b818831c54543d0f0a7816dedc88e0b01bd03f5a141f65425395fc7ceb7e2fb727a312c4b749dc
|
data/bin/constituent-parser-nl
CHANGED
Binary file
|
data/core/tree.pyo
CHANGED
Binary file
|
@@ -42,12 +42,14 @@ module Opener
|
|
42
42
|
# process information.
|
43
43
|
#
|
44
44
|
# @param [String] input The input to tag.
|
45
|
-
# @return [
|
45
|
+
# @return [String]
|
46
46
|
#
|
47
47
|
def run(input)
|
48
48
|
stdout, stderr, process = capture(input)
|
49
|
+
|
49
50
|
raise stderr unless process.success?
|
50
|
-
|
51
|
+
|
52
|
+
return stdout
|
51
53
|
end
|
52
54
|
|
53
55
|
protected
|
@@ -62,9 +64,9 @@ module Opener
|
|
62
64
|
end
|
63
65
|
|
64
66
|
##
|
65
|
-
# capture3 method doesn't work properly with Jruby, so
|
67
|
+
# capture3 method doesn't work properly with Jruby, so
|
66
68
|
# this is a workaround
|
67
|
-
#
|
69
|
+
#
|
68
70
|
def capture(input)
|
69
71
|
Open3.popen3(*command.split(" ")) {|i, o, e, t|
|
70
72
|
out_reader = Thread.new { o.read }
|
data/task/compile.rake
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
desc 'Verifies requirements and compiles the core'
|
2
|
-
task :compile => ['requirements' 'python:compile']
|
2
|
+
task :compile => ['requirements', 'python:compile']
|
metadata
CHANGED
@@ -1,87 +1,87 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-constituent-parser-nl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.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-
|
11
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
15
|
requirement: !ruby/object:Gem::Requirement
|
21
16
|
requirements:
|
22
|
-
- -
|
17
|
+
- - ">="
|
23
18
|
- !ruby/object:Gem::Version
|
24
19
|
version: '0'
|
25
|
-
prerelease: false
|
26
20
|
type: :runtime
|
27
|
-
|
28
|
-
name: nokogiri
|
21
|
+
prerelease: false
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
30
23
|
requirements:
|
31
|
-
- -
|
24
|
+
- - ">="
|
32
25
|
- !ruby/object:Gem::Version
|
33
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
34
29
|
requirement: !ruby/object:Gem::Requirement
|
35
30
|
requirements:
|
36
|
-
- -
|
31
|
+
- - ">="
|
37
32
|
- !ruby/object:Gem::Version
|
38
33
|
version: '0'
|
39
|
-
prerelease: false
|
40
34
|
type: :runtime
|
41
|
-
|
42
|
-
name: cliver
|
35
|
+
prerelease: false
|
43
36
|
version_requirements: !ruby/object:Gem::Requirement
|
44
37
|
requirements:
|
45
|
-
- -
|
38
|
+
- - ">="
|
46
39
|
- !ruby/object:Gem::Version
|
47
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: cliver
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
44
|
requirements:
|
50
|
-
- -
|
45
|
+
- - ">="
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: '0'
|
53
|
-
prerelease: false
|
54
48
|
type: :runtime
|
55
|
-
|
56
|
-
name: rspec
|
49
|
+
prerelease: false
|
57
50
|
version_requirements: !ruby/object:Gem::Requirement
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
62
57
|
requirement: !ruby/object:Gem::Requirement
|
63
58
|
requirements:
|
64
|
-
- - ~>
|
59
|
+
- - "~>"
|
65
60
|
- !ruby/object:Gem::Version
|
66
61
|
version: '3.0'
|
67
|
-
prerelease: false
|
68
62
|
type: :development
|
69
|
-
|
70
|
-
name: cucumber
|
63
|
+
prerelease: false
|
71
64
|
version_requirements: !ruby/object:Gem::Requirement
|
72
65
|
requirements:
|
73
|
-
- -
|
66
|
+
- - "~>"
|
74
67
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cucumber
|
76
71
|
requirement: !ruby/object:Gem::Requirement
|
77
72
|
requirements:
|
78
|
-
- -
|
73
|
+
- - ">="
|
79
74
|
- !ruby/object:Gem::Version
|
80
75
|
version: '0'
|
81
|
-
prerelease: false
|
82
76
|
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
83
|
description: Constituent Parser for dutch using Alpino.
|
84
|
-
email:
|
84
|
+
email:
|
85
85
|
executables:
|
86
86
|
- constituent-parser-nl
|
87
87
|
extensions:
|
@@ -92,10 +92,8 @@ files:
|
|
92
92
|
- bin/constituent-parser-nl
|
93
93
|
- core/alpino_parser.py
|
94
94
|
- core/convert_penn_to_kaf.py
|
95
|
-
- core/convert_penn_to_kaf.pyc
|
96
95
|
- core/convert_penn_to_kaf.pyo
|
97
96
|
- core/tree.py
|
98
|
-
- core/tree.pyc
|
99
97
|
- core/tree.pyo
|
100
98
|
- ext/hack/Rakefile
|
101
99
|
- lib/opener/constituent_parsers/nl.rb
|
@@ -109,24 +107,25 @@ files:
|
|
109
107
|
homepage: http://opener-project.github.com/
|
110
108
|
licenses: []
|
111
109
|
metadata: {}
|
112
|
-
post_install_message:
|
110
|
+
post_install_message:
|
113
111
|
rdoc_options: []
|
114
112
|
require_paths:
|
115
113
|
- lib
|
116
114
|
required_ruby_version: !ruby/object:Gem::Requirement
|
117
115
|
requirements:
|
118
|
-
- -
|
116
|
+
- - ">="
|
119
117
|
- !ruby/object:Gem::Version
|
120
118
|
version: 1.9.2
|
121
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
120
|
requirements:
|
123
|
-
- -
|
121
|
+
- - ">="
|
124
122
|
- !ruby/object:Gem::Version
|
125
123
|
version: '0'
|
126
124
|
requirements: []
|
127
|
-
rubyforge_project:
|
125
|
+
rubyforge_project:
|
128
126
|
rubygems_version: 2.2.2
|
129
|
-
signing_key:
|
127
|
+
signing_key:
|
130
128
|
specification_version: 4
|
131
129
|
summary: Constituent Parser for dutch using Alpino.
|
132
130
|
test_files: []
|
131
|
+
has_rdoc:
|
Binary file
|
data/core/tree.pyc
DELETED
Binary file
|