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.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -154
  3. data/Gemfile +0 -7
  4. data/README.md +0 -160
  5. data/Rakefile +0 -8
  6. data/cloudmersive-nlp-api-client.gemspec +0 -45
  7. data/docs/AnalyticsApi.md +0 -283
  8. data/docs/CheckSentenceRequest.md +0 -8
  9. data/docs/CheckSentenceResponse.md +0 -9
  10. data/docs/CheckWordRequest.md +0 -8
  11. data/docs/CheckWordResponse.md +0 -9
  12. data/docs/CorrectWordInSentence.md +0 -10
  13. data/docs/Entity.md +0 -9
  14. data/docs/ExtractEntitiesApi.md +0 -63
  15. data/docs/ExtractEntitiesRequest.md +0 -8
  16. data/docs/ExtractEntitiesResponse.md +0 -9
  17. data/docs/GetWordsRequest.md +0 -8
  18. data/docs/GetWordsResponse.md +0 -8
  19. data/docs/HateSpeechAnalysisRequest.md +0 -8
  20. data/docs/HateSpeechAnalysisResponse.md +0 -10
  21. data/docs/LanguageDetectionApi.md +0 -63
  22. data/docs/LanguageDetectionRequest.md +0 -8
  23. data/docs/LanguageDetectionResponse.md +0 -10
  24. data/docs/LanguageTranslationApi.md +0 -228
  25. data/docs/LanguageTranslationRequest.md +0 -8
  26. data/docs/LanguageTranslationResponse.md +0 -10
  27. data/docs/ParseApi.md +0 -63
  28. data/docs/ParseRequest.md +0 -8
  29. data/docs/ParseResponse.md +0 -8
  30. data/docs/PosRequest.md +0 -8
  31. data/docs/PosResponse.md +0 -8
  32. data/docs/PosSentence.md +0 -8
  33. data/docs/PosTaggedWord.md +0 -9
  34. data/docs/PosTaggerApi.md +0 -338
  35. data/docs/ProfanityAnalysisRequest.md +0 -8
  36. data/docs/ProfanityAnalysisResponse.md +0 -10
  37. data/docs/RephraseApi.md +0 -63
  38. data/docs/RephraseRequest.md +0 -9
  39. data/docs/RephraseResponse.md +0 -10
  40. data/docs/RephrasedSentence.md +0 -10
  41. data/docs/RephrasedSentenceOption.md +0 -9
  42. data/docs/SegmentationApi.md +0 -118
  43. data/docs/SentenceSegmentationRequest.md +0 -8
  44. data/docs/SentenceSegmentationResponse.md +0 -10
  45. data/docs/SentimentAnalysisRequest.md +0 -8
  46. data/docs/SentimentAnalysisResponse.md +0 -11
  47. data/docs/SimilarityAnalysisRequest.md +0 -9
  48. data/docs/SimilarityAnalysisResponse.md +0 -10
  49. data/docs/SpellcheckApi.md +0 -118
  50. data/docs/SubjectivityAnalysisRequest.md +0 -8
  51. data/docs/SubjectivityAnalysisResponse.md +0 -10
  52. data/docs/WordPosition.md +0 -11
  53. data/git_push.sh +0 -55
  54. data/lib/cloudmersive-nlp-api-client.rb +0 -85
  55. data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +0 -298
  56. data/lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb +0 -78
  57. data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +0 -78
  58. data/lib/cloudmersive-nlp-api-client/api/language_translation_api.rb +0 -243
  59. data/lib/cloudmersive-nlp-api-client/api/parse_api.rb +0 -78
  60. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +0 -353
  61. data/lib/cloudmersive-nlp-api-client/api/rephrase_api.rb +0 -78
  62. data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +0 -133
  63. data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +0 -133
  64. data/lib/cloudmersive-nlp-api-client/api_client.rb +0 -389
  65. data/lib/cloudmersive-nlp-api-client/api_error.rb +0 -38
  66. data/lib/cloudmersive-nlp-api-client/configuration.rb +0 -209
  67. data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +0 -189
  68. data/lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb +0 -201
  69. data/lib/cloudmersive-nlp-api-client/models/check_word_request.rb +0 -188
  70. data/lib/cloudmersive-nlp-api-client/models/check_word_response.rb +0 -201
  71. data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb +0 -211
  72. data/lib/cloudmersive-nlp-api-client/models/entity.rb +0 -197
  73. data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +0 -189
  74. data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +0 -200
  75. data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +0 -188
  76. data/lib/cloudmersive-nlp-api-client/models/get_words_response.rb +0 -191
  77. data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_request.rb +0 -189
  78. data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb +0 -209
  79. data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +0 -189
  80. data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +0 -209
  81. data/lib/cloudmersive-nlp-api-client/models/language_translation_request.rb +0 -189
  82. data/lib/cloudmersive-nlp-api-client/models/language_translation_response.rb +0 -209
  83. data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +0 -189
  84. data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +0 -189
  85. data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +0 -189
  86. data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +0 -191
  87. data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +0 -191
  88. data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +0 -199
  89. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb +0 -189
  90. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb +0 -209
  91. data/lib/cloudmersive-nlp-api-client/models/rephrase_request.rb +0 -199
  92. data/lib/cloudmersive-nlp-api-client/models/rephrase_response.rb +0 -211
  93. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb +0 -211
  94. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb +0 -199
  95. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +0 -188
  96. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +0 -208
  97. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb +0 -189
  98. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb +0 -219
  99. data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_request.rb +0 -199
  100. data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb +0 -209
  101. data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb +0 -189
  102. data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb +0 -209
  103. data/lib/cloudmersive-nlp-api-client/models/word_position.rb +0 -219
  104. data/lib/cloudmersive-nlp-api-client/version.rb +0 -15
  105. data/spec/api/analytics_api_spec.rb +0 -95
  106. data/spec/api/extract_entities_api_spec.rb +0 -47
  107. data/spec/api/language_detection_api_spec.rb +0 -47
  108. data/spec/api/language_translation_api_spec.rb +0 -83
  109. data/spec/api/parse_api_spec.rb +0 -47
  110. data/spec/api/pos_tagger_api_spec.rb +0 -107
  111. data/spec/api/rephrase_api_spec.rb +0 -47
  112. data/spec/api/segmentation_api_spec.rb +0 -59
  113. data/spec/api/spellcheck_api_spec.rb +0 -59
  114. data/spec/api_client_spec.rb +0 -226
  115. data/spec/configuration_spec.rb +0 -42
  116. data/spec/models/check_sentence_request_spec.rb +0 -42
  117. data/spec/models/check_sentence_response_spec.rb +0 -48
  118. data/spec/models/check_word_request_spec.rb +0 -42
  119. data/spec/models/check_word_response_spec.rb +0 -48
  120. data/spec/models/correct_word_in_sentence_spec.rb +0 -54
  121. data/spec/models/entity_spec.rb +0 -48
  122. data/spec/models/extract_entities_request_spec.rb +0 -42
  123. data/spec/models/extract_entities_response_spec.rb +0 -48
  124. data/spec/models/get_words_request_spec.rb +0 -42
  125. data/spec/models/get_words_response_spec.rb +0 -42
  126. data/spec/models/hate_speech_analysis_request_spec.rb +0 -42
  127. data/spec/models/hate_speech_analysis_response_spec.rb +0 -54
  128. data/spec/models/language_detection_request_spec.rb +0 -42
  129. data/spec/models/language_detection_response_spec.rb +0 -54
  130. data/spec/models/language_translation_request_spec.rb +0 -42
  131. data/spec/models/language_translation_response_spec.rb +0 -54
  132. data/spec/models/parse_request_spec.rb +0 -42
  133. data/spec/models/parse_response_spec.rb +0 -42
  134. data/spec/models/pos_request_spec.rb +0 -42
  135. data/spec/models/pos_response_spec.rb +0 -42
  136. data/spec/models/pos_sentence_spec.rb +0 -42
  137. data/spec/models/pos_tagged_word_spec.rb +0 -48
  138. data/spec/models/profanity_analysis_request_spec.rb +0 -42
  139. data/spec/models/profanity_analysis_response_spec.rb +0 -54
  140. data/spec/models/rephrase_request_spec.rb +0 -48
  141. data/spec/models/rephrase_response_spec.rb +0 -54
  142. data/spec/models/rephrased_sentence_option_spec.rb +0 -48
  143. data/spec/models/rephrased_sentence_spec.rb +0 -54
  144. data/spec/models/sentence_segmentation_request_spec.rb +0 -42
  145. data/spec/models/sentence_segmentation_response_spec.rb +0 -54
  146. data/spec/models/sentiment_analysis_request_spec.rb +0 -42
  147. data/spec/models/sentiment_analysis_response_spec.rb +0 -60
  148. data/spec/models/similarity_analysis_request_spec.rb +0 -48
  149. data/spec/models/similarity_analysis_response_spec.rb +0 -54
  150. data/spec/models/subjectivity_analysis_request_spec.rb +0 -42
  151. data/spec/models/subjectivity_analysis_response_spec.rb +0 -54
  152. data/spec/models/word_position_spec.rb +0 -60
  153. data/spec/spec_helper.rb +0 -111
@@ -1,47 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::ExtractEntitiesApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ExtractEntitiesApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::ExtractEntitiesApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ExtractEntitiesApi' do
30
- it 'should create an instance of ExtractEntitiesApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ExtractEntitiesApi)
32
- end
33
- end
34
-
35
- # unit tests for extract_entities_post
36
- # Extract entities from string
37
- # Extract the named entitites from an input string.
38
- # @param value Input string
39
- # @param [Hash] opts the optional parameters
40
- # @return [ExtractEntitiesResponse]
41
- describe 'extract_entities_post test' 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
@@ -1,47 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::LanguageDetectionApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'LanguageDetectionApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::LanguageDetectionApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of LanguageDetectionApi' do
30
- it 'should create an instance of LanguageDetectionApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::LanguageDetectionApi)
32
- end
33
- end
34
-
35
- # unit tests for language_detection_get_language
36
- # Detect language of text
37
- # Automatically determine which language a text string is written in. Supports Danish (DAN), German (DEU), English (ENG), French (FRA), Italian (ITA), Japanese (JPN), Korean (KOR), Dutch (NLD), Norwegian (NOR), Portuguese (POR), Russian (RUS), Spanish (SPA), Swedish (SWE), Chinese (ZHO).
38
- # @param input
39
- # @param [Hash] opts the optional parameters
40
- # @return [LanguageDetectionResponse]
41
- describe 'language_detection_get_language test' 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
@@ -1,83 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::LanguageTranslationApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'LanguageTranslationApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::LanguageTranslationApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of LanguageTranslationApi' do
30
- it 'should create an instance of LanguageTranslationApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::LanguageTranslationApi)
32
- end
33
- end
34
-
35
- # unit tests for language_translation_translate_deu_to_eng
36
- # Translate German to English text with Deep Learning AI
37
- # Automatically translates input text in German to output text in English using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.
38
- # @param input Input translation request
39
- # @param [Hash] opts the optional parameters
40
- # @return [LanguageTranslationResponse]
41
- describe 'language_translation_translate_deu_to_eng test' 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
- # unit tests for language_translation_translate_eng_to_deu
48
- # Translate English to German text with Deep Learning AI
49
- # Automatically translates input text in English to output text in German using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.
50
- # @param input Input translation request
51
- # @param [Hash] opts the optional parameters
52
- # @return [LanguageTranslationResponse]
53
- describe 'language_translation_translate_eng_to_deu test' 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
- # unit tests for language_translation_translate_eng_to_rus
60
- # Translate English to Russian text with Deep Learning AI
61
- # Automatically translates input text in English to output text in Russian using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.
62
- # @param input Input translation request
63
- # @param [Hash] opts the optional parameters
64
- # @return [LanguageTranslationResponse]
65
- describe 'language_translation_translate_eng_to_rus test' do
66
- it "should work" do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
- # unit tests for language_translation_translate_rus_to_eng
72
- # Translate Russian to English text with Deep Learning AI
73
- # Automatically translates input text in Russian to output text in English using advanced Deep Learning and Neural NLP. Consumes 1-2 API calls per input sentence.
74
- # @param input Input translation request
75
- # @param [Hash] opts the optional parameters
76
- # @return [LanguageTranslationResponse]
77
- describe 'language_translation_translate_rus_to_eng test' do
78
- it "should work" do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- end
81
- end
82
-
83
- end
@@ -1,47 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::ParseApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'ParseApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::ParseApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of ParseApi' do
30
- it 'should create an instance of ParseApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::ParseApi)
32
- end
33
- end
34
-
35
- # unit tests for parse_parse_string
36
- # Parse string to syntax tree
37
- # Parses the input string into a Penn Treebank syntax tree
38
- # @param input Input string
39
- # @param [Hash] opts the optional parameters
40
- # @return [ParseResponse]
41
- describe 'parse_parse_string test' 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
@@ -1,107 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::PosTaggerApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'PosTaggerApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::PosTaggerApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of PosTaggerApi' do
30
- it 'should create an instance of PosTaggerApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosTaggerApi)
32
- end
33
- end
34
-
35
- # unit tests for pos_tagger_tag_adjectives
36
- # Part-of-speech tag a string, filter to adjectives
37
- # Part-of-speech (POS) tag a string, find the adjectives, and return result as JSON
38
- # @param request Input string
39
- # @param [Hash] opts the optional parameters
40
- # @return [PosResponse]
41
- describe 'pos_tagger_tag_adjectives test' 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
- # unit tests for pos_tagger_tag_adverbs
48
- # Part-of-speech tag a string, filter to adverbs
49
- # Part-of-speech (POS) tag a string, find the adverbs, and return result as JSON
50
- # @param request Input string
51
- # @param [Hash] opts the optional parameters
52
- # @return [PosResponse]
53
- describe 'pos_tagger_tag_adverbs test' 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
- # unit tests for pos_tagger_tag_nouns
60
- # Part-of-speech tag a string, filter to nouns
61
- # Part-of-speech (POS) tag a string, find the nouns, and return result as JSON
62
- # @param request Input string
63
- # @param [Hash] opts the optional parameters
64
- # @return [PosResponse]
65
- describe 'pos_tagger_tag_nouns test' do
66
- it "should work" do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
- # unit tests for pos_tagger_tag_pronouns
72
- # Part-of-speech tag a string, filter to pronouns
73
- # Part-of-speech (POS) tag a string, find the pronouns, and return result as JSON
74
- # @param request Input string
75
- # @param [Hash] opts the optional parameters
76
- # @return [PosResponse]
77
- describe 'pos_tagger_tag_pronouns test' do
78
- it "should work" do
79
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
- end
81
- end
82
-
83
- # unit tests for pos_tagger_tag_sentence
84
- # Part-of-speech tag a string
85
- # Part-of-speech (POS) tag a string and return result as JSON
86
- # @param request Input string
87
- # @param [Hash] opts the optional parameters
88
- # @return [PosResponse]
89
- describe 'pos_tagger_tag_sentence test' do
90
- it "should work" do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
- # unit tests for pos_tagger_tag_verbs
96
- # Part-of-speech tag a string, filter to verbs
97
- # Part-of-speech (POS) tag a string, find the verbs, and return result as JSON
98
- # @param request Input string
99
- # @param [Hash] opts the optional parameters
100
- # @return [PosResponse]
101
- describe 'pos_tagger_tag_verbs test' do
102
- it "should work" do
103
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
- end
105
- end
106
-
107
- end
@@ -1,47 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::RephraseApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'RephraseApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::RephraseApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of RephraseApi' do
30
- it 'should create an instance of RephraseApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::RephraseApi)
32
- end
33
- end
34
-
35
- # unit tests for rephrase_english_rephrase_sentence_by_sentence
36
- # Rephrase, paraphrase English text sentence-by-sentence using Deep Learning AI
37
- # Automatically rephrases or paraphrases input text in English sentence by sentence using advanced Deep Learning and Neural NLP. Creates multiple reprhasing candidates per input sentence, from 1 to 10 possible rephrasings of the original sentence. Seeks to preserve original semantic meaning in rephrased output candidates. Consumes 1-2 API calls per output rephrasing option generated, per sentence.
38
- # @param input Input rephrase request
39
- # @param [Hash] opts the optional parameters
40
- # @return [RephraseResponse]
41
- describe 'rephrase_english_rephrase_sentence_by_sentence test' 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
@@ -1,59 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::SegmentationApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'SegmentationApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::SegmentationApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of SegmentationApi' do
30
- it 'should create an instance of SegmentationApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SegmentationApi)
32
- end
33
- end
34
-
35
- # unit tests for segmentation_get_sentences
36
- # Extract sentences from string
37
- # Segment an input string into separate sentences, output result as a string.
38
- # @param input Input string
39
- # @param [Hash] opts the optional parameters
40
- # @return [SentenceSegmentationResponse]
41
- describe 'segmentation_get_sentences test' 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
- # unit tests for segmentation_get_words
48
- # Get words in input string
49
- # Get the component words in an input string
50
- # @param input String to process
51
- # @param [Hash] opts the optional parameters
52
- # @return [GetWordsResponse]
53
- describe 'segmentation_get_words test' 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
@@ -1,59 +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
-
16
- # Unit tests for CloudmersiveNlpApiClient::SpellcheckApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'SpellcheckApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::SpellcheckApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of SpellcheckApi' do
30
- it 'should create an instance of SpellcheckApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SpellcheckApi)
32
- end
33
- end
34
-
35
- # unit tests for spellcheck_check_sentence
36
- # Check if sentence is spelled correctly
37
- # Checks whether the sentence is spelled correctly and returns the result as JSON
38
- # @param value Input sentence
39
- # @param [Hash] opts the optional parameters
40
- # @return [CheckSentenceResponse]
41
- describe 'spellcheck_check_sentence test' 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
- # unit tests for spellcheck_correct_json
48
- # Find spelling corrections
49
- # Find spelling correction suggestions and return result as JSON
50
- # @param value Input string
51
- # @param [Hash] opts the optional parameters
52
- # @return [CheckWordResponse]
53
- describe 'spellcheck_correct_json test' 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