opener-scorer 1.0.6 → 1.0.7
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 +4 -4
- data/README.md +19 -36
- data/config/database.rb +1 -1
- data/lib/opener/scorer/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f58d3af84e20558b7007690ccf32e924bfd70569
|
4
|
+
data.tar.gz: d33375149c927705d02563de6f54d315a1c14ac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0dfd4a300e77ece749fe3df5da8079d3d9bc3d399f34b1929bc09631cc2f8361d5a05fcd17dca83ba7e8e2cccab70b131c5e26b244318fdec268fb0848d2049
|
7
|
+
data.tar.gz: 116320a772a7091fdf7152beb57b587dbc8e2e5e3807bc79653326fffd028e29cee666ce4385bfcbc54ed0ea5684046847f102923164d700f9760cc9042e76f6
|
data/README.md
CHANGED
@@ -1,19 +1,14 @@
|
|
1
1
|
Scorer
|
2
2
|
------------
|
3
3
|
|
4
|
-
Component that stores results from the Opener Web Services chain into a MySQL
|
5
|
-
Database and shows them into your browser.
|
4
|
+
Component that stores results from the Opener Web Services chain into a MySQL Database and shows them into your browser.
|
6
5
|
|
7
|
-
It can be used instead of Opener Outlet, to calculate overall sentiment score
|
8
|
-
and sentiment score per topic.
|
6
|
+
It can be used instead of Opener Outlet, to calculate overall sentiment score and sentiment score per topic.
|
9
7
|
|
10
8
|
### Confused by some terminology?
|
11
9
|
|
12
|
-
This software is part of a larger collection of natural language processing
|
13
|
-
|
14
|
-
project at (the OpeNER portal)[http://opener-project.github.io]. There you can
|
15
|
-
also find references to terms like KAF (an XML standard to represent linguistic
|
16
|
-
annotations in texts), component, cores, scenario's and pipelines.
|
10
|
+
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.
|
11
|
+
|
17
12
|
|
18
13
|
Quick Use Example
|
19
14
|
-----------------
|
@@ -22,13 +17,11 @@ Installing the scorer can be done by executing:
|
|
22
17
|
|
23
18
|
gem install opener-scorer
|
24
19
|
|
25
|
-
Please bare in mind that all components in OpeNER take KAF as an input and
|
26
|
-
output KAF by default.
|
20
|
+
Please bare in mind that all components in OpeNER take KAF as an input and output KAF by default.
|
27
21
|
|
28
22
|
### Command line interface
|
29
23
|
|
30
|
-
You should now be able to call the scorer as a regular shell
|
31
|
-
command: by its name. Once installed the gem normally sits in your path so you can call it directly from anywhere.
|
24
|
+
You should now be able to call the scorer as a regular shell command: by its name. Once installed the gem normally sits in your path so you can call it directly from anywhere.
|
32
25
|
|
33
26
|
This aplication reads a text from standard input in order to rate the given text.
|
34
27
|
|
@@ -47,26 +40,20 @@ You can launch a webservice by executing:
|
|
47
40
|
|
48
41
|
scorer-server
|
49
42
|
|
50
|
-
This will launch a mini webserver with the webservice. It defaults to port 9292,
|
51
|
-
so you can access it at <http://localhost:9292>.
|
43
|
+
This will launch a mini webserver with the webservice. It defaults to port 9292, so you can access it at <http://localhost:9292>
|
52
44
|
|
53
|
-
To launch it on a different port provide the `-p [port-number]` option like
|
54
|
-
this:
|
45
|
+
To launch it on a different port provide the `-p [port-number]` option like this:
|
55
46
|
|
56
47
|
scorer-server -p 1234
|
57
48
|
|
58
49
|
It then launches at <http://localhost:1234>
|
59
50
|
|
60
|
-
Documentation on the Webservice is provided by surfing to the urls provided
|
61
|
-
above. For more information on how to launch a webservice run the command with
|
62
|
-
the ```-h``` option.
|
51
|
+
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.
|
63
52
|
|
64
53
|
|
65
54
|
### Daemon
|
66
55
|
|
67
|
-
Last but not least the scorer comes shipped with a daemon that
|
68
|
-
can read jobs (and write) jobs to and from Amazon SQS queues. For more
|
69
|
-
information type:
|
56
|
+
Last but not least the scorer comes shipped with a daemon that can read jobs (and write) jobs to and from Amazon SQS queues. For more information type:
|
70
57
|
|
71
58
|
scorer-daemon -h
|
72
59
|
|
@@ -74,11 +61,7 @@ information type:
|
|
74
61
|
Description of dependencies
|
75
62
|
---------------------------
|
76
63
|
|
77
|
-
This component runs best if you run it in an environment suited for OpeNER
|
78
|
-
components. You can find an installation guide and helper tools in the (OpeNER
|
79
|
-
installer)[https://github.com/opener-project/opener-installer] and (an
|
80
|
-
installation guide on the Opener
|
81
|
-
Website)[http://opener-project.github.io/getting-started/how-to/local-installation.html]
|
64
|
+
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 [installation guide on the Opener Website](http://opener-project.github.io/getting-started/how-to/local-installation.html)
|
82
65
|
|
83
66
|
At least you need the following system setup:
|
84
67
|
|
@@ -99,29 +82,29 @@ Language Extension
|
|
99
82
|
The Core
|
100
83
|
--------
|
101
84
|
|
102
|
-
The component is a fat wrapper around the actual language technology core. You
|
103
|
-
can find the core technolies in the following repositories:
|
85
|
+
The component is a fat wrapper around the actual language technology core. You can find the core technolies in the following repositories:
|
104
86
|
|
105
87
|
* (link to) Related Core readmes
|
106
88
|
|
107
89
|
Where to go from here
|
108
90
|
---------------------
|
109
91
|
|
110
|
-
* Check
|
111
|
-
*
|
92
|
+
* [Check the project websitere](http://opener-project.github.io)
|
93
|
+
* [Checkout the webservice](http://opener.olery.com/scorer)
|
112
94
|
|
113
95
|
Report problem/Get help
|
114
96
|
-----------------------
|
115
97
|
|
116
|
-
If you encounter problems, please email support@opener-project.eu or leave an
|
117
|
-
issue
|
98
|
+
If you encounter problems, please email support@opener-project.eu or leave an issue in the
|
99
|
+
[issue tracker](https://github.com/opener-project/scorer/issues).
|
100
|
+
|
118
101
|
|
119
102
|
|
120
103
|
Contributing
|
121
104
|
------------
|
122
105
|
|
123
|
-
1. Fork it
|
106
|
+
1. Fork it <http://github.com/opener-project/scorer/fork>
|
124
107
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
125
108
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
126
109
|
4. Push to the branch (`git push origin my-new-feature`)
|
127
|
-
5. Create new Pull Request
|
110
|
+
5. Create new Pull Request
|
data/config/database.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-scorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
@@ -237,26 +237,26 @@ dependencies:
|
|
237
237
|
description: MySQL data storing for the web services output when using callbacks.
|
238
238
|
email:
|
239
239
|
executables:
|
240
|
-
- scorer-server
|
241
|
-
- scorer-daemon
|
242
240
|
- scorer
|
241
|
+
- scorer-daemon
|
242
|
+
- scorer-server
|
243
243
|
extensions: []
|
244
244
|
extra_rdoc_files: []
|
245
245
|
files:
|
246
|
+
- README.md
|
247
|
+
- bin/scorer
|
248
|
+
- bin/scorer-daemon
|
249
|
+
- bin/scorer-server
|
250
|
+
- config.ru
|
246
251
|
- config/database.rb
|
252
|
+
- exec/scorer.rb
|
247
253
|
- lib/opener/scorer.rb
|
248
|
-
- lib/opener/scorer/version.rb
|
249
254
|
- lib/opener/scorer/output.rb
|
250
|
-
- lib/opener/scorer/server.rb
|
251
255
|
- lib/opener/scorer/output_processor.rb
|
256
|
+
- lib/opener/scorer/server.rb
|
257
|
+
- lib/opener/scorer/version.rb
|
252
258
|
- lib/opener/scorer/views/index.erb
|
253
|
-
- config.ru
|
254
259
|
- opener-scorer.gemspec
|
255
|
-
- README.md
|
256
|
-
- exec/scorer.rb
|
257
|
-
- bin/scorer-server
|
258
|
-
- bin/scorer-daemon
|
259
|
-
- bin/scorer
|
260
260
|
homepage: http://opener-project.github.com/
|
261
261
|
licenses: []
|
262
262
|
metadata: {}
|
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
276
|
version: '0'
|
277
277
|
requirements: []
|
278
278
|
rubyforge_project:
|
279
|
-
rubygems_version: 2.
|
279
|
+
rubygems_version: 2.2.2
|
280
280
|
signing_key:
|
281
281
|
specification_version: 4
|
282
282
|
summary: MySQL data storing for the web services output when using callbacks.
|