opener-constituent-parser 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -32
- data/lib/opener/constituent_parser/version.rb +1 -1
- data/opener-constituent-parser.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db2c3c546cdf352e68f2f99b967c3b5979b76d1d
|
4
|
+
data.tar.gz: e27d5bf5c081ad8dd25caf9dbd2f30da4ad6e702
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa6fb0f326d67579d9962dd9fc1b50693809bfb998376cb844128e553f4a180cd120abc2fd8c192858f0d74c096216546bac1cb15c94c9161b755648b5f0bee8
|
7
|
+
data.tar.gz: c6b82dc98a9ca20ff3c708be6f7dcb2bd40fd96f05fed363494d8cb7d9f7b9e66ceef2b6df0da155732d19c299a37ba4bd0a5875ecd9399cce4980001def6caa
|
data/README.md
CHANGED
@@ -1,25 +1,16 @@
|
|
1
1
|
Constituent-Parser
|
2
2
|
------------------
|
3
3
|
|
4
|
-
The constituent parser wraps several other constituent parsers into a component
|
5
|
-
that parses the 6 main opener languages. Each language uses it's own parser and
|
6
|
-
core. For more information on the specific languages, please check the
|
7
|
-
individual cores.
|
4
|
+
The constituent parser wraps several other constituent parsers into a component that parses the 6 main opener languages. Each language uses it's own parser and core. For more information on the specific languages, please check the individual cores.
|
8
5
|
|
9
6
|
* [English, Spanish and French](https://github.com/opener-project/constituent-parser-base) - OpeNER
|
10
|
-
* [German](https://github.com/opener-project/constituent-parser-de) - Stanford
|
11
|
-
|
12
|
-
* [Dutch)](https://github.com/opener-project/constituent-parser-nl-) Alpino
|
13
|
-
Based
|
7
|
+
* [German](https://github.com/opener-project/constituent-parser-de) - Stanford Based
|
8
|
+
* [Dutch](https://github.com/opener-project/constituent-parser-nl-) - Alpino Based
|
14
9
|
|
15
10
|
|
16
11
|
### Confused by some terminology?
|
17
12
|
|
18
|
-
This software is part of a larger collection of natural language processing
|
19
|
-
tools known as "the OpeNER project". You can find more information about the
|
20
|
-
project at [the OpeNER portal](http://opener-project.github.io). There you can
|
21
|
-
also find references to terms like KAF (an XML standard to represent linguistic
|
22
|
-
annotations in texts), component, cores, scenario's and pipelines.
|
13
|
+
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.
|
23
14
|
|
24
15
|
Quick Use Example
|
25
16
|
-----------------
|
@@ -28,13 +19,11 @@ Installing the constituent-parser can be done by executing:
|
|
28
19
|
|
29
20
|
gem install opener-constituent-parser
|
30
21
|
|
31
|
-
Please bare in mind that all components in OpeNER take KAF as an input and
|
32
|
-
output KAF by default.
|
22
|
+
Please bare in mind that all components in OpeNER take KAF as an input and output KAF by default.
|
33
23
|
|
34
24
|
### Command line interface
|
35
25
|
|
36
|
-
You should now be able to call the constituent parser as a regular shell
|
37
|
-
command: by its name. Once installed the gem normalyl sits in your path so you can call it directly from anywhere.
|
26
|
+
You should now be able to call the constituent parser as a regular shell command: by its name. Once installed the gem normaly sits in your path so you can call it directly from anywhere.
|
38
27
|
|
39
28
|
This aplication reads a text from standard input in order to identify the language.
|
40
29
|
|
@@ -78,26 +67,19 @@ You can launch a language identification webservice by executing:
|
|
78
67
|
|
79
68
|
constituent-parser-server
|
80
69
|
|
81
|
-
This will launch a mini webserver with the webservice. It defaults to port 9292,
|
82
|
-
so you can access it at <http://localhost:9292>.
|
70
|
+
This will launch a mini webserver with the webservice. It defaults to port 9292, so you can access it at <http://localhost:9292>.
|
83
71
|
|
84
|
-
To launch it on a different port provide the `-p [port-number]` option like
|
85
|
-
this:
|
72
|
+
To launch it on a different port provide the `-p [port-number]` option like this:
|
86
73
|
|
87
74
|
constituent-parser-server -p 1234
|
88
75
|
|
89
76
|
It then launches at <http://localhost:1234>
|
90
77
|
|
91
|
-
Documentation on the Webservice is provided by surfing to the urls provided
|
92
|
-
above. For more information on how to launch a webservice run the command with
|
93
|
-
the ```-h``` option.
|
94
|
-
|
78
|
+
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.
|
95
79
|
|
96
80
|
### Daemon
|
97
81
|
|
98
|
-
Last but not least the constituent parser comes shipped with a daemon that
|
99
|
-
can read jobs (and write) jobs to and from Amazon SQS queues. For more
|
100
|
-
information type:
|
82
|
+
Last but not least the constituent parser comes shipped with a daemon that can read jobs (and write) jobs to and from Amazon SQS queues. For more information type:
|
101
83
|
|
102
84
|
constituent-parser-daemon -h
|
103
85
|
|
@@ -105,8 +87,7 @@ information type:
|
|
105
87
|
Description of dependencies
|
106
88
|
---------------------------
|
107
89
|
|
108
|
-
This component runs best if you run it in an environment suited for OpeNER
|
109
|
-
components. You can find an installation guide and helper tools in the [OpeNER installer](https://github.com/opener-project/opener-installer) and an
|
90
|
+
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
|
110
91
|
[installation guide on the Opener Website](http://opener-project.github.io/getting-started/how-to/local-installation.html)
|
111
92
|
|
112
93
|
At least you need the following system setup:
|
@@ -136,8 +117,8 @@ Where to go from here
|
|
136
117
|
Report problem/Get help
|
137
118
|
-----------------------
|
138
119
|
|
139
|
-
If you encounter problems, please email support@opener-project.eu or leave an
|
140
|
-
|
120
|
+
If you encounter problems, please email support@opener-project.eu or leave an issue in the
|
121
|
+
[issue tracker](https://github.com/opener-project/constituent-parser/issues).
|
141
122
|
|
142
123
|
|
143
124
|
Contributing
|
@@ -24,6 +24,7 @@ Gem::Specification.new do |gem|
|
|
24
24
|
gem.add_dependency 'opener-constituent-parser-base', '>= 0.1.0'
|
25
25
|
gem.add_dependency 'puma'
|
26
26
|
gem.add_dependency 'nokogiri'
|
27
|
+
gem.add_dependency 'httpclient'
|
27
28
|
gem.add_dependency 'opener-daemons'
|
28
29
|
gem.add_dependency 'opener-core', ['>= 0.1.2']
|
29
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-constituent-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
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-
|
11
|
+
date: 2014-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opener-webservice
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
prerelease: false
|
68
68
|
type: :runtime
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: httpclient
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
prerelease: false
|
82
|
+
type: :runtime
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: opener-daemons
|
71
85
|
version_requirements: !ruby/object:Gem::Requirement
|