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,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::LanguageDetectionResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'LanguageDetectionResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::LanguageDetectionResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of LanguageDetectionResponse' do
|
31
|
+
it 'should create an instance of LanguageDetectionResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::LanguageDetectionResponse)
|
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 "detected_language_three_letter_code"' 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 "detected_language_full_name"' 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::LanguageTranslationRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'LanguageTranslationRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::LanguageTranslationRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of LanguageTranslationRequest' do
|
31
|
+
it 'should create an instance of LanguageTranslationRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::LanguageTranslationRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "text_to_translate"' 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::LanguageTranslationResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'LanguageTranslationResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::LanguageTranslationResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of LanguageTranslationResponse' do
|
31
|
+
it 'should create an instance of LanguageTranslationResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::LanguageTranslationResponse)
|
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 "translated_text_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::ParseRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ParseRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::ParseRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ParseRequest' do
|
31
|
+
it 'should create an instance of ParseRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ParseRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "input_string"' 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,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::ParseResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ParseResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::ParseResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ParseResponse' do
|
31
|
+
it 'should create an instance of ParseResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ParseResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "parse_tree"' 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,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::PosRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PosRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::PosRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PosRequest' do
|
31
|
+
it 'should create an instance of PosRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "input_text"' 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,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::PosResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PosResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::PosResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PosResponse' do
|
31
|
+
it 'should create an instance of PosResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "tagged_sentences"' 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,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::PosSentence
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PosSentence' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::PosSentence.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PosSentence' do
|
31
|
+
it 'should create an instance of PosSentence' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosSentence)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "words"' 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,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::PosTaggedWord
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'PosTaggedWord' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::PosTaggedWord.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of PosTaggedWord' do
|
31
|
+
it 'should create an instance of PosTaggedWord' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosTaggedWord)
|
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 "tag"' 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,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::ProfanityAnalysisRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ProfanityAnalysisRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveNlpApiClient::ProfanityAnalysisRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ProfanityAnalysisRequest' do
|
31
|
+
it 'should create an instance of ProfanityAnalysisRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ProfanityAnalysisRequest)
|
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
|