cloudmersive-nlp-api-client 2.0.6 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- metadata +3 -136
- data/Gemfile +0 -7
- data/README.md +0 -151
- data/Rakefile +0 -8
- data/cloudmersive-nlp-api-client.gemspec +0 -45
- data/docs/AnalyticsApi.md +0 -118
- data/docs/CheckSentenceRequest.md +0 -8
- data/docs/CheckSentenceResponse.md +0 -9
- data/docs/CheckWordRequest.md +0 -8
- data/docs/CheckWordResponse.md +0 -9
- data/docs/CorrectWordInSentence.md +0 -10
- data/docs/Entity.md +0 -9
- data/docs/ExtractEntitiesApi.md +0 -63
- data/docs/ExtractEntitiesRequest.md +0 -8
- data/docs/ExtractEntitiesResponse.md +0 -9
- data/docs/GetWordsRequest.md +0 -8
- data/docs/GetWordsResponse.md +0 -8
- data/docs/LanguageDetectionApi.md +0 -63
- data/docs/LanguageDetectionRequest.md +0 -8
- data/docs/LanguageDetectionResponse.md +0 -10
- data/docs/LanguageTranslationApi.md +0 -228
- data/docs/LanguageTranslationRequest.md +0 -8
- data/docs/LanguageTranslationResponse.md +0 -10
- data/docs/ParseApi.md +0 -63
- data/docs/ParseRequest.md +0 -8
- data/docs/ParseResponse.md +0 -8
- data/docs/PosRequest.md +0 -8
- data/docs/PosResponse.md +0 -8
- data/docs/PosSentence.md +0 -8
- data/docs/PosTaggedWord.md +0 -9
- data/docs/PosTaggerApi.md +0 -338
- data/docs/ProfanityAnalysisRequest.md +0 -8
- data/docs/ProfanityAnalysisResponse.md +0 -10
- data/docs/RephraseApi.md +0 -63
- data/docs/RephraseRequest.md +0 -9
- data/docs/RephraseResponse.md +0 -10
- data/docs/RephrasedSentence.md +0 -10
- data/docs/RephrasedSentenceOption.md +0 -9
- data/docs/SegmentationApi.md +0 -118
- data/docs/SentenceSegmentationRequest.md +0 -8
- data/docs/SentenceSegmentationResponse.md +0 -10
- data/docs/SentimentAnalysisRequest.md +0 -8
- data/docs/SentimentAnalysisResponse.md +0 -11
- data/docs/SpellcheckApi.md +0 -118
- data/docs/WordPosition.md +0 -11
- data/git_push.sh +0 -55
- data/lib/cloudmersive-nlp-api-client.rb +0 -79
- data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +0 -133
- data/lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/language_translation_api.rb +0 -243
- data/lib/cloudmersive-nlp-api-client/api/parse_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +0 -353
- data/lib/cloudmersive-nlp-api-client/api/rephrase_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +0 -133
- data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +0 -133
- data/lib/cloudmersive-nlp-api-client/api_client.rb +0 -389
- data/lib/cloudmersive-nlp-api-client/api_error.rb +0 -38
- data/lib/cloudmersive-nlp-api-client/configuration.rb +0 -209
- data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb +0 -201
- data/lib/cloudmersive-nlp-api-client/models/check_word_request.rb +0 -188
- data/lib/cloudmersive-nlp-api-client/models/check_word_response.rb +0 -201
- data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb +0 -211
- data/lib/cloudmersive-nlp-api-client/models/entity.rb +0 -197
- data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +0 -200
- data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +0 -188
- data/lib/cloudmersive-nlp-api-client/models/get_words_response.rb +0 -191
- data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +0 -209
- data/lib/cloudmersive-nlp-api-client/models/language_translation_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/language_translation_response.rb +0 -209
- data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +0 -191
- data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +0 -191
- data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +0 -199
- data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb +0 -209
- data/lib/cloudmersive-nlp-api-client/models/rephrase_request.rb +0 -199
- data/lib/cloudmersive-nlp-api-client/models/rephrase_response.rb +0 -211
- data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb +0 -211
- data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb +0 -199
- data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +0 -188
- data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +0 -208
- data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb +0 -219
- data/lib/cloudmersive-nlp-api-client/models/word_position.rb +0 -219
- data/lib/cloudmersive-nlp-api-client/version.rb +0 -15
- data/spec/api/analytics_api_spec.rb +0 -59
- data/spec/api/extract_entities_api_spec.rb +0 -47
- data/spec/api/language_detection_api_spec.rb +0 -47
- data/spec/api/language_translation_api_spec.rb +0 -83
- data/spec/api/parse_api_spec.rb +0 -47
- data/spec/api/pos_tagger_api_spec.rb +0 -107
- data/spec/api/rephrase_api_spec.rb +0 -47
- data/spec/api/segmentation_api_spec.rb +0 -59
- data/spec/api/spellcheck_api_spec.rb +0 -59
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/check_sentence_request_spec.rb +0 -42
- data/spec/models/check_sentence_response_spec.rb +0 -48
- data/spec/models/check_word_request_spec.rb +0 -42
- data/spec/models/check_word_response_spec.rb +0 -48
- data/spec/models/correct_word_in_sentence_spec.rb +0 -54
- data/spec/models/entity_spec.rb +0 -48
- data/spec/models/extract_entities_request_spec.rb +0 -42
- data/spec/models/extract_entities_response_spec.rb +0 -48
- data/spec/models/get_words_request_spec.rb +0 -42
- data/spec/models/get_words_response_spec.rb +0 -42
- data/spec/models/language_detection_request_spec.rb +0 -42
- data/spec/models/language_detection_response_spec.rb +0 -54
- data/spec/models/language_translation_request_spec.rb +0 -42
- data/spec/models/language_translation_response_spec.rb +0 -54
- data/spec/models/parse_request_spec.rb +0 -42
- data/spec/models/parse_response_spec.rb +0 -42
- data/spec/models/pos_request_spec.rb +0 -42
- data/spec/models/pos_response_spec.rb +0 -42
- data/spec/models/pos_sentence_spec.rb +0 -42
- data/spec/models/pos_tagged_word_spec.rb +0 -48
- data/spec/models/profanity_analysis_request_spec.rb +0 -42
- data/spec/models/profanity_analysis_response_spec.rb +0 -54
- data/spec/models/rephrase_request_spec.rb +0 -48
- data/spec/models/rephrase_response_spec.rb +0 -54
- data/spec/models/rephrased_sentence_option_spec.rb +0 -48
- data/spec/models/rephrased_sentence_spec.rb +0 -54
- data/spec/models/sentence_segmentation_request_spec.rb +0 -42
- data/spec/models/sentence_segmentation_response_spec.rb +0 -54
- data/spec/models/sentiment_analysis_request_spec.rb +0 -42
- data/spec/models/sentiment_analysis_response_spec.rb +0 -60
- data/spec/models/word_position_spec.rb +0 -60
- data/spec/spec_helper.rb +0 -111
|
@@ -1,54 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
54
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
42
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
42
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
42
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
42
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
42
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
48
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
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.3.1
|
|
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
|
|
42
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
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.3.1
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for CloudmersiveNlpApiClient::ProfanityAnalysisResponse
|
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe 'ProfanityAnalysisResponse' do
|
|
21
|
-
before do
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = CloudmersiveNlpApiClient::ProfanityAnalysisResponse.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test an instance of ProfanityAnalysisResponse' do
|
|
31
|
-
it 'should create an instance of ProfanityAnalysisResponse' do
|
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ProfanityAnalysisResponse)
|
|
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 "profanity_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
|
|
54
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
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.3.1
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for CloudmersiveNlpApiClient::RephraseRequest
|
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe 'RephraseRequest' do
|
|
21
|
-
before do
|
|
22
|
-
# run before each test
|
|
23
|
-
@instance = CloudmersiveNlpApiClient::RephraseRequest.new
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
after do
|
|
27
|
-
# run after each test
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test an instance of RephraseRequest' do
|
|
31
|
-
it 'should create an instance of RephraseRequest' do
|
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::RephraseRequest)
|
|
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
|
-
describe 'test attribute "target_rephrasing_count"' 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
|
|
48
|
-
|