aylien_text_api 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -1
- data/README.md +1 -1
- data/aylien_text_api.gemspec +2 -2
- data/lib/aylien_text_api/client.rb +41 -12
- data/lib/aylien_text_api/configuration.rb +2 -1
- data/lib/aylien_text_api/connection.rb +2 -2
- data/lib/aylien_text_api/version.rb +1 -1
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml +18 -9
- data/spec/fixtures/aylien_text_api/client/classify_with_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/classify_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml +38 -0
- data/spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml +57 -0
- data/spec/fixtures/aylien_text_api/client/combined_with_text.yml +70 -0
- data/spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml +42 -0
- data/spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml +315 -0
- data/spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml +70 -0
- data/spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml +315 -0
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml +18 -9
- data/spec/fixtures/aylien_text_api/client/concepts_with_text.yml +42 -13
- data/spec/fixtures/aylien_text_api/client/concepts_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/concepts_with_valid_url.yml +89 -100
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_text.yml +42 -13
- data/spec/fixtures/aylien_text_api/client/concepts_with_value_as_valid_url.yml +89 -100
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/entities_with_invalid_params.yml +9 -9
- data/spec/fixtures/aylien_text_api/client/entities_with_text.yml +19 -12
- data/spec/fixtures/aylien_text_api/client/entities_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/entities_with_valid_url.yml +459 -456
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_text.yml +19 -12
- data/spec/fixtures/aylien_text_api/client/entities_with_value_as_valid_url.yml +459 -456
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/extract_with_invalid_params.yml +19 -10
- data/spec/fixtures/aylien_text_api/client/extract_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/extract_with_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_text.yml +18 -9
- data/spec/fixtures/aylien_text_api/client/extract_with_value_as_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/hashtags_with_invalid_params.yml +18 -9
- data/spec/fixtures/aylien_text_api/client/hashtags_with_text.yml +10 -11
- data/spec/fixtures/aylien_text_api/client/hashtags_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/hashtags_with_valid_url.yml +12 -12
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_text.yml +10 -11
- data/spec/fixtures/aylien_text_api/client/hashtags_with_value_as_valid_url.yml +12 -12
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/image_tags_with_invalid_params.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/image_tags_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/image_tags_with_valid_url.yml +10 -9
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/image_tags_with_value_as_valid_url.yml +10 -9
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/language_with_invalid_params.yml +18 -9
- data/spec/fixtures/aylien_text_api/client/language_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/language_with_valid_text.yml +9 -9
- data/spec/fixtures/aylien_text_api/client/language_with_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_text.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/language_with_value_as_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/microformats_with_invalid_params.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/microformats_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/microformats_with_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/microformats_with_value_as_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/related_with_invalid_params.yml +24 -10
- data/spec/fixtures/aylien_text_api/client/related_with_phrase.yml +47 -47
- data/spec/fixtures/aylien_text_api/client/related_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_phrase.yml +47 -47
- data/spec/fixtures/aylien_text_api/client/related_with_value_as_valid_url.yml +23 -9
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/sentiment_with_invalid_params.yml +18 -9
- data/spec/fixtures/aylien_text_api/client/sentiment_with_text.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/sentiment_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/sentiment_with_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_text.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/sentiment_with_value_as_valid_url.yml +8 -8
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/summarize_with_invalid_params.yml +23 -10
- data/spec/fixtures/aylien_text_api/client/summarize_with_title_and_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/summarize_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/summarize_with_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_title.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_text_and_without_title.yml +18 -10
- data/spec/fixtures/aylien_text_api/client/summarize_with_value_as_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_client.yml +3 -3
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_invalid_params.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_unauthenticated_client.yml +5 -5
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_valid_url.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_text.yml +7 -7
- data/spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml +7 -7
- data/spec/lib/aylien_text_api/client_spec.rb +1 -0
- data/spec/lib/aylien_text_api/combined.rb +88 -0
- metadata +25 -9
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aylien_text_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aylien Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -67,9 +67,9 @@ dependencies:
|
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '1.20'
|
70
|
-
description:
|
71
|
-
|
72
|
-
|
70
|
+
description: AYLIEN Text Analysis API is a package of Natural Language Processing
|
71
|
+
and Machine Learning-powered tools for analyzing and extracting various kinds of
|
72
|
+
information from text and images.
|
73
73
|
email:
|
74
74
|
- hello@aylien.com
|
75
75
|
- hamed.r.nik@gmail.com
|
@@ -98,6 +98,13 @@ files:
|
|
98
98
|
- spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml
|
99
99
|
- spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml
|
100
100
|
- spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml
|
101
|
+
- spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml
|
102
|
+
- spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml
|
103
|
+
- spec/fixtures/aylien_text_api/client/combined_with_text.yml
|
104
|
+
- spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml
|
105
|
+
- spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml
|
106
|
+
- spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml
|
107
|
+
- spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml
|
101
108
|
- spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml
|
102
109
|
- spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml
|
103
110
|
- spec/fixtures/aylien_text_api/client/concepts_with_text.yml
|
@@ -173,6 +180,7 @@ files:
|
|
173
180
|
- spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml
|
174
181
|
- spec/lib/aylien_text_api/classify.rb
|
175
182
|
- spec/lib/aylien_text_api/client_spec.rb
|
183
|
+
- spec/lib/aylien_text_api/combined.rb
|
176
184
|
- spec/lib/aylien_text_api/concepts.rb
|
177
185
|
- spec/lib/aylien_text_api/entities.rb
|
178
186
|
- spec/lib/aylien_text_api/extract.rb
|
@@ -205,12 +213,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
213
|
version: '0'
|
206
214
|
requirements: []
|
207
215
|
rubyforge_project:
|
208
|
-
rubygems_version: 2.4.
|
216
|
+
rubygems_version: 2.4.8
|
209
217
|
signing_key:
|
210
218
|
specification_version: 4
|
211
|
-
summary:
|
212
|
-
|
213
|
-
|
219
|
+
summary: AYLIEN Text Analysis API is a package of Natural Language Processing and
|
220
|
+
Machine Learning-powered tools for analyzing and extracting various kinds of information
|
221
|
+
from text and images.
|
214
222
|
test_files:
|
215
223
|
- spec/fixtures/aylien_text_api/client/classify_with_invalid_client.yml
|
216
224
|
- spec/fixtures/aylien_text_api/client/classify_with_invalid_params.yml
|
@@ -219,6 +227,13 @@ test_files:
|
|
219
227
|
- spec/fixtures/aylien_text_api/client/classify_with_valid_url.yml
|
220
228
|
- spec/fixtures/aylien_text_api/client/classify_with_value_as_text.yml
|
221
229
|
- spec/fixtures/aylien_text_api/client/classify_with_value_as_valid_url.yml
|
230
|
+
- spec/fixtures/aylien_text_api/client/combined_with_invalid_client.yml
|
231
|
+
- spec/fixtures/aylien_text_api/client/combined_with_invalid_params.yml
|
232
|
+
- spec/fixtures/aylien_text_api/client/combined_with_text.yml
|
233
|
+
- spec/fixtures/aylien_text_api/client/combined_with_unauthenticated_client.yml
|
234
|
+
- spec/fixtures/aylien_text_api/client/combined_with_valid_url.yml
|
235
|
+
- spec/fixtures/aylien_text_api/client/combined_with_value_as_text.yml
|
236
|
+
- spec/fixtures/aylien_text_api/client/combined_with_value_as_valid_url.yml
|
222
237
|
- spec/fixtures/aylien_text_api/client/concepts_with_invalid_client.yml
|
223
238
|
- spec/fixtures/aylien_text_api/client/concepts_with_invalid_params.yml
|
224
239
|
- spec/fixtures/aylien_text_api/client/concepts_with_text.yml
|
@@ -294,6 +309,7 @@ test_files:
|
|
294
309
|
- spec/fixtures/aylien_text_api/client/unsupervised_classify_with_value_as_valid_url.yml
|
295
310
|
- spec/lib/aylien_text_api/classify.rb
|
296
311
|
- spec/lib/aylien_text_api/client_spec.rb
|
312
|
+
- spec/lib/aylien_text_api/combined.rb
|
297
313
|
- spec/lib/aylien_text_api/concepts.rb
|
298
314
|
- spec/lib/aylien_text_api/entities.rb
|
299
315
|
- spec/lib/aylien_text_api/extract.rb
|