cloudmersive-nlp-api-client 1.2.9 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -35
  3. data/cloudmersive-nlp-api-client.gemspec +3 -3
  4. data/docs/CheckSentenceRequest.md +8 -0
  5. data/docs/CheckSentenceResponse.md +9 -0
  6. data/docs/CheckWordRequest.md +8 -0
  7. data/docs/{CorrectJsonResponse.md → CheckWordResponse.md} +1 -1
  8. data/docs/{CorrectWordInSentenceJsonResponse.md → CorrectWordInSentence.md} +1 -1
  9. data/docs/Entity.md +9 -0
  10. data/docs/{ExtractEntitiesStringApi.md → ExtractEntitiesApi.md} +10 -10
  11. data/docs/ExtractEntitiesRequest.md +8 -0
  12. data/docs/ExtractEntitiesResponse.md +9 -0
  13. data/docs/GetWordsRequest.md +8 -0
  14. data/docs/{GetWordsJsonResponse.md → GetWordsResponse.md} +1 -1
  15. data/docs/LanguageDetectionApi.md +7 -7
  16. data/docs/LanguageDetectionRequest.md +8 -0
  17. data/docs/{ParseStringApi.md → ParseApi.md} +10 -10
  18. data/docs/ParseRequest.md +8 -0
  19. data/docs/ParseResponse.md +8 -0
  20. data/docs/{SpellCheckApi.md → PosTaggerApi.md} +73 -73
  21. data/docs/SegmentationApi.md +118 -0
  22. data/docs/SentenceSegmentationRequest.md +8 -0
  23. data/docs/SentenceSegmentationResponse.md +10 -0
  24. data/docs/SpellcheckApi.md +118 -0
  25. data/lib/cloudmersive-nlp-api-client.rb +23 -15
  26. data/lib/cloudmersive-nlp-api-client/api/{extract_entities_string_api.rb → extract_entities_api.rb} +14 -14
  27. data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +15 -15
  28. data/lib/cloudmersive-nlp-api-client/api/{parse_string_api.rb → parse_api.rb} +14 -14
  29. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +353 -0
  30. data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +133 -0
  31. data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +133 -0
  32. data/lib/cloudmersive-nlp-api-client/api_client.rb +3 -3
  33. data/lib/cloudmersive-nlp-api-client/api_error.rb +3 -3
  34. data/lib/cloudmersive-nlp-api-client/configuration.rb +3 -3
  35. data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +189 -0
  36. data/lib/cloudmersive-nlp-api-client/models/{check_sentence_json_response.rb → check_sentence_response.rb} +5 -5
  37. data/lib/cloudmersive-nlp-api-client/models/{check_json_response.rb → check_word_request.rb} +12 -13
  38. data/lib/cloudmersive-nlp-api-client/models/{correct_json_response.rb → check_word_response.rb} +4 -4
  39. data/lib/cloudmersive-nlp-api-client/models/{correct_word_in_sentence_json_response.rb → correct_word_in_sentence.rb} +4 -4
  40. data/lib/cloudmersive-nlp-api-client/models/entity.rb +197 -0
  41. data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +189 -0
  42. data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +200 -0
  43. data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +188 -0
  44. data/lib/cloudmersive-nlp-api-client/models/{get_words_json_response.rb → get_words_response.rb} +4 -4
  45. data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +189 -0
  46. data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +3 -3
  47. data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +189 -0
  48. data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +189 -0
  49. data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +3 -3
  50. data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +3 -3
  51. data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +3 -3
  52. data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +3 -3
  53. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +188 -0
  54. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +208 -0
  55. data/lib/cloudmersive-nlp-api-client/models/word_position.rb +3 -3
  56. data/lib/cloudmersive-nlp-api-client/version.rb +4 -4
  57. data/spec/api/{extract_entities_string_api_spec.rb → extract_entities_api_spec.rb} +12 -12
  58. data/spec/api/language_detection_api_spec.rb +6 -6
  59. data/spec/api/{parse_string_api_spec.rb → parse_api_spec.rb} +12 -12
  60. data/spec/api/pos_tagger_api_spec.rb +107 -0
  61. data/spec/api/segmentation_api_spec.rb +59 -0
  62. data/spec/api/spellcheck_api_spec.rb +59 -0
  63. data/spec/api_client_spec.rb +3 -3
  64. data/spec/configuration_spec.rb +3 -3
  65. data/spec/models/check_sentence_request_spec.rb +42 -0
  66. data/spec/models/{check_sentence_json_response_spec.rb → check_sentence_response_spec.rb} +9 -9
  67. data/spec/models/{check_json_response_spec.rb → check_word_request_spec.rb} +10 -10
  68. data/spec/models/{correct_json_response_spec.rb → check_word_response_spec.rb} +9 -9
  69. data/spec/models/{correct_word_in_sentence_json_response_spec.rb → correct_word_in_sentence_spec.rb} +9 -9
  70. data/spec/models/entity_spec.rb +48 -0
  71. data/spec/models/extract_entities_request_spec.rb +42 -0
  72. data/spec/models/extract_entities_response_spec.rb +48 -0
  73. data/spec/models/get_words_request_spec.rb +42 -0
  74. data/spec/models/{get_words_json_response_spec.rb → get_words_response_spec.rb} +9 -9
  75. data/spec/models/language_detection_request_spec.rb +42 -0
  76. data/spec/models/language_detection_response_spec.rb +3 -3
  77. data/spec/models/parse_request_spec.rb +42 -0
  78. data/spec/models/parse_response_spec.rb +42 -0
  79. data/spec/models/pos_request_spec.rb +3 -3
  80. data/spec/models/pos_response_spec.rb +3 -3
  81. data/spec/models/pos_sentence_spec.rb +3 -3
  82. data/spec/models/pos_tagged_word_spec.rb +3 -3
  83. data/spec/models/sentence_segmentation_request_spec.rb +42 -0
  84. data/spec/models/sentence_segmentation_response_spec.rb +54 -0
  85. data/spec/models/word_position_spec.rb +3 -3
  86. data/spec/spec_helper.rb +3 -3
  87. metadata +75 -52
  88. data/docs/CheckJsonResponse.md +0 -8
  89. data/docs/CheckSentenceJsonResponse.md +0 -9
  90. data/docs/PosTaggerJsonApi.md +0 -63
  91. data/docs/PosTaggerStringApi.md +0 -63
  92. data/docs/SentencesApi.md +0 -63
  93. data/docs/WordsApi.md +0 -448
  94. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_json_api.rb +0 -78
  95. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_string_api.rb +0 -78
  96. data/lib/cloudmersive-nlp-api-client/api/sentences_api.rb +0 -78
  97. data/lib/cloudmersive-nlp-api-client/api/spell_check_api.rb +0 -353
  98. data/lib/cloudmersive-nlp-api-client/api/words_api.rb +0 -463
  99. data/spec/api/pos_tagger_json_api_spec.rb +0 -47
  100. data/spec/api/pos_tagger_string_api_spec.rb +0 -47
  101. data/spec/api/sentences_api_spec.rb +0 -47
  102. data/spec/api/spell_check_api_spec.rb +0 -107
  103. data/spec/api/words_api_spec.rb +0 -131
@@ -1,12 +1,12 @@
1
1
  =begin
2
- #nlpapi
2
+ #nlpapiv2
3
3
 
4
- #The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
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
5
 
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for CloudmersiveNlpApiClient::CheckSentenceJsonResponse
17
+ # Unit tests for CloudmersiveNlpApiClient::CheckSentenceResponse
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'CheckSentenceJsonResponse' do
20
+ describe 'CheckSentenceResponse' do
21
21
  before do
22
22
  # run before each test
23
- @instance = CloudmersiveNlpApiClient::CheckSentenceJsonResponse.new
23
+ @instance = CloudmersiveNlpApiClient::CheckSentenceResponse.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CheckSentenceJsonResponse' do
31
- it 'should create an instance of CheckSentenceJsonResponse' do
32
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CheckSentenceJsonResponse)
30
+ describe 'test an instance of CheckSentenceResponse' do
31
+ it 'should create an instance of CheckSentenceResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CheckSentenceResponse)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "incorrect_count"' do
@@ -1,12 +1,12 @@
1
1
  =begin
2
- #nlpapi
2
+ #nlpapiv2
3
3
 
4
- #The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
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
5
 
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,25 +14,25 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for CloudmersiveNlpApiClient::CheckJsonResponse
17
+ # Unit tests for CloudmersiveNlpApiClient::CheckWordRequest
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'CheckJsonResponse' do
20
+ describe 'CheckWordRequest' do
21
21
  before do
22
22
  # run before each test
23
- @instance = CloudmersiveNlpApiClient::CheckJsonResponse.new
23
+ @instance = CloudmersiveNlpApiClient::CheckWordRequest.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CheckJsonResponse' do
31
- it 'should create an instance of CheckJsonResponse' do
32
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CheckJsonResponse)
30
+ describe 'test an instance of CheckWordRequest' do
31
+ it 'should create an instance of CheckWordRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CheckWordRequest)
33
33
  end
34
34
  end
35
- describe 'test attribute "correct"' do
35
+ describe 'test attribute "word"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -1,12 +1,12 @@
1
1
  =begin
2
- #nlpapi
2
+ #nlpapiv2
3
3
 
4
- #The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
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
5
 
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for CloudmersiveNlpApiClient::CorrectJsonResponse
17
+ # Unit tests for CloudmersiveNlpApiClient::CheckWordResponse
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'CorrectJsonResponse' do
20
+ describe 'CheckWordResponse' do
21
21
  before do
22
22
  # run before each test
23
- @instance = CloudmersiveNlpApiClient::CorrectJsonResponse.new
23
+ @instance = CloudmersiveNlpApiClient::CheckWordResponse.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CorrectJsonResponse' do
31
- it 'should create an instance of CorrectJsonResponse' do
32
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CorrectJsonResponse)
30
+ describe 'test an instance of CheckWordResponse' do
31
+ it 'should create an instance of CheckWordResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CheckWordResponse)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "correct"' do
@@ -1,12 +1,12 @@
1
1
  =begin
2
- #nlpapi
2
+ #nlpapiv2
3
3
 
4
- #The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
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
5
 
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for CloudmersiveNlpApiClient::CorrectWordInSentenceJsonResponse
17
+ # Unit tests for CloudmersiveNlpApiClient::CorrectWordInSentence
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'CorrectWordInSentenceJsonResponse' do
20
+ describe 'CorrectWordInSentence' do
21
21
  before do
22
22
  # run before each test
23
- @instance = CloudmersiveNlpApiClient::CorrectWordInSentenceJsonResponse.new
23
+ @instance = CloudmersiveNlpApiClient::CorrectWordInSentence.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CorrectWordInSentenceJsonResponse' do
31
- it 'should create an instance of CorrectWordInSentenceJsonResponse' do
32
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::CorrectWordInSentenceJsonResponse)
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
33
  end
34
34
  end
35
35
  describe 'test attribute "word"' do
@@ -0,0 +1,48 @@
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
+
@@ -0,0 +1,42 @@
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
+
@@ -0,0 +1,48 @@
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
+
@@ -0,0 +1,42 @@
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,12 +1,12 @@
1
1
  =begin
2
- #nlpapi
2
+ #nlpapiv2
3
3
 
4
- #The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
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
5
 
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: unset
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for CloudmersiveNlpApiClient::GetWordsJsonResponse
17
+ # Unit tests for CloudmersiveNlpApiClient::GetWordsResponse
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'GetWordsJsonResponse' do
20
+ describe 'GetWordsResponse' do
21
21
  before do
22
22
  # run before each test
23
- @instance = CloudmersiveNlpApiClient::GetWordsJsonResponse.new
23
+ @instance = CloudmersiveNlpApiClient::GetWordsResponse.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of GetWordsJsonResponse' do
31
- it 'should create an instance of GetWordsJsonResponse' do
32
- expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::GetWordsJsonResponse)
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
33
  end
34
34
  end
35
35
  describe 'test attribute "words"' do
@@ -0,0 +1,42 @@
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
+