cloudmersive-nlp-api-client 2.0.6 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -136
  3. data/Gemfile +0 -7
  4. data/README.md +0 -151
  5. data/Rakefile +0 -8
  6. data/cloudmersive-nlp-api-client.gemspec +0 -45
  7. data/docs/AnalyticsApi.md +0 -118
  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/LanguageDetectionApi.md +0 -63
  20. data/docs/LanguageDetectionRequest.md +0 -8
  21. data/docs/LanguageDetectionResponse.md +0 -10
  22. data/docs/LanguageTranslationApi.md +0 -228
  23. data/docs/LanguageTranslationRequest.md +0 -8
  24. data/docs/LanguageTranslationResponse.md +0 -10
  25. data/docs/ParseApi.md +0 -63
  26. data/docs/ParseRequest.md +0 -8
  27. data/docs/ParseResponse.md +0 -8
  28. data/docs/PosRequest.md +0 -8
  29. data/docs/PosResponse.md +0 -8
  30. data/docs/PosSentence.md +0 -8
  31. data/docs/PosTaggedWord.md +0 -9
  32. data/docs/PosTaggerApi.md +0 -338
  33. data/docs/ProfanityAnalysisRequest.md +0 -8
  34. data/docs/ProfanityAnalysisResponse.md +0 -10
  35. data/docs/RephraseApi.md +0 -63
  36. data/docs/RephraseRequest.md +0 -9
  37. data/docs/RephraseResponse.md +0 -10
  38. data/docs/RephrasedSentence.md +0 -10
  39. data/docs/RephrasedSentenceOption.md +0 -9
  40. data/docs/SegmentationApi.md +0 -118
  41. data/docs/SentenceSegmentationRequest.md +0 -8
  42. data/docs/SentenceSegmentationResponse.md +0 -10
  43. data/docs/SentimentAnalysisRequest.md +0 -8
  44. data/docs/SentimentAnalysisResponse.md +0 -11
  45. data/docs/SpellcheckApi.md +0 -118
  46. data/docs/WordPosition.md +0 -11
  47. data/git_push.sh +0 -55
  48. data/lib/cloudmersive-nlp-api-client.rb +0 -79
  49. data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +0 -133
  50. data/lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb +0 -78
  51. data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +0 -78
  52. data/lib/cloudmersive-nlp-api-client/api/language_translation_api.rb +0 -243
  53. data/lib/cloudmersive-nlp-api-client/api/parse_api.rb +0 -78
  54. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +0 -353
  55. data/lib/cloudmersive-nlp-api-client/api/rephrase_api.rb +0 -78
  56. data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +0 -133
  57. data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +0 -133
  58. data/lib/cloudmersive-nlp-api-client/api_client.rb +0 -389
  59. data/lib/cloudmersive-nlp-api-client/api_error.rb +0 -38
  60. data/lib/cloudmersive-nlp-api-client/configuration.rb +0 -209
  61. data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +0 -189
  62. data/lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb +0 -201
  63. data/lib/cloudmersive-nlp-api-client/models/check_word_request.rb +0 -188
  64. data/lib/cloudmersive-nlp-api-client/models/check_word_response.rb +0 -201
  65. data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb +0 -211
  66. data/lib/cloudmersive-nlp-api-client/models/entity.rb +0 -197
  67. data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +0 -189
  68. data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +0 -200
  69. data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +0 -188
  70. data/lib/cloudmersive-nlp-api-client/models/get_words_response.rb +0 -191
  71. data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +0 -189
  72. data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +0 -209
  73. data/lib/cloudmersive-nlp-api-client/models/language_translation_request.rb +0 -189
  74. data/lib/cloudmersive-nlp-api-client/models/language_translation_response.rb +0 -209
  75. data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +0 -189
  76. data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +0 -189
  77. data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +0 -189
  78. data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +0 -191
  79. data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +0 -191
  80. data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +0 -199
  81. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb +0 -189
  82. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb +0 -209
  83. data/lib/cloudmersive-nlp-api-client/models/rephrase_request.rb +0 -199
  84. data/lib/cloudmersive-nlp-api-client/models/rephrase_response.rb +0 -211
  85. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb +0 -211
  86. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb +0 -199
  87. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +0 -188
  88. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +0 -208
  89. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb +0 -189
  90. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb +0 -219
  91. data/lib/cloudmersive-nlp-api-client/models/word_position.rb +0 -219
  92. data/lib/cloudmersive-nlp-api-client/version.rb +0 -15
  93. data/spec/api/analytics_api_spec.rb +0 -59
  94. data/spec/api/extract_entities_api_spec.rb +0 -47
  95. data/spec/api/language_detection_api_spec.rb +0 -47
  96. data/spec/api/language_translation_api_spec.rb +0 -83
  97. data/spec/api/parse_api_spec.rb +0 -47
  98. data/spec/api/pos_tagger_api_spec.rb +0 -107
  99. data/spec/api/rephrase_api_spec.rb +0 -47
  100. data/spec/api/segmentation_api_spec.rb +0 -59
  101. data/spec/api/spellcheck_api_spec.rb +0 -59
  102. data/spec/api_client_spec.rb +0 -226
  103. data/spec/configuration_spec.rb +0 -42
  104. data/spec/models/check_sentence_request_spec.rb +0 -42
  105. data/spec/models/check_sentence_response_spec.rb +0 -48
  106. data/spec/models/check_word_request_spec.rb +0 -42
  107. data/spec/models/check_word_response_spec.rb +0 -48
  108. data/spec/models/correct_word_in_sentence_spec.rb +0 -54
  109. data/spec/models/entity_spec.rb +0 -48
  110. data/spec/models/extract_entities_request_spec.rb +0 -42
  111. data/spec/models/extract_entities_response_spec.rb +0 -48
  112. data/spec/models/get_words_request_spec.rb +0 -42
  113. data/spec/models/get_words_response_spec.rb +0 -42
  114. data/spec/models/language_detection_request_spec.rb +0 -42
  115. data/spec/models/language_detection_response_spec.rb +0 -54
  116. data/spec/models/language_translation_request_spec.rb +0 -42
  117. data/spec/models/language_translation_response_spec.rb +0 -54
  118. data/spec/models/parse_request_spec.rb +0 -42
  119. data/spec/models/parse_response_spec.rb +0 -42
  120. data/spec/models/pos_request_spec.rb +0 -42
  121. data/spec/models/pos_response_spec.rb +0 -42
  122. data/spec/models/pos_sentence_spec.rb +0 -42
  123. data/spec/models/pos_tagged_word_spec.rb +0 -48
  124. data/spec/models/profanity_analysis_request_spec.rb +0 -42
  125. data/spec/models/profanity_analysis_response_spec.rb +0 -54
  126. data/spec/models/rephrase_request_spec.rb +0 -48
  127. data/spec/models/rephrase_response_spec.rb +0 -54
  128. data/spec/models/rephrased_sentence_option_spec.rb +0 -48
  129. data/spec/models/rephrased_sentence_spec.rb +0 -54
  130. data/spec/models/sentence_segmentation_request_spec.rb +0 -42
  131. data/spec/models/sentence_segmentation_response_spec.rb +0 -54
  132. data/spec/models/sentiment_analysis_request_spec.rb +0 -42
  133. data/spec/models/sentiment_analysis_response_spec.rb +0 -60
  134. data/spec/models/word_position_spec.rb +0 -60
  135. data/spec/spec_helper.rb +0 -111
@@ -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::AnalyticsApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'AnalyticsApi' do
20
- before do
21
- # run before each test
22
- @instance = CloudmersiveNlpApiClient::AnalyticsApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of AnalyticsApi' do
30
- it 'should create an instance of AnalyticsApi' do
31
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::AnalyticsApi)
32
- end
33
- end
34
-
35
- # unit tests for analytics_profanity
36
- # Perform Profanity and Obscene Language Analysis and Detection on Text
37
- # Analyze input text using advanced Profanity and Obscene Language Analysis to determine if the input contains profane language. Supports English language input. Consumes 1-2 API calls per sentence.
38
- # @param input Input profanity analysis request
39
- # @param [Hash] opts the optional parameters
40
- # @return [ProfanityAnalysisResponse]
41
- describe 'analytics_profanity 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 analytics_sentiment
48
- # Perform Sentiment Analysis and Classification on Text
49
- # Analyze input text using advanced Sentiment Analysis to determine if the input is positive, negative, or neutral. Supports English language input. Consumes 1-2 API calls per sentence.
50
- # @param input Input sentiment analysis request
51
- # @param [Hash] opts the optional parameters
52
- # @return [SentimentAnalysisResponse]
53
- describe 'analytics_sentiment 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,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_translate_deu_to_eng
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_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
- 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