opener-opinion-detector-base 2.1.5 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/opinion-detector-base +1 -6
- data/core/python-scripts/scripts/__init__.pyo +0 -0
- data/core/python-scripts/scripts/config_manager.pyo +0 -0
- data/core/python-scripts/scripts/crfutils.pyo +0 -0
- data/core/python-scripts/scripts/extract_feats_relations.pyo +0 -0
- data/core/python-scripts/scripts/extract_features.pyo +0 -0
- data/core/python-scripts/scripts/lexicons.pyo +0 -0
- data/core/python-scripts/scripts/link_entities_distance.pyo +0 -0
- data/core/python-scripts/scripts/relation_classifier.pyo +0 -0
- data/lib/opener/opinion_detectors/base.rb +7 -4
- data/lib/opener/opinion_detectors/base/version.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79fa0e700f6ba048c6f75dbbc469c3b9cfbd8fab
|
4
|
+
data.tar.gz: cd9a57b63b72a9aa26e5cd674122e81cf24deb75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5fa8ae55da335a24686f6ea27e9b1998a8578a8af57198e701cef1f14712176ad2a5261628079734abcb4b7584b9fe30cea7911488ed66bf1112c83786517bc
|
7
|
+
data.tar.gz: 6e6d92169df09a1cea035ac529e281c8a5d085ae98b7ecb022c079ea990a0a46df4a4818df888f3d781e4c699c1a17e24457c0a0dc7b72297b09060e4f9eaee9
|
data/bin/opinion-detector-base
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -59,7 +59,7 @@ module Opener
|
|
59
59
|
# process information.
|
60
60
|
#
|
61
61
|
# @param [String] input The input to tag.
|
62
|
-
# @return [
|
62
|
+
# @return [String]
|
63
63
|
#
|
64
64
|
def run(input)
|
65
65
|
language = language(input)
|
@@ -68,11 +68,14 @@ module Opener
|
|
68
68
|
options[:domain],
|
69
69
|
options[:resource_path]
|
70
70
|
)
|
71
|
+
|
71
72
|
stdout, stderr, process = capture(conf.config_file_path, input)
|
73
|
+
|
72
74
|
conf.close_config
|
73
|
-
|
74
|
-
|
75
|
-
|
75
|
+
|
76
|
+
raise stderr unless process.success?
|
77
|
+
|
78
|
+
return stdout
|
76
79
|
end
|
77
80
|
|
78
81
|
protected
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-opinion-detector-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
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-06-
|
11
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -112,14 +112,22 @@ files:
|
|
112
112
|
- core/python-scripts/run_basic.py
|
113
113
|
- core/python-scripts/run_experiment.sh
|
114
114
|
- core/python-scripts/scripts/__init__.py
|
115
|
+
- core/python-scripts/scripts/__init__.pyo
|
115
116
|
- core/python-scripts/scripts/config_manager.py
|
117
|
+
- core/python-scripts/scripts/config_manager.pyo
|
116
118
|
- core/python-scripts/scripts/crfutils.py
|
119
|
+
- core/python-scripts/scripts/crfutils.pyo
|
117
120
|
- core/python-scripts/scripts/extract_feats_relations.py
|
121
|
+
- core/python-scripts/scripts/extract_feats_relations.pyo
|
118
122
|
- core/python-scripts/scripts/extract_features.py
|
123
|
+
- core/python-scripts/scripts/extract_features.pyo
|
119
124
|
- core/python-scripts/scripts/feats_to_crf.exp.py
|
120
125
|
- core/python-scripts/scripts/lexicons.py
|
126
|
+
- core/python-scripts/scripts/lexicons.pyo
|
121
127
|
- core/python-scripts/scripts/link_entities_distance.py
|
128
|
+
- core/python-scripts/scripts/link_entities_distance.pyo
|
122
129
|
- core/python-scripts/scripts/relation_classifier.py
|
130
|
+
- core/python-scripts/scripts/relation_classifier.pyo
|
123
131
|
- core/python-scripts/train.py
|
124
132
|
- core/vendor/src/crfsuite/AUTHORS
|
125
133
|
- core/vendor/src/crfsuite/COPYING
|