cloudmersive-nlp-api-client 2.0.7 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +16 -8
  4. data/cloudmersive-nlp-api-client.gemspec +3 -3
  5. data/docs/AnalyticsApi.md +113 -3
  6. data/docs/ExtractEntitiesApi.md +1 -1
  7. data/docs/HateSpeechAnalysisRequest.md +8 -0
  8. data/docs/HateSpeechAnalysisResponse.md +10 -0
  9. data/docs/LanguageDetectionApi.md +1 -1
  10. data/docs/LanguageTranslationApi.md +114 -4
  11. data/docs/ParseApi.md +1 -1
  12. data/docs/PosTaggerApi.md +6 -6
  13. data/docs/RephraseApi.md +1 -1
  14. data/docs/SegmentationApi.md +2 -2
  15. data/docs/SimilarityAnalysisRequest.md +9 -0
  16. data/docs/SimilarityAnalysisResponse.md +10 -0
  17. data/docs/SpellcheckApi.md +2 -2
  18. data/lib/cloudmersive-nlp-api-client.rb +5 -1
  19. data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +120 -15
  20. data/lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb +6 -7
  21. data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +6 -7
  22. data/lib/cloudmersive-nlp-api-client/api/language_translation_api.rb +124 -20
  23. data/lib/cloudmersive-nlp-api-client/api/parse_api.rb +6 -7
  24. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +26 -32
  25. data/lib/cloudmersive-nlp-api-client/api/rephrase_api.rb +6 -7
  26. data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +10 -12
  27. data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +10 -12
  28. data/lib/cloudmersive-nlp-api-client/api_client.rb +11 -9
  29. data/lib/cloudmersive-nlp-api-client/api_error.rb +1 -1
  30. data/lib/cloudmersive-nlp-api-client/configuration.rb +2 -2
  31. data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +7 -10
  32. data/lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb +7 -10
  33. data/lib/cloudmersive-nlp-api-client/models/check_word_request.rb +7 -11
  34. data/lib/cloudmersive-nlp-api-client/models/check_word_response.rb +7 -10
  35. data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb +7 -10
  36. data/lib/cloudmersive-nlp-api-client/models/entity.rb +7 -11
  37. data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +7 -10
  38. data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +7 -10
  39. data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +7 -11
  40. data/lib/cloudmersive-nlp-api-client/models/get_words_response.rb +7 -10
  41. data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_request.rb +186 -0
  42. data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb +206 -0
  43. data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +7 -10
  44. data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +7 -10
  45. data/lib/cloudmersive-nlp-api-client/models/language_translation_request.rb +7 -10
  46. data/lib/cloudmersive-nlp-api-client/models/language_translation_response.rb +7 -10
  47. data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +7 -10
  48. data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +7 -10
  49. data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +7 -10
  50. data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +7 -10
  51. data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +7 -10
  52. data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +7 -10
  53. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb +7 -10
  54. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb +7 -10
  55. data/lib/cloudmersive-nlp-api-client/models/rephrase_request.rb +7 -10
  56. data/lib/cloudmersive-nlp-api-client/models/rephrase_response.rb +7 -10
  57. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb +7 -10
  58. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb +7 -10
  59. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +7 -11
  60. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +7 -11
  61. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb +7 -10
  62. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb +7 -10
  63. data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_request.rb +196 -0
  64. data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb +206 -0
  65. data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb +7 -10
  66. data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb +7 -10
  67. data/lib/cloudmersive-nlp-api-client/models/word_position.rb +7 -11
  68. data/lib/cloudmersive-nlp-api-client/version.rb +2 -2
  69. data/spec/api/analytics_api_spec.rb +28 -4
  70. data/spec/api/extract_entities_api_spec.rb +2 -2
  71. data/spec/api/language_detection_api_spec.rb +2 -2
  72. data/spec/api/language_translation_api_spec.rb +29 -5
  73. data/spec/api/parse_api_spec.rb +2 -2
  74. data/spec/api/pos_tagger_api_spec.rb +7 -7
  75. data/spec/api/rephrase_api_spec.rb +2 -2
  76. data/spec/api/segmentation_api_spec.rb +3 -3
  77. data/spec/api/spellcheck_api_spec.rb +3 -3
  78. data/spec/api_client_spec.rb +52 -35
  79. data/spec/configuration_spec.rb +9 -9
  80. data/spec/models/check_sentence_request_spec.rb +2 -3
  81. data/spec/models/check_sentence_response_spec.rb +3 -4
  82. data/spec/models/check_word_request_spec.rb +2 -3
  83. data/spec/models/check_word_response_spec.rb +3 -4
  84. data/spec/models/correct_word_in_sentence_spec.rb +4 -5
  85. data/spec/models/entity_spec.rb +3 -4
  86. data/spec/models/extract_entities_request_spec.rb +2 -3
  87. data/spec/models/extract_entities_response_spec.rb +3 -4
  88. data/spec/models/get_words_request_spec.rb +2 -3
  89. data/spec/models/get_words_response_spec.rb +2 -3
  90. data/spec/models/hate_speech_analysis_request_spec.rb +41 -0
  91. data/spec/models/hate_speech_analysis_response_spec.rb +53 -0
  92. data/spec/models/language_detection_request_spec.rb +2 -3
  93. data/spec/models/language_detection_response_spec.rb +4 -5
  94. data/spec/models/language_translation_request_spec.rb +2 -3
  95. data/spec/models/language_translation_response_spec.rb +4 -5
  96. data/spec/models/parse_request_spec.rb +2 -3
  97. data/spec/models/parse_response_spec.rb +2 -3
  98. data/spec/models/pos_request_spec.rb +2 -3
  99. data/spec/models/pos_response_spec.rb +2 -3
  100. data/spec/models/pos_sentence_spec.rb +2 -3
  101. data/spec/models/pos_tagged_word_spec.rb +3 -4
  102. data/spec/models/profanity_analysis_request_spec.rb +2 -3
  103. data/spec/models/profanity_analysis_response_spec.rb +4 -5
  104. data/spec/models/rephrase_request_spec.rb +3 -4
  105. data/spec/models/rephrase_response_spec.rb +4 -5
  106. data/spec/models/rephrased_sentence_option_spec.rb +3 -4
  107. data/spec/models/rephrased_sentence_spec.rb +4 -5
  108. data/spec/models/sentence_segmentation_request_spec.rb +2 -3
  109. data/spec/models/sentence_segmentation_response_spec.rb +4 -5
  110. data/spec/models/sentiment_analysis_request_spec.rb +2 -3
  111. data/spec/models/sentiment_analysis_response_spec.rb +5 -6
  112. data/spec/models/similarity_analysis_request_spec.rb +47 -0
  113. data/spec/models/similarity_analysis_response_spec.rb +53 -0
  114. data/spec/models/subjectivity_analysis_request_spec.rb +2 -3
  115. data/spec/models/subjectivity_analysis_response_spec.rb +4 -5
  116. data/spec/models/word_position_spec.rb +5 -6
  117. data/spec/spec_helper.rb +1 -1
  118. metadata +14 -2
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,15 +34,14 @@ describe 'RephraseRequest' do
34
34
  end
35
35
  describe 'test attribute "text_to_translate"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "target_rephrasing_count"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  end
48
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'RephraseResponse' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "rephrased_results"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "sentence_count"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,15 +34,14 @@ describe 'RephrasedSentenceOption' do
34
34
  end
35
35
  describe 'test attribute "rephrased_option_index"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "rephrased_sentence_text"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  end
48
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'RephrasedSentence' do
34
34
  end
35
35
  describe 'test attribute "sentence_index"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "original_sentence_text"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "rephrasings"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,9 +34,8 @@ describe 'SentenceSegmentationRequest' do
34
34
  end
35
35
  describe 'test attribute "input_string"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  end
42
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'SentenceSegmentationResponse' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "sentences"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "sentence_count"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,9 +34,8 @@ describe 'SentimentAnalysisRequest' do
34
34
  end
35
35
  describe 'test attribute "text_to_analyze"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  end
42
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,27 +34,26 @@ describe 'SentimentAnalysisResponse' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "sentiment_classification_result"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "sentiment_score_result"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  describe 'test attribute "sentence_count"' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
59
  end
60
-
@@ -0,0 +1,47 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveNlpApiClient::SimilarityAnalysisRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SimilarityAnalysisRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveNlpApiClient::SimilarityAnalysisRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SimilarityAnalysisRequest' do
31
+ it 'should create an instance of SimilarityAnalysisRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SimilarityAnalysisRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "text_to_analyze1"' 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 "text_to_analyze2"' 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
@@ -0,0 +1,53 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveNlpApiClient::SimilarityAnalysisResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SimilarityAnalysisResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveNlpApiClient::SimilarityAnalysisResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SimilarityAnalysisResponse' do
31
+ it 'should create an instance of SimilarityAnalysisResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SimilarityAnalysisResponse)
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 "similarity_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
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,9 +34,8 @@ describe 'SubjectivityAnalysisRequest' do
34
34
  end
35
35
  describe 'test attribute "text_to_analyze"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  end
42
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,21 +34,20 @@ describe 'SubjectivityAnalysisResponse' do
34
34
  end
35
35
  describe 'test attribute "successful"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "subjectivity_score_result"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "sentence_count"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  end
54
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -34,27 +34,26 @@ describe 'WordPosition' do
34
34
  end
35
35
  describe 'test attribute "word"' do
36
36
  it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
41
  describe 'test attribute "word_index"' do
42
42
  it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
47
  describe 'test attribute "start_position"' do
48
48
  it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
53
  describe 'test attribute "end_position"' do
54
54
  it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
59
  end
60
-
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: v1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-nlp-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-09 00:00:00.000000000 Z
11
+ date: 2020-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -215,6 +215,8 @@ files:
215
215
  - "./docs/ExtractEntitiesResponse.md"
216
216
  - "./docs/GetWordsRequest.md"
217
217
  - "./docs/GetWordsResponse.md"
218
+ - "./docs/HateSpeechAnalysisRequest.md"
219
+ - "./docs/HateSpeechAnalysisResponse.md"
218
220
  - "./docs/LanguageDetectionApi.md"
219
221
  - "./docs/LanguageDetectionRequest.md"
220
222
  - "./docs/LanguageDetectionResponse.md"
@@ -241,6 +243,8 @@ files:
241
243
  - "./docs/SentenceSegmentationResponse.md"
242
244
  - "./docs/SentimentAnalysisRequest.md"
243
245
  - "./docs/SentimentAnalysisResponse.md"
246
+ - "./docs/SimilarityAnalysisRequest.md"
247
+ - "./docs/SimilarityAnalysisResponse.md"
244
248
  - "./docs/SpellcheckApi.md"
245
249
  - "./docs/SubjectivityAnalysisRequest.md"
246
250
  - "./docs/SubjectivityAnalysisResponse.md"
@@ -269,6 +273,8 @@ files:
269
273
  - "./lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb"
270
274
  - "./lib/cloudmersive-nlp-api-client/models/get_words_request.rb"
271
275
  - "./lib/cloudmersive-nlp-api-client/models/get_words_response.rb"
276
+ - "./lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_request.rb"
277
+ - "./lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb"
272
278
  - "./lib/cloudmersive-nlp-api-client/models/language_detection_request.rb"
273
279
  - "./lib/cloudmersive-nlp-api-client/models/language_detection_response.rb"
274
280
  - "./lib/cloudmersive-nlp-api-client/models/language_translation_request.rb"
@@ -289,6 +295,8 @@ files:
289
295
  - "./lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb"
290
296
  - "./lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb"
291
297
  - "./lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb"
298
+ - "./lib/cloudmersive-nlp-api-client/models/similarity_analysis_request.rb"
299
+ - "./lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb"
292
300
  - "./lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb"
293
301
  - "./lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb"
294
302
  - "./lib/cloudmersive-nlp-api-client/models/word_position.rb"
@@ -314,6 +322,8 @@ files:
314
322
  - "./spec/models/extract_entities_response_spec.rb"
315
323
  - "./spec/models/get_words_request_spec.rb"
316
324
  - "./spec/models/get_words_response_spec.rb"
325
+ - "./spec/models/hate_speech_analysis_request_spec.rb"
326
+ - "./spec/models/hate_speech_analysis_response_spec.rb"
317
327
  - "./spec/models/language_detection_request_spec.rb"
318
328
  - "./spec/models/language_detection_response_spec.rb"
319
329
  - "./spec/models/language_translation_request_spec.rb"
@@ -334,6 +344,8 @@ files:
334
344
  - "./spec/models/sentence_segmentation_response_spec.rb"
335
345
  - "./spec/models/sentiment_analysis_request_spec.rb"
336
346
  - "./spec/models/sentiment_analysis_response_spec.rb"
347
+ - "./spec/models/similarity_analysis_request_spec.rb"
348
+ - "./spec/models/similarity_analysis_response_spec.rb"
337
349
  - "./spec/models/subjectivity_analysis_request_spec.rb"
338
350
  - "./spec/models/subjectivity_analysis_response_spec.rb"
339
351
  - "./spec/models/word_position_spec.rb"