cloudmersive-nlp-api-client 2.0.9 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +3 -154
- data/Gemfile +0 -7
- data/README.md +0 -160
- data/Rakefile +0 -8
- data/cloudmersive-nlp-api-client.gemspec +0 -45
- data/docs/AnalyticsApi.md +0 -283
- 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/HateSpeechAnalysisRequest.md +0 -8
- data/docs/HateSpeechAnalysisResponse.md +0 -10
- 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/SimilarityAnalysisRequest.md +0 -9
- data/docs/SimilarityAnalysisResponse.md +0 -10
- data/docs/SpellcheckApi.md +0 -118
- data/docs/SubjectivityAnalysisRequest.md +0 -8
- data/docs/SubjectivityAnalysisResponse.md +0 -10
- data/docs/WordPosition.md +0 -11
- data/git_push.sh +0 -55
- data/lib/cloudmersive-nlp-api-client.rb +0 -85
- data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +0 -298
- 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/hate_speech_analysis_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb +0 -209
- 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/similarity_analysis_request.rb +0 -199
- data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb +0 -209
- data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb +0 -189
- data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb +0 -209
- 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 -95
- 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/hate_speech_analysis_request_spec.rb +0 -42
- data/spec/models/hate_speech_analysis_response_spec.rb +0 -54
- 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/similarity_analysis_request_spec.rb +0 -48
- data/spec/models/similarity_analysis_response_spec.rb +0 -54
- data/spec/models/subjectivity_analysis_request_spec.rb +0 -42
- data/spec/models/subjectivity_analysis_response_spec.rb +0 -54
- 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::CorrectWordInSentence
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'CorrectWordInSentence' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::CorrectWordInSentence.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of CorrectWordInSentence' do
|
31
|
-
it 'should create an instance of CorrectWordInSentence' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CorrectWordInSentence)
|
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 "correct"' 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 "suggestions"' 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
|
-
|
data/spec/models/entity_spec.rb
DELETED
@@ -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::Entity
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Entity' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::Entity.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Entity' do
|
31
|
-
it 'should create an instance of Entity' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::Entity)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "entity_type"' 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 "entity_text"' 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::ExtractEntitiesRequest
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ExtractEntitiesRequest' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::ExtractEntitiesRequest.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ExtractEntitiesRequest' do
|
31
|
-
it 'should create an instance of ExtractEntitiesRequest' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ExtractEntitiesRequest)
|
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,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::ExtractEntitiesResponse
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ExtractEntitiesResponse' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::ExtractEntitiesResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ExtractEntitiesResponse' do
|
31
|
-
it 'should create an instance of ExtractEntitiesResponse' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ExtractEntitiesResponse)
|
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 "entities"' 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::GetWordsRequest
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'GetWordsRequest' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::GetWordsRequest.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of GetWordsRequest' do
|
31
|
-
it 'should create an instance of GetWordsRequest' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::GetWordsRequest)
|
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::GetWordsResponse
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'GetWordsResponse' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::GetWordsResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of GetWordsResponse' do
|
31
|
-
it 'should create an instance of GetWordsResponse' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::GetWordsResponse)
|
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,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::HateSpeechAnalysisRequest
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'HateSpeechAnalysisRequest' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::HateSpeechAnalysisRequest.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of HateSpeechAnalysisRequest' do
|
31
|
-
it 'should create an instance of HateSpeechAnalysisRequest' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::HateSpeechAnalysisRequest)
|
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::HateSpeechAnalysisResponse
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'HateSpeechAnalysisResponse' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::HateSpeechAnalysisResponse.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of HateSpeechAnalysisResponse' do
|
31
|
-
it 'should create an instance of HateSpeechAnalysisResponse' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::HateSpeechAnalysisResponse)
|
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 "hate_speech_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,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::LanguageDetectionRequest
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'LanguageDetectionRequest' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = CloudmersiveNlpApiClient::LanguageDetectionRequest.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of LanguageDetectionRequest' do
|
31
|
-
it 'should create an instance of LanguageDetectionRequest' do
|
32
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::LanguageDetectionRequest)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "text_to_detect"' 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::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
|
54
|
-
|