ispras-api 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ispras-api/texterra/nlp_specs.rb +12 -12
- data/lib/ispras-api/version.rb +3 -3
- data/test/test_texterra_api.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b020e4ba0262e432405832a5c7b863d4e7a138db
|
4
|
+
data.tar.gz: 4c16a369d6c20145245078f84a4914d8f7bc6d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa4c7930cce79c114e1a875d9134aa9239767282ab2a91f4099704bdab191846ab4f1f84012ae0df4f55319b9160032f4932d6846b9c769fbc04fba14017e86e
|
7
|
+
data.tar.gz: 82a73cb7ad6325b6c236878f51069faab1ae1bc6e835ea64976ee2075dd350c06a64cbd810bbd94879a43aaccb90948f6efda9ecd8b287707cbb92bb106c298e
|
@@ -4,28 +4,28 @@ module TexterraNLPSpecs
|
|
4
4
|
languageDetection: {
|
5
5
|
path: 'nlp/language',
|
6
6
|
params: {
|
7
|
-
class: '
|
7
|
+
class: 'language',
|
8
8
|
filtering: 'KEEPING'
|
9
9
|
}
|
10
10
|
},
|
11
11
|
sentenceDetection: {
|
12
12
|
path: 'nlp/sentence',
|
13
13
|
params: {
|
14
|
-
class: '
|
14
|
+
class: 'sentence',
|
15
15
|
filtering: 'KEEPING'
|
16
16
|
}
|
17
17
|
},
|
18
18
|
tokenization: {
|
19
19
|
path: 'nlp/token',
|
20
20
|
params: {
|
21
|
-
class: '
|
21
|
+
class: 'token',
|
22
22
|
filtering: 'KEEPING'
|
23
23
|
}
|
24
24
|
},
|
25
25
|
lemmatization: {
|
26
26
|
path: 'nlp/lemma',
|
27
27
|
params: {
|
28
|
-
class: '
|
28
|
+
class: 'lemma',
|
29
29
|
filtering: 'KEEPING'
|
30
30
|
}
|
31
31
|
},
|
@@ -39,28 +39,28 @@ module TexterraNLPSpecs
|
|
39
39
|
spellingCorrection: {
|
40
40
|
path: 'nlp/spellingcorrection',
|
41
41
|
params: {
|
42
|
-
class: '
|
42
|
+
class: 'spelling-correction-token',
|
43
43
|
filtering: 'KEEPING'
|
44
44
|
}
|
45
45
|
},
|
46
46
|
namedEntities: {
|
47
47
|
path: 'nlp/namedentity',
|
48
48
|
params: {
|
49
|
-
class: '
|
49
|
+
class: 'named-entity',
|
50
50
|
filtering: 'KEEPING'
|
51
51
|
}
|
52
52
|
},
|
53
53
|
termDetection: {
|
54
54
|
path: 'nlp/term',
|
55
55
|
params: {
|
56
|
-
class: '
|
56
|
+
class: 'frame',
|
57
57
|
filtering: 'KEEPING'
|
58
58
|
}
|
59
59
|
},
|
60
60
|
disambiguation: {
|
61
61
|
path: 'nlp/disambiguation',
|
62
62
|
params: {
|
63
|
-
class: '
|
63
|
+
class: 'dmb-phrase',
|
64
64
|
filtering: 'KEEPING'
|
65
65
|
}
|
66
66
|
|
@@ -68,7 +68,7 @@ module TexterraNLPSpecs
|
|
68
68
|
keyConcepts: {
|
69
69
|
path: 'nlp/keyconcepts',
|
70
70
|
params: {
|
71
|
-
class: '
|
71
|
+
class: 'keyconcepts-sc',
|
72
72
|
filtering: 'KEEPING'
|
73
73
|
}
|
74
74
|
|
@@ -84,7 +84,7 @@ module TexterraNLPSpecs
|
|
84
84
|
subjectivityDetection: {
|
85
85
|
path: 'nlp/subjectivity',
|
86
86
|
params: {
|
87
|
-
class: '
|
87
|
+
class: 'sentiment-subjectivity',
|
88
88
|
filtering: 'KEEPING'
|
89
89
|
}
|
90
90
|
|
@@ -92,7 +92,7 @@ module TexterraNLPSpecs
|
|
92
92
|
polarityDetection: {
|
93
93
|
path: 'nlp/polarity',
|
94
94
|
params: {
|
95
|
-
class: '
|
95
|
+
class: 'sentiment-polarity',
|
96
96
|
filtering: 'KEEPING'
|
97
97
|
}
|
98
98
|
|
@@ -123,7 +123,7 @@ module TexterraNLPSpecs
|
|
123
123
|
syntaxDetection: {
|
124
124
|
path: 'nlp/syntax',
|
125
125
|
params: {
|
126
|
-
class: '
|
126
|
+
class: 'syntax-relation',
|
127
127
|
filtering: 'KEEPING'
|
128
128
|
}
|
129
129
|
}
|
data/lib/ispras-api/version.rb
CHANGED
data/test/test_texterra_api.rb
CHANGED
@@ -45,9 +45,7 @@ class TestTexterraAPI < Minitest::Test
|
|
45
45
|
|
46
46
|
def test_tweet_normalization
|
47
47
|
assert_instance_of Array, @texterra.tweet_normalization(@en_tweet)
|
48
|
-
|
49
|
-
@texterra.tweet_normalization(@ru_tweet)
|
50
|
-
end
|
48
|
+
assert_instance_of Array, @texterra.tweet_normalization(@ru_tweet)
|
51
49
|
end
|
52
50
|
|
53
51
|
def test_syntax_detection
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ispras-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Laguta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|