cloudmersive-nlp-api-client 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +162 -0
- data/Rakefile +8 -0
- data/cloudmersive-nlp-api-client.gemspec +45 -0
- data/docs/AnalyticsApi.md +283 -0
- data/docs/CheckSentenceRequest.md +8 -0
- data/docs/CheckSentenceResponse.md +9 -0
- data/docs/CheckWordRequest.md +8 -0
- data/docs/CheckWordResponse.md +9 -0
- data/docs/CorrectWordInSentence.md +10 -0
- data/docs/Entity.md +9 -0
- data/docs/ExtractEntitiesApi.md +63 -0
- data/docs/ExtractEntitiesRequest.md +8 -0
- data/docs/ExtractEntitiesResponse.md +9 -0
- data/docs/GetWordsRequest.md +8 -0
- data/docs/GetWordsResponse.md +8 -0
- data/docs/HateSpeechAnalysisRequest.md +8 -0
- data/docs/HateSpeechAnalysisResponse.md +10 -0
- data/docs/LanguageDetectionApi.md +63 -0
- data/docs/LanguageDetectionRequest.md +8 -0
- data/docs/LanguageDetectionResponse.md +10 -0
- data/docs/LanguageTranslationApi.md +338 -0
- data/docs/LanguageTranslationRequest.md +8 -0
- data/docs/LanguageTranslationResponse.md +10 -0
- data/docs/ParseApi.md +63 -0
- data/docs/ParseRequest.md +8 -0
- data/docs/ParseResponse.md +8 -0
- data/docs/PosRequest.md +8 -0
- data/docs/PosResponse.md +8 -0
- data/docs/PosSentence.md +8 -0
- data/docs/PosTaggedWord.md +9 -0
- data/docs/PosTaggerApi.md +338 -0
- data/docs/ProfanityAnalysisRequest.md +8 -0
- data/docs/ProfanityAnalysisResponse.md +10 -0
- data/docs/RephraseApi.md +63 -0
- data/docs/RephraseRequest.md +9 -0
- data/docs/RephraseResponse.md +10 -0
- data/docs/RephrasedSentence.md +10 -0
- data/docs/RephrasedSentenceOption.md +9 -0
- data/docs/SegmentationApi.md +118 -0
- data/docs/SentenceSegmentationRequest.md +8 -0
- data/docs/SentenceSegmentationResponse.md +10 -0
- data/docs/SentimentAnalysisRequest.md +8 -0
- data/docs/SentimentAnalysisResponse.md +11 -0
- data/docs/SimilarityAnalysisRequest.md +9 -0
- data/docs/SimilarityAnalysisResponse.md +10 -0
- data/docs/SpellcheckApi.md +118 -0
- data/docs/SubjectivityAnalysisRequest.md +8 -0
- data/docs/SubjectivityAnalysisResponse.md +10 -0
- data/docs/WordPosition.md +11 -0
- data/git_push.sh +55 -0
- data/lib/cloudmersive-nlp-api-client.rb +85 -0
- data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +293 -0
- data/lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb +77 -0
- data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +77 -0
- data/lib/cloudmersive-nlp-api-client/api/language_translation_api.rb +347 -0
- data/lib/cloudmersive-nlp-api-client/api/parse_api.rb +77 -0
- data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +347 -0
- data/lib/cloudmersive-nlp-api-client/api/rephrase_api.rb +77 -0
- data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +131 -0
- data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +131 -0
- data/lib/cloudmersive-nlp-api-client/api_client.rb +391 -0
- data/lib/cloudmersive-nlp-api-client/api_error.rb +38 -0
- data/lib/cloudmersive-nlp-api-client/configuration.rb +209 -0
- data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb +198 -0
- data/lib/cloudmersive-nlp-api-client/models/check_word_request.rb +184 -0
- data/lib/cloudmersive-nlp-api-client/models/check_word_response.rb +198 -0
- data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb +208 -0
- data/lib/cloudmersive-nlp-api-client/models/entity.rb +193 -0
- data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +197 -0
- data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +184 -0
- data/lib/cloudmersive-nlp-api-client/models/get_words_response.rb +188 -0
- data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb +206 -0
- data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +206 -0
- data/lib/cloudmersive-nlp-api-client/models/language_translation_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/language_translation_response.rb +206 -0
- data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +188 -0
- data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +188 -0
- data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +196 -0
- data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb +206 -0
- data/lib/cloudmersive-nlp-api-client/models/rephrase_request.rb +196 -0
- data/lib/cloudmersive-nlp-api-client/models/rephrase_response.rb +208 -0
- data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb +208 -0
- data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb +196 -0
- data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +184 -0
- data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +204 -0
- data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb +216 -0
- data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_request.rb +196 -0
- data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb +206 -0
- data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb +186 -0
- data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb +206 -0
- data/lib/cloudmersive-nlp-api-client/models/word_position.rb +215 -0
- data/lib/cloudmersive-nlp-api-client/version.rb +15 -0
- data/spec/api/analytics_api_spec.rb +95 -0
- data/spec/api/extract_entities_api_spec.rb +47 -0
- data/spec/api/language_detection_api_spec.rb +47 -0
- data/spec/api/language_translation_api_spec.rb +107 -0
- data/spec/api/parse_api_spec.rb +47 -0
- data/spec/api/pos_tagger_api_spec.rb +107 -0
- data/spec/api/rephrase_api_spec.rb +47 -0
- data/spec/api/segmentation_api_spec.rb +59 -0
- data/spec/api/spellcheck_api_spec.rb +59 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/check_sentence_request_spec.rb +41 -0
- data/spec/models/check_sentence_response_spec.rb +47 -0
- data/spec/models/check_word_request_spec.rb +41 -0
- data/spec/models/check_word_response_spec.rb +47 -0
- data/spec/models/correct_word_in_sentence_spec.rb +53 -0
- data/spec/models/entity_spec.rb +47 -0
- data/spec/models/extract_entities_request_spec.rb +41 -0
- data/spec/models/extract_entities_response_spec.rb +47 -0
- data/spec/models/get_words_request_spec.rb +41 -0
- data/spec/models/get_words_response_spec.rb +41 -0
- data/spec/models/hate_speech_analysis_request_spec.rb +41 -0
- data/spec/models/hate_speech_analysis_response_spec.rb +53 -0
- data/spec/models/language_detection_request_spec.rb +41 -0
- data/spec/models/language_detection_response_spec.rb +53 -0
- data/spec/models/language_translation_request_spec.rb +41 -0
- data/spec/models/language_translation_response_spec.rb +53 -0
- data/spec/models/parse_request_spec.rb +41 -0
- data/spec/models/parse_response_spec.rb +41 -0
- data/spec/models/pos_request_spec.rb +41 -0
- data/spec/models/pos_response_spec.rb +41 -0
- data/spec/models/pos_sentence_spec.rb +41 -0
- data/spec/models/pos_tagged_word_spec.rb +47 -0
- data/spec/models/profanity_analysis_request_spec.rb +41 -0
- data/spec/models/profanity_analysis_response_spec.rb +53 -0
- data/spec/models/rephrase_request_spec.rb +47 -0
- data/spec/models/rephrase_response_spec.rb +53 -0
- data/spec/models/rephrased_sentence_option_spec.rb +47 -0
- data/spec/models/rephrased_sentence_spec.rb +53 -0
- data/spec/models/sentence_segmentation_request_spec.rb +41 -0
- data/spec/models/sentence_segmentation_response_spec.rb +53 -0
- data/spec/models/sentiment_analysis_request_spec.rb +41 -0
- data/spec/models/sentiment_analysis_response_spec.rb +59 -0
- data/spec/models/similarity_analysis_request_spec.rb +47 -0
- data/spec/models/similarity_analysis_response_spec.rb +53 -0
- data/spec/models/subjectivity_analysis_request_spec.rb +41 -0
- data/spec/models/subjectivity_analysis_response_spec.rb +53 -0
- data/spec/models/word_position_spec.rb +59 -0
- data/spec/spec_helper.rb +111 -0
- metadata +154 -3
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#nlpapiv2
|
3
|
+
|
4
|
+
#The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveNlpApiClient::SimilarityAnalysisRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SimilarityAnalysisRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::SimilarityAnalysisRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SimilarityAnalysisRequest' do
|
31
|
+
it 'should create an instance of SimilarityAnalysisRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SimilarityAnalysisRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "text_to_analyze1"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "text_to_analyze2"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#nlpapiv2
|
3
|
+
|
4
|
+
#The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveNlpApiClient::SimilarityAnalysisResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SimilarityAnalysisResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::SimilarityAnalysisResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SimilarityAnalysisResponse' do
|
31
|
+
it 'should create an instance of SimilarityAnalysisResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SimilarityAnalysisResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "similarity_score_result"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "sentence_count"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#nlpapiv2
|
3
|
+
|
4
|
+
#The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveNlpApiClient::SubjectivityAnalysisRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SubjectivityAnalysisRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::SubjectivityAnalysisRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SubjectivityAnalysisRequest' do
|
31
|
+
it 'should create an instance of SubjectivityAnalysisRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SubjectivityAnalysisRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "text_to_analyze"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#nlpapiv2
|
3
|
+
|
4
|
+
#The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveNlpApiClient::SubjectivityAnalysisResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SubjectivityAnalysisResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::SubjectivityAnalysisResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SubjectivityAnalysisResponse' do
|
31
|
+
it 'should create an instance of SubjectivityAnalysisResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SubjectivityAnalysisResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "subjectivity_score_result"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "sentence_count"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#nlpapiv2
|
3
|
+
|
4
|
+
#The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveNlpApiClient::WordPosition
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WordPosition' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::WordPosition.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WordPosition' do
|
31
|
+
it 'should create an instance of WordPosition' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::WordPosition)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "word"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "word_index"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "start_position"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "end_position"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
=begin
|
2
|
+
#nlpapiv2
|
3
|
+
|
4
|
+
#The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# load the gem
|
14
|
+
require 'cloudmersive-nlp-api-client'
|
15
|
+
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
20
|
+
# files.
|
21
|
+
#
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
28
|
+
# it.
|
29
|
+
#
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
31
|
+
# users commonly want.
|
32
|
+
#
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
37
|
+
# assertions if you prefer.
|
38
|
+
config.expect_with :rspec do |expectations|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
41
|
+
# defined using `chain`, e.g.:
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
44
|
+
# ...rather than:
|
45
|
+
# # => "be bigger than 2"
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
47
|
+
end
|
48
|
+
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
51
|
+
config.mock_with :rspec do |mocks|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
53
|
+
# a real object. This is generally recommended, and will default to
|
54
|
+
# `true` in RSpec 4.
|
55
|
+
mocks.verify_partial_doubles = true
|
56
|
+
end
|
57
|
+
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
60
|
+
=begin
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
64
|
+
# get run.
|
65
|
+
config.filter_run :focus
|
66
|
+
config.run_all_when_everything_filtered = true
|
67
|
+
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
70
|
+
# you configure your source control system to ignore this file.
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
72
|
+
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
74
|
+
# recommended. For more details, see:
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
78
|
+
config.disable_monkey_patching!
|
79
|
+
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
81
|
+
# be too noisy due to issues in dependencies.
|
82
|
+
config.warnings = true
|
83
|
+
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
86
|
+
# individual spec file.
|
87
|
+
if config.files_to_run.one?
|
88
|
+
# Use the documentation formatter for detailed output,
|
89
|
+
# unless a formatter has already been configured
|
90
|
+
# (e.g. via a command-line flag).
|
91
|
+
config.default_formatter = 'doc'
|
92
|
+
end
|
93
|
+
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
95
|
+
# end of the spec run, to help surface which specs are running
|
96
|
+
# particularly slow.
|
97
|
+
config.profile_examples = 10
|
98
|
+
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
101
|
+
# the seed, which is printed after each run.
|
102
|
+
# --seed 1234
|
103
|
+
config.order = :random
|
104
|
+
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
108
|
+
# as the one that triggered the failure.
|
109
|
+
Kernel.srand config.seed
|
110
|
+
=end
|
111
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-nlp-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -198,7 +198,158 @@ email:
|
|
198
198
|
executables: []
|
199
199
|
extensions: []
|
200
200
|
extra_rdoc_files: []
|
201
|
-
files:
|
201
|
+
files:
|
202
|
+
- "./Gemfile"
|
203
|
+
- "./README.md"
|
204
|
+
- "./Rakefile"
|
205
|
+
- "./cloudmersive-nlp-api-client.gemspec"
|
206
|
+
- "./docs/AnalyticsApi.md"
|
207
|
+
- "./docs/CheckSentenceRequest.md"
|
208
|
+
- "./docs/CheckSentenceResponse.md"
|
209
|
+
- "./docs/CheckWordRequest.md"
|
210
|
+
- "./docs/CheckWordResponse.md"
|
211
|
+
- "./docs/CorrectWordInSentence.md"
|
212
|
+
- "./docs/Entity.md"
|
213
|
+
- "./docs/ExtractEntitiesApi.md"
|
214
|
+
- "./docs/ExtractEntitiesRequest.md"
|
215
|
+
- "./docs/ExtractEntitiesResponse.md"
|
216
|
+
- "./docs/GetWordsRequest.md"
|
217
|
+
- "./docs/GetWordsResponse.md"
|
218
|
+
- "./docs/HateSpeechAnalysisRequest.md"
|
219
|
+
- "./docs/HateSpeechAnalysisResponse.md"
|
220
|
+
- "./docs/LanguageDetectionApi.md"
|
221
|
+
- "./docs/LanguageDetectionRequest.md"
|
222
|
+
- "./docs/LanguageDetectionResponse.md"
|
223
|
+
- "./docs/LanguageTranslationApi.md"
|
224
|
+
- "./docs/LanguageTranslationRequest.md"
|
225
|
+
- "./docs/LanguageTranslationResponse.md"
|
226
|
+
- "./docs/ParseApi.md"
|
227
|
+
- "./docs/ParseRequest.md"
|
228
|
+
- "./docs/ParseResponse.md"
|
229
|
+
- "./docs/PosRequest.md"
|
230
|
+
- "./docs/PosResponse.md"
|
231
|
+
- "./docs/PosSentence.md"
|
232
|
+
- "./docs/PosTaggedWord.md"
|
233
|
+
- "./docs/PosTaggerApi.md"
|
234
|
+
- "./docs/ProfanityAnalysisRequest.md"
|
235
|
+
- "./docs/ProfanityAnalysisResponse.md"
|
236
|
+
- "./docs/RephraseApi.md"
|
237
|
+
- "./docs/RephraseRequest.md"
|
238
|
+
- "./docs/RephraseResponse.md"
|
239
|
+
- "./docs/RephrasedSentence.md"
|
240
|
+
- "./docs/RephrasedSentenceOption.md"
|
241
|
+
- "./docs/SegmentationApi.md"
|
242
|
+
- "./docs/SentenceSegmentationRequest.md"
|
243
|
+
- "./docs/SentenceSegmentationResponse.md"
|
244
|
+
- "./docs/SentimentAnalysisRequest.md"
|
245
|
+
- "./docs/SentimentAnalysisResponse.md"
|
246
|
+
- "./docs/SimilarityAnalysisRequest.md"
|
247
|
+
- "./docs/SimilarityAnalysisResponse.md"
|
248
|
+
- "./docs/SpellcheckApi.md"
|
249
|
+
- "./docs/SubjectivityAnalysisRequest.md"
|
250
|
+
- "./docs/SubjectivityAnalysisResponse.md"
|
251
|
+
- "./docs/WordPosition.md"
|
252
|
+
- "./git_push.sh"
|
253
|
+
- "./lib/cloudmersive-nlp-api-client.rb"
|
254
|
+
- "./lib/cloudmersive-nlp-api-client/api/analytics_api.rb"
|
255
|
+
- "./lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb"
|
256
|
+
- "./lib/cloudmersive-nlp-api-client/api/language_detection_api.rb"
|
257
|
+
- "./lib/cloudmersive-nlp-api-client/api/language_translation_api.rb"
|
258
|
+
- "./lib/cloudmersive-nlp-api-client/api/parse_api.rb"
|
259
|
+
- "./lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb"
|
260
|
+
- "./lib/cloudmersive-nlp-api-client/api/rephrase_api.rb"
|
261
|
+
- "./lib/cloudmersive-nlp-api-client/api/segmentation_api.rb"
|
262
|
+
- "./lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb"
|
263
|
+
- "./lib/cloudmersive-nlp-api-client/api_client.rb"
|
264
|
+
- "./lib/cloudmersive-nlp-api-client/api_error.rb"
|
265
|
+
- "./lib/cloudmersive-nlp-api-client/configuration.rb"
|
266
|
+
- "./lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb"
|
267
|
+
- "./lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb"
|
268
|
+
- "./lib/cloudmersive-nlp-api-client/models/check_word_request.rb"
|
269
|
+
- "./lib/cloudmersive-nlp-api-client/models/check_word_response.rb"
|
270
|
+
- "./lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb"
|
271
|
+
- "./lib/cloudmersive-nlp-api-client/models/entity.rb"
|
272
|
+
- "./lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb"
|
273
|
+
- "./lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb"
|
274
|
+
- "./lib/cloudmersive-nlp-api-client/models/get_words_request.rb"
|
275
|
+
- "./lib/cloudmersive-nlp-api-client/models/get_words_response.rb"
|
276
|
+
- "./lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_request.rb"
|
277
|
+
- "./lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb"
|
278
|
+
- "./lib/cloudmersive-nlp-api-client/models/language_detection_request.rb"
|
279
|
+
- "./lib/cloudmersive-nlp-api-client/models/language_detection_response.rb"
|
280
|
+
- "./lib/cloudmersive-nlp-api-client/models/language_translation_request.rb"
|
281
|
+
- "./lib/cloudmersive-nlp-api-client/models/language_translation_response.rb"
|
282
|
+
- "./lib/cloudmersive-nlp-api-client/models/parse_request.rb"
|
283
|
+
- "./lib/cloudmersive-nlp-api-client/models/parse_response.rb"
|
284
|
+
- "./lib/cloudmersive-nlp-api-client/models/pos_request.rb"
|
285
|
+
- "./lib/cloudmersive-nlp-api-client/models/pos_response.rb"
|
286
|
+
- "./lib/cloudmersive-nlp-api-client/models/pos_sentence.rb"
|
287
|
+
- "./lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb"
|
288
|
+
- "./lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb"
|
289
|
+
- "./lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb"
|
290
|
+
- "./lib/cloudmersive-nlp-api-client/models/rephrase_request.rb"
|
291
|
+
- "./lib/cloudmersive-nlp-api-client/models/rephrase_response.rb"
|
292
|
+
- "./lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb"
|
293
|
+
- "./lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb"
|
294
|
+
- "./lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb"
|
295
|
+
- "./lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb"
|
296
|
+
- "./lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb"
|
297
|
+
- "./lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb"
|
298
|
+
- "./lib/cloudmersive-nlp-api-client/models/similarity_analysis_request.rb"
|
299
|
+
- "./lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb"
|
300
|
+
- "./lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb"
|
301
|
+
- "./lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb"
|
302
|
+
- "./lib/cloudmersive-nlp-api-client/models/word_position.rb"
|
303
|
+
- "./lib/cloudmersive-nlp-api-client/version.rb"
|
304
|
+
- "./spec/api/analytics_api_spec.rb"
|
305
|
+
- "./spec/api/extract_entities_api_spec.rb"
|
306
|
+
- "./spec/api/language_detection_api_spec.rb"
|
307
|
+
- "./spec/api/language_translation_api_spec.rb"
|
308
|
+
- "./spec/api/parse_api_spec.rb"
|
309
|
+
- "./spec/api/pos_tagger_api_spec.rb"
|
310
|
+
- "./spec/api/rephrase_api_spec.rb"
|
311
|
+
- "./spec/api/segmentation_api_spec.rb"
|
312
|
+
- "./spec/api/spellcheck_api_spec.rb"
|
313
|
+
- "./spec/api_client_spec.rb"
|
314
|
+
- "./spec/configuration_spec.rb"
|
315
|
+
- "./spec/models/check_sentence_request_spec.rb"
|
316
|
+
- "./spec/models/check_sentence_response_spec.rb"
|
317
|
+
- "./spec/models/check_word_request_spec.rb"
|
318
|
+
- "./spec/models/check_word_response_spec.rb"
|
319
|
+
- "./spec/models/correct_word_in_sentence_spec.rb"
|
320
|
+
- "./spec/models/entity_spec.rb"
|
321
|
+
- "./spec/models/extract_entities_request_spec.rb"
|
322
|
+
- "./spec/models/extract_entities_response_spec.rb"
|
323
|
+
- "./spec/models/get_words_request_spec.rb"
|
324
|
+
- "./spec/models/get_words_response_spec.rb"
|
325
|
+
- "./spec/models/hate_speech_analysis_request_spec.rb"
|
326
|
+
- "./spec/models/hate_speech_analysis_response_spec.rb"
|
327
|
+
- "./spec/models/language_detection_request_spec.rb"
|
328
|
+
- "./spec/models/language_detection_response_spec.rb"
|
329
|
+
- "./spec/models/language_translation_request_spec.rb"
|
330
|
+
- "./spec/models/language_translation_response_spec.rb"
|
331
|
+
- "./spec/models/parse_request_spec.rb"
|
332
|
+
- "./spec/models/parse_response_spec.rb"
|
333
|
+
- "./spec/models/pos_request_spec.rb"
|
334
|
+
- "./spec/models/pos_response_spec.rb"
|
335
|
+
- "./spec/models/pos_sentence_spec.rb"
|
336
|
+
- "./spec/models/pos_tagged_word_spec.rb"
|
337
|
+
- "./spec/models/profanity_analysis_request_spec.rb"
|
338
|
+
- "./spec/models/profanity_analysis_response_spec.rb"
|
339
|
+
- "./spec/models/rephrase_request_spec.rb"
|
340
|
+
- "./spec/models/rephrase_response_spec.rb"
|
341
|
+
- "./spec/models/rephrased_sentence_option_spec.rb"
|
342
|
+
- "./spec/models/rephrased_sentence_spec.rb"
|
343
|
+
- "./spec/models/sentence_segmentation_request_spec.rb"
|
344
|
+
- "./spec/models/sentence_segmentation_response_spec.rb"
|
345
|
+
- "./spec/models/sentiment_analysis_request_spec.rb"
|
346
|
+
- "./spec/models/sentiment_analysis_response_spec.rb"
|
347
|
+
- "./spec/models/similarity_analysis_request_spec.rb"
|
348
|
+
- "./spec/models/similarity_analysis_response_spec.rb"
|
349
|
+
- "./spec/models/subjectivity_analysis_request_spec.rb"
|
350
|
+
- "./spec/models/subjectivity_analysis_response_spec.rb"
|
351
|
+
- "./spec/models/word_position_spec.rb"
|
352
|
+
- "./spec/spec_helper.rb"
|
202
353
|
homepage: https://www.cloudmersive.com/nlp-api
|
203
354
|
licenses:
|
204
355
|
- Apache 2.0
|