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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f6ebc52a41b9d3bcfe79a000a265347b93ececbd5c83104c49ead837215bb39
4
- data.tar.gz: 945e33b59e45792703388182c70a53b4ebbd24480ab47bb81dfc667054ac360f
3
+ metadata.gz: 8733d957764127503df73ebaca98db7e08cedb04239f21c08aec7d24e5475a2f
4
+ data.tar.gz: 98238e045ce079d7e5a3e8ee9ad730a5d9a6b8f94a3c542e72bed91208c78cd9
5
5
  SHA512:
6
- metadata.gz: 5870e53fb640715ecfb710cdc53365b8dd796514da7589f809fb82618d4c95e46812f21b228b74f0884ed6c4c00531197c95259d0ab9ab2ab1522c1500c6a5f7
7
- data.tar.gz: 77f70ea3b78f5896f9affa8b97c755e1139bab09f365ca57e936d1786c86e124d46a4a2809414b78135794bfcb270dfe92c12de8b1ed1264d8061aaaf66b07ab
6
+ metadata.gz: 608519777e670d79b69e13dc396ce396764beaf8fcd7fdc64b5263f9a4380259946961ba655d0b8962fcc63562b5385367103c0d2dc265a50f33ea353c60c90c
7
+ data.tar.gz: a34ab7c4d104335bed6dcfa4345a8b595f83fd0ef8cb03899c3b3a899d35751de0ce1fd162e5565481b0e2ea947cde90cb3529a61baf79dc49e9decbfc40fcf1
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # cloudmersive-nlp-api-client
2
2
 
3
- CloudmersiveNlpApiClient - the Ruby gem for the nlpapi
3
+ CloudmersiveNlpApiClient - the Ruby gem for the nlpapiv2
4
4
 
5
- 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.
5
+ 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.
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 1.2.9
10
+ - Package version: 2.0.1
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build cloudmersive-nlp-api-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./cloudmersive-nlp-api-client-1.2.9.gem
26
+ gem install ./cloudmersive-nlp-api-client-2.0.1.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-nlp-api-client-1.2.9.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-nlp-api-client-2.0.1.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'cloudmersive-nlp-api-client', '~> 1.2.9'
34
+ gem 'cloudmersive-nlp-api-client', '~> 2.0.1'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -62,17 +62,17 @@ CloudmersiveNlpApiClient.configure do |config|
62
62
  #config.api_key_prefix['Apikey'] = 'Bearer'
63
63
  end
64
64
 
65
- api_instance = CloudmersiveNlpApiClient::ExtractEntitiesStringApi.new
65
+ api_instance = CloudmersiveNlpApiClient::ExtractEntitiesApi.new
66
66
 
67
- value = "value_example" # String | Input string
67
+ value = CloudmersiveNlpApiClient::ExtractEntitiesRequest.new # ExtractEntitiesRequest | Input string
68
68
 
69
69
 
70
70
  begin
71
71
  #Extract entities from string
72
- result = api_instance.extract_entities_string_post(value)
72
+ result = api_instance.extract_entities_post(value)
73
73
  p result
74
74
  rescue CloudmersiveNlpApiClient::ApiError => e
75
- puts "Exception when calling ExtractEntitiesStringApi->extract_entities_string_post: #{e}"
75
+ puts "Exception when calling ExtractEntitiesApi->extract_entities_post: #{e}"
76
76
  end
77
77
 
78
78
  ```
@@ -83,40 +83,43 @@ All URIs are relative to *https://api.cloudmersive.com*
83
83
 
84
84
  Class | Method | HTTP request | Description
85
85
  ------------ | ------------- | ------------- | -------------
86
- *CloudmersiveNlpApiClient::ExtractEntitiesStringApi* | [**extract_entities_string_post**](docs/ExtractEntitiesStringApi.md#extract_entities_string_post) | **POST** /nlp/ExtractEntitiesString | Extract entities from string
87
- *CloudmersiveNlpApiClient::LanguageDetectionApi* | [**language_detection_post**](docs/LanguageDetectionApi.md#language_detection_post) | **POST** /nlp/language/detect | Detect language of text
88
- *CloudmersiveNlpApiClient::ParseStringApi* | [**parse_string_post**](docs/ParseStringApi.md#parse_string_post) | **POST** /nlp/ParseString | Parse string to syntax tree
89
- *CloudmersiveNlpApiClient::PosTaggerJsonApi* | [**pos_tagger_json_post**](docs/PosTaggerJsonApi.md#pos_tagger_json_post) | **POST** /nlp/PosTaggerJson | Part-of-speech tag a string
90
- *CloudmersiveNlpApiClient::PosTaggerStringApi* | [**pos_tagger_string_post**](docs/PosTaggerStringApi.md#pos_tagger_string_post) | **POST** /nlp/PosTaggerString | Part-of-speech tag a string
91
- *CloudmersiveNlpApiClient::SentencesApi* | [**sentences_post**](docs/SentencesApi.md#sentences_post) | **POST** /nlp/get/sentences/string | Extract sentences from string
92
- *CloudmersiveNlpApiClient::SpellCheckApi* | [**spell_check_check_json**](docs/SpellCheckApi.md#spell_check_check_json) | **POST** /nlp/spellcheck/check/word/json | Spell check word
93
- *CloudmersiveNlpApiClient::SpellCheckApi* | [**spell_check_check_sentence_json**](docs/SpellCheckApi.md#spell_check_check_sentence_json) | **POST** /nlp/spellcheck/check/sentence/json | Check if sentence is spelled correctly
94
- *CloudmersiveNlpApiClient::SpellCheckApi* | [**spell_check_check_sentence_string**](docs/SpellCheckApi.md#spell_check_check_sentence_string) | **POST** /nlp/spellcheck/check/sentence/string | Spell check a sentence
95
- *CloudmersiveNlpApiClient::SpellCheckApi* | [**spell_check_correct**](docs/SpellCheckApi.md#spell_check_correct) | **POST** /nlp/spellcheck/correct/word/string | Find spelling corrections
96
- *CloudmersiveNlpApiClient::SpellCheckApi* | [**spell_check_correct_json**](docs/SpellCheckApi.md#spell_check_correct_json) | **POST** /nlp/spellcheck/correct/word/json | Find spelling corrections
97
- *CloudmersiveNlpApiClient::SpellCheckApi* | [**spell_check_post**](docs/SpellCheckApi.md#spell_check_post) | **POST** /nlp/spellcheck/check/word/string | Spell check a word
98
- *CloudmersiveNlpApiClient::WordsApi* | [**words_adjectives**](docs/WordsApi.md#words_adjectives) | **POST** /nlp/get/words/adjectives/string | Get adjectives in string
99
- *CloudmersiveNlpApiClient::WordsApi* | [**words_adverbs**](docs/WordsApi.md#words_adverbs) | **POST** /nlp/get/words/adverbs/string | Get adverbs in input string
100
- *CloudmersiveNlpApiClient::WordsApi* | [**words_get_words_json**](docs/WordsApi.md#words_get_words_json) | **POST** /nlp/get/words/json | Get words in input string (JSON)
101
- *CloudmersiveNlpApiClient::WordsApi* | [**words_get_words_string**](docs/WordsApi.md#words_get_words_string) | **POST** /nlp/get/words/string | Get words from string
102
- *CloudmersiveNlpApiClient::WordsApi* | [**words_nouns**](docs/WordsApi.md#words_nouns) | **POST** /nlp/get/words/nouns/string | Get nouns in string
103
- *CloudmersiveNlpApiClient::WordsApi* | [**words_post**](docs/WordsApi.md#words_post) | **POST** /nlp/get/words/verbs/string | Get the verbs in a string
104
- *CloudmersiveNlpApiClient::WordsApi* | [**words_pronouns**](docs/WordsApi.md#words_pronouns) | **POST** /nlp/get/words/pronouns/string | Returns all pronounts in string
105
- *CloudmersiveNlpApiClient::WordsApi* | [**words_proper_nouns**](docs/WordsApi.md#words_proper_nouns) | **POST** /nlp/get/words/properNouns/string | Get proper nouns in a string
86
+ *CloudmersiveNlpApiClient::ExtractEntitiesApi* | [**extract_entities_post**](docs/ExtractEntitiesApi.md#extract_entities_post) | **POST** /nlp-v2/extract-entities | Extract entities from string
87
+ *CloudmersiveNlpApiClient::LanguageDetectionApi* | [**language_detection_get_language**](docs/LanguageDetectionApi.md#language_detection_get_language) | **POST** /nlp-v2/language/detect | Detect language of text
88
+ *CloudmersiveNlpApiClient::ParseApi* | [**parse_parse_string**](docs/ParseApi.md#parse_parse_string) | **POST** /nlp/parse/tree | Parse string to syntax tree
89
+ *CloudmersiveNlpApiClient::PosTaggerApi* | [**pos_tagger_tag_adjectives**](docs/PosTaggerApi.md#pos_tagger_tag_adjectives) | **POST** /nlp-v2/pos/tag/adjectives | Part-of-speech tag a string, filter to adjectives
90
+ *CloudmersiveNlpApiClient::PosTaggerApi* | [**pos_tagger_tag_adverbs**](docs/PosTaggerApi.md#pos_tagger_tag_adverbs) | **POST** /nlp-v2/pos/tag/adverbs | Part-of-speech tag a string, filter to adverbs
91
+ *CloudmersiveNlpApiClient::PosTaggerApi* | [**pos_tagger_tag_nouns**](docs/PosTaggerApi.md#pos_tagger_tag_nouns) | **POST** /nlp-v2/pos/tag/nouns | Part-of-speech tag a string, filter to nouns
92
+ *CloudmersiveNlpApiClient::PosTaggerApi* | [**pos_tagger_tag_pronouns**](docs/PosTaggerApi.md#pos_tagger_tag_pronouns) | **POST** /nlp-v2/pos/tag/pronouns | Part-of-speech tag a string, filter to pronouns
93
+ *CloudmersiveNlpApiClient::PosTaggerApi* | [**pos_tagger_tag_sentence**](docs/PosTaggerApi.md#pos_tagger_tag_sentence) | **POST** /nlp-v2/pos/tag/sentence | Part-of-speech tag a string
94
+ *CloudmersiveNlpApiClient::PosTaggerApi* | [**pos_tagger_tag_verbs**](docs/PosTaggerApi.md#pos_tagger_tag_verbs) | **POST** /nlp-v2/pos/tag/verbs | Part-of-speech tag a string, filter to verbs
95
+ *CloudmersiveNlpApiClient::SegmentationApi* | [**segmentation_get_sentences**](docs/SegmentationApi.md#segmentation_get_sentences) | **POST** /nlp-v2/segmentation/sentences | Extract sentences from string
96
+ *CloudmersiveNlpApiClient::SegmentationApi* | [**segmentation_get_words**](docs/SegmentationApi.md#segmentation_get_words) | **POST** /nlp-v2/segmentation/words | Get words in input string
97
+ *CloudmersiveNlpApiClient::SpellcheckApi* | [**spellcheck_check_sentence**](docs/SpellcheckApi.md#spellcheck_check_sentence) | **POST** /nlp-v2/spellcheck/check/sentence | Check if sentence is spelled correctly
98
+ *CloudmersiveNlpApiClient::SpellcheckApi* | [**spellcheck_correct_json**](docs/SpellcheckApi.md#spellcheck_correct_json) | **POST** /nlp-v2/spellcheck/check/word | Find spelling corrections
106
99
 
107
100
 
108
101
  ## Documentation for Models
109
102
 
110
- - [CloudmersiveNlpApiClient::CheckJsonResponse](docs/CheckJsonResponse.md)
111
- - [CloudmersiveNlpApiClient::CheckSentenceJsonResponse](docs/CheckSentenceJsonResponse.md)
112
- - [CloudmersiveNlpApiClient::CorrectJsonResponse](docs/CorrectJsonResponse.md)
113
- - [CloudmersiveNlpApiClient::CorrectWordInSentenceJsonResponse](docs/CorrectWordInSentenceJsonResponse.md)
114
- - [CloudmersiveNlpApiClient::GetWordsJsonResponse](docs/GetWordsJsonResponse.md)
103
+ - [CloudmersiveNlpApiClient::CheckSentenceRequest](docs/CheckSentenceRequest.md)
104
+ - [CloudmersiveNlpApiClient::CheckSentenceResponse](docs/CheckSentenceResponse.md)
105
+ - [CloudmersiveNlpApiClient::CheckWordRequest](docs/CheckWordRequest.md)
106
+ - [CloudmersiveNlpApiClient::CheckWordResponse](docs/CheckWordResponse.md)
107
+ - [CloudmersiveNlpApiClient::CorrectWordInSentence](docs/CorrectWordInSentence.md)
108
+ - [CloudmersiveNlpApiClient::Entity](docs/Entity.md)
109
+ - [CloudmersiveNlpApiClient::ExtractEntitiesRequest](docs/ExtractEntitiesRequest.md)
110
+ - [CloudmersiveNlpApiClient::ExtractEntitiesResponse](docs/ExtractEntitiesResponse.md)
111
+ - [CloudmersiveNlpApiClient::GetWordsRequest](docs/GetWordsRequest.md)
112
+ - [CloudmersiveNlpApiClient::GetWordsResponse](docs/GetWordsResponse.md)
113
+ - [CloudmersiveNlpApiClient::LanguageDetectionRequest](docs/LanguageDetectionRequest.md)
115
114
  - [CloudmersiveNlpApiClient::LanguageDetectionResponse](docs/LanguageDetectionResponse.md)
115
+ - [CloudmersiveNlpApiClient::ParseRequest](docs/ParseRequest.md)
116
+ - [CloudmersiveNlpApiClient::ParseResponse](docs/ParseResponse.md)
116
117
  - [CloudmersiveNlpApiClient::PosRequest](docs/PosRequest.md)
117
118
  - [CloudmersiveNlpApiClient::PosResponse](docs/PosResponse.md)
118
119
  - [CloudmersiveNlpApiClient::PosSentence](docs/PosSentence.md)
119
120
  - [CloudmersiveNlpApiClient::PosTaggedWord](docs/PosTaggedWord.md)
121
+ - [CloudmersiveNlpApiClient::SentenceSegmentationRequest](docs/SentenceSegmentationRequest.md)
122
+ - [CloudmersiveNlpApiClient::SentenceSegmentationResponse](docs/SentenceSegmentationResponse.md)
120
123
  - [CloudmersiveNlpApiClient::WordPosition](docs/WordPosition.md)
121
124
 
122
125
 
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  #
3
3
  =begin
4
- #nlpapi
4
+ #nlpapiv2
5
5
 
6
- #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.
6
+ #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.
7
7
 
8
8
  OpenAPI spec version: v1
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: unset
11
+ Swagger Codegen version: 2.3.1
12
12
 
13
13
  =end
14
14
 
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::CheckSentenceRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **sentence** | **String** | Input sentence for spell check | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveNlpApiClient::CheckSentenceResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **incorrect_count** | **Integer** | Number of incorrect words | [optional]
7
+ **words** | [**Array<CorrectWordInSentence>**](CorrectWordInSentence.md) | Words in the sentence, both correct and incorrect | [optional]
8
+
9
+
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::CheckWordRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **word** | **String** | | [optional]
7
+
8
+
@@ -1,4 +1,4 @@
1
- # CloudmersiveNlpApiClient::CorrectJsonResponse
1
+ # CloudmersiveNlpApiClient::CheckWordResponse
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
@@ -1,4 +1,4 @@
1
- # CloudmersiveNlpApiClient::CorrectWordInSentenceJsonResponse
1
+ # CloudmersiveNlpApiClient::CorrectWordInSentence
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
@@ -0,0 +1,9 @@
1
+ # CloudmersiveNlpApiClient::Entity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **entity_type** | **String** | | [optional]
7
+ **entity_text** | **String** | | [optional]
8
+
9
+
@@ -1,14 +1,14 @@
1
- # CloudmersiveNlpApiClient::ExtractEntitiesStringApi
1
+ # CloudmersiveNlpApiClient::ExtractEntitiesApi
2
2
 
3
3
  All URIs are relative to *https://api.cloudmersive.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**extract_entities_string_post**](ExtractEntitiesStringApi.md#extract_entities_string_post) | **POST** /nlp/ExtractEntitiesString | Extract entities from string
7
+ [**extract_entities_post**](ExtractEntitiesApi.md#extract_entities_post) | **POST** /nlp-v2/extract-entities | Extract entities from string
8
8
 
9
9
 
10
- # **extract_entities_string_post**
11
- > String extract_entities_string_post(value)
10
+ # **extract_entities_post**
11
+ > ExtractEntitiesResponse extract_entities_post(value)
12
12
 
13
13
  Extract entities from string
14
14
 
@@ -26,17 +26,17 @@ CloudmersiveNlpApiClient.configure do |config|
26
26
  #config.api_key_prefix['Apikey'] = 'Bearer'
27
27
  end
28
28
 
29
- api_instance = CloudmersiveNlpApiClient::ExtractEntitiesStringApi.new
29
+ api_instance = CloudmersiveNlpApiClient::ExtractEntitiesApi.new
30
30
 
31
- value = "value_example" # String | Input string
31
+ value = CloudmersiveNlpApiClient::ExtractEntitiesRequest.new # ExtractEntitiesRequest | Input string
32
32
 
33
33
 
34
34
  begin
35
35
  #Extract entities from string
36
- result = api_instance.extract_entities_string_post(value)
36
+ result = api_instance.extract_entities_post(value)
37
37
  p result
38
38
  rescue CloudmersiveNlpApiClient::ApiError => e
39
- puts "Exception when calling ExtractEntitiesStringApi->extract_entities_string_post: #{e}"
39
+ puts "Exception when calling ExtractEntitiesApi->extract_entities_post: #{e}"
40
40
  end
41
41
  ```
42
42
 
@@ -44,11 +44,11 @@ end
44
44
 
45
45
  Name | Type | Description | Notes
46
46
  ------------- | ------------- | ------------- | -------------
47
- **value** | **String**| Input string |
47
+ **value** | [**ExtractEntitiesRequest**](ExtractEntitiesRequest.md)| Input string |
48
48
 
49
49
  ### Return type
50
50
 
51
- **String**
51
+ [**ExtractEntitiesResponse**](ExtractEntitiesResponse.md)
52
52
 
53
53
  ### Authorization
54
54
 
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::ExtractEntitiesRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **input_string** | **String** | Input string to extract entities from | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveNlpApiClient::ExtractEntitiesResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
7
+ **entities** | [**Array<Entity>**](Entity.md) | | [optional]
8
+
9
+
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::GetWordsRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **input_text** | **String** | | [optional]
7
+
8
+
@@ -1,4 +1,4 @@
1
- # CloudmersiveNlpApiClient::GetWordsJsonResponse
1
+ # CloudmersiveNlpApiClient::GetWordsResponse
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
@@ -4,11 +4,11 @@ All URIs are relative to *https://api.cloudmersive.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**language_detection_post**](LanguageDetectionApi.md#language_detection_post) | **POST** /nlp/language/detect | Detect language of text
7
+ [**language_detection_get_language**](LanguageDetectionApi.md#language_detection_get_language) | **POST** /nlp-v2/language/detect | Detect language of text
8
8
 
9
9
 
10
- # **language_detection_post**
11
- > LanguageDetectionResponse language_detection_post(text_to_detect)
10
+ # **language_detection_get_language**
11
+ > LanguageDetectionResponse language_detection_get_language(input)
12
12
 
13
13
  Detect language of text
14
14
 
@@ -28,15 +28,15 @@ end
28
28
 
29
29
  api_instance = CloudmersiveNlpApiClient::LanguageDetectionApi.new
30
30
 
31
- text_to_detect = "text_to_detect_example" # String | Text to detect language of
31
+ input = CloudmersiveNlpApiClient::LanguageDetectionRequest.new # LanguageDetectionRequest |
32
32
 
33
33
 
34
34
  begin
35
35
  #Detect language of text
36
- result = api_instance.language_detection_post(text_to_detect)
36
+ result = api_instance.language_detection_get_language(input)
37
37
  p result
38
38
  rescue CloudmersiveNlpApiClient::ApiError => e
39
- puts "Exception when calling LanguageDetectionApi->language_detection_post: #{e}"
39
+ puts "Exception when calling LanguageDetectionApi->language_detection_get_language: #{e}"
40
40
  end
41
41
  ```
42
42
 
@@ -44,7 +44,7 @@ end
44
44
 
45
45
  Name | Type | Description | Notes
46
46
  ------------- | ------------- | ------------- | -------------
47
- **text_to_detect** | **String**| Text to detect language of |
47
+ **input** | [**LanguageDetectionRequest**](LanguageDetectionRequest.md)| |
48
48
 
49
49
  ### Return type
50
50
 
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::LanguageDetectionRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **text_to_detect** | **String** | Text to detect the language of | [optional]
7
+
8
+
@@ -1,14 +1,14 @@
1
- # CloudmersiveNlpApiClient::ParseStringApi
1
+ # CloudmersiveNlpApiClient::ParseApi
2
2
 
3
3
  All URIs are relative to *https://api.cloudmersive.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**parse_string_post**](ParseStringApi.md#parse_string_post) | **POST** /nlp/ParseString | Parse string to syntax tree
7
+ [**parse_parse_string**](ParseApi.md#parse_parse_string) | **POST** /nlp/parse/tree | Parse string to syntax tree
8
8
 
9
9
 
10
- # **parse_string_post**
11
- > String parse_string_post(input)
10
+ # **parse_parse_string**
11
+ > ParseResponse parse_parse_string(input)
12
12
 
13
13
  Parse string to syntax tree
14
14
 
@@ -26,17 +26,17 @@ CloudmersiveNlpApiClient.configure do |config|
26
26
  #config.api_key_prefix['Apikey'] = 'Bearer'
27
27
  end
28
28
 
29
- api_instance = CloudmersiveNlpApiClient::ParseStringApi.new
29
+ api_instance = CloudmersiveNlpApiClient::ParseApi.new
30
30
 
31
- input = "input_example" # String | Input string
31
+ input = CloudmersiveNlpApiClient::ParseRequest.new # ParseRequest | Input string
32
32
 
33
33
 
34
34
  begin
35
35
  #Parse string to syntax tree
36
- result = api_instance.parse_string_post(input)
36
+ result = api_instance.parse_parse_string(input)
37
37
  p result
38
38
  rescue CloudmersiveNlpApiClient::ApiError => e
39
- puts "Exception when calling ParseStringApi->parse_string_post: #{e}"
39
+ puts "Exception when calling ParseApi->parse_parse_string: #{e}"
40
40
  end
41
41
  ```
42
42
 
@@ -44,11 +44,11 @@ end
44
44
 
45
45
  Name | Type | Description | Notes
46
46
  ------------- | ------------- | ------------- | -------------
47
- **input** | **String**| Input string |
47
+ **input** | [**ParseRequest**](ParseRequest.md)| Input string |
48
48
 
49
49
  ### Return type
50
50
 
51
- **String**
51
+ [**ParseResponse**](ParseResponse.md)
52
52
 
53
53
  ### Authorization
54
54
 
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::ParseRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **input_string** | **String** | Input string to linguistically parse | [optional]
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::ParseResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **parse_tree** | **String** | Parse tree in Penn Treebank syntax tree format | [optional]
7
+
8
+
@@ -1,23 +1,23 @@
1
- # CloudmersiveNlpApiClient::SpellCheckApi
1
+ # CloudmersiveNlpApiClient::PosTaggerApi
2
2
 
3
3
  All URIs are relative to *https://api.cloudmersive.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**spell_check_check_json**](SpellCheckApi.md#spell_check_check_json) | **POST** /nlp/spellcheck/check/word/json | Spell check word
8
- [**spell_check_check_sentence_json**](SpellCheckApi.md#spell_check_check_sentence_json) | **POST** /nlp/spellcheck/check/sentence/json | Check if sentence is spelled correctly
9
- [**spell_check_check_sentence_string**](SpellCheckApi.md#spell_check_check_sentence_string) | **POST** /nlp/spellcheck/check/sentence/string | Spell check a sentence
10
- [**spell_check_correct**](SpellCheckApi.md#spell_check_correct) | **POST** /nlp/spellcheck/correct/word/string | Find spelling corrections
11
- [**spell_check_correct_json**](SpellCheckApi.md#spell_check_correct_json) | **POST** /nlp/spellcheck/correct/word/json | Find spelling corrections
12
- [**spell_check_post**](SpellCheckApi.md#spell_check_post) | **POST** /nlp/spellcheck/check/word/string | Spell check a word
7
+ [**pos_tagger_tag_adjectives**](PosTaggerApi.md#pos_tagger_tag_adjectives) | **POST** /nlp-v2/pos/tag/adjectives | Part-of-speech tag a string, filter to adjectives
8
+ [**pos_tagger_tag_adverbs**](PosTaggerApi.md#pos_tagger_tag_adverbs) | **POST** /nlp-v2/pos/tag/adverbs | Part-of-speech tag a string, filter to adverbs
9
+ [**pos_tagger_tag_nouns**](PosTaggerApi.md#pos_tagger_tag_nouns) | **POST** /nlp-v2/pos/tag/nouns | Part-of-speech tag a string, filter to nouns
10
+ [**pos_tagger_tag_pronouns**](PosTaggerApi.md#pos_tagger_tag_pronouns) | **POST** /nlp-v2/pos/tag/pronouns | Part-of-speech tag a string, filter to pronouns
11
+ [**pos_tagger_tag_sentence**](PosTaggerApi.md#pos_tagger_tag_sentence) | **POST** /nlp-v2/pos/tag/sentence | Part-of-speech tag a string
12
+ [**pos_tagger_tag_verbs**](PosTaggerApi.md#pos_tagger_tag_verbs) | **POST** /nlp-v2/pos/tag/verbs | Part-of-speech tag a string, filter to verbs
13
13
 
14
14
 
15
- # **spell_check_check_json**
16
- > CheckJsonResponse spell_check_check_json(value)
15
+ # **pos_tagger_tag_adjectives**
16
+ > PosResponse pos_tagger_tag_adjectives(request)
17
17
 
18
- Spell check word
18
+ Part-of-speech tag a string, filter to adjectives
19
19
 
20
- Spell check a word as JSON
20
+ Part-of-speech (POS) tag a string, find the adjectives, and return result as JSON
21
21
 
22
22
  ### Example
23
23
  ```ruby
@@ -31,17 +31,17 @@ CloudmersiveNlpApiClient.configure do |config|
31
31
  #config.api_key_prefix['Apikey'] = 'Bearer'
32
32
  end
33
33
 
34
- api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
34
+ api_instance = CloudmersiveNlpApiClient::PosTaggerApi.new
35
35
 
36
- value = "value_example" # String | Input sentence
36
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
37
37
 
38
38
 
39
39
  begin
40
- #Spell check word
41
- result = api_instance.spell_check_check_json(value)
40
+ #Part-of-speech tag a string, filter to adjectives
41
+ result = api_instance.pos_tagger_tag_adjectives(request)
42
42
  p result
43
43
  rescue CloudmersiveNlpApiClient::ApiError => e
44
- puts "Exception when calling SpellCheckApi->spell_check_check_json: #{e}"
44
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_adjectives: #{e}"
45
45
  end
46
46
  ```
47
47
 
@@ -49,11 +49,11 @@ end
49
49
 
50
50
  Name | Type | Description | Notes
51
51
  ------------- | ------------- | ------------- | -------------
52
- **value** | **String**| Input sentence |
52
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
53
53
 
54
54
  ### Return type
55
55
 
56
- [**CheckJsonResponse**](CheckJsonResponse.md)
56
+ [**PosResponse**](PosResponse.md)
57
57
 
58
58
  ### Authorization
59
59
 
@@ -66,12 +66,12 @@ Name | Type | Description | Notes
66
66
 
67
67
 
68
68
 
69
- # **spell_check_check_sentence_json**
70
- > CheckSentenceJsonResponse spell_check_check_sentence_json(value)
69
+ # **pos_tagger_tag_adverbs**
70
+ > PosResponse pos_tagger_tag_adverbs(request)
71
71
 
72
- Check if sentence is spelled correctly
72
+ Part-of-speech tag a string, filter to adverbs
73
73
 
74
- Checks whether the sentence is spelled correctly and returns the result as JSON
74
+ Part-of-speech (POS) tag a string, find the adverbs, and return result as JSON
75
75
 
76
76
  ### Example
77
77
  ```ruby
@@ -85,17 +85,17 @@ CloudmersiveNlpApiClient.configure do |config|
85
85
  #config.api_key_prefix['Apikey'] = 'Bearer'
86
86
  end
87
87
 
88
- api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
88
+ api_instance = CloudmersiveNlpApiClient::PosTaggerApi.new
89
89
 
90
- value = "value_example" # String | Input sentence
90
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
91
91
 
92
92
 
93
93
  begin
94
- #Check if sentence is spelled correctly
95
- result = api_instance.spell_check_check_sentence_json(value)
94
+ #Part-of-speech tag a string, filter to adverbs
95
+ result = api_instance.pos_tagger_tag_adverbs(request)
96
96
  p result
97
97
  rescue CloudmersiveNlpApiClient::ApiError => e
98
- puts "Exception when calling SpellCheckApi->spell_check_check_sentence_json: #{e}"
98
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_adverbs: #{e}"
99
99
  end
100
100
  ```
101
101
 
@@ -103,11 +103,11 @@ end
103
103
 
104
104
  Name | Type | Description | Notes
105
105
  ------------- | ------------- | ------------- | -------------
106
- **value** | **String**| Input sentence |
106
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
107
107
 
108
108
  ### Return type
109
109
 
110
- [**CheckSentenceJsonResponse**](CheckSentenceJsonResponse.md)
110
+ [**PosResponse**](PosResponse.md)
111
111
 
112
112
  ### Authorization
113
113
 
@@ -120,12 +120,12 @@ Name | Type | Description | Notes
120
120
 
121
121
 
122
122
 
123
- # **spell_check_check_sentence_string**
124
- > BOOLEAN spell_check_check_sentence_string(value)
123
+ # **pos_tagger_tag_nouns**
124
+ > PosResponse pos_tagger_tag_nouns(request)
125
125
 
126
- Spell check a sentence
126
+ Part-of-speech tag a string, filter to nouns
127
127
 
128
- Check if a sentence is spelled correctly
128
+ Part-of-speech (POS) tag a string, find the nouns, and return result as JSON
129
129
 
130
130
  ### Example
131
131
  ```ruby
@@ -139,17 +139,17 @@ CloudmersiveNlpApiClient.configure do |config|
139
139
  #config.api_key_prefix['Apikey'] = 'Bearer'
140
140
  end
141
141
 
142
- api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
142
+ api_instance = CloudmersiveNlpApiClient::PosTaggerApi.new
143
143
 
144
- value = "value_example" # String | Input sentence word
144
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
145
145
 
146
146
 
147
147
  begin
148
- #Spell check a sentence
149
- result = api_instance.spell_check_check_sentence_string(value)
148
+ #Part-of-speech tag a string, filter to nouns
149
+ result = api_instance.pos_tagger_tag_nouns(request)
150
150
  p result
151
151
  rescue CloudmersiveNlpApiClient::ApiError => e
152
- puts "Exception when calling SpellCheckApi->spell_check_check_sentence_string: #{e}"
152
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_nouns: #{e}"
153
153
  end
154
154
  ```
155
155
 
@@ -157,11 +157,11 @@ end
157
157
 
158
158
  Name | Type | Description | Notes
159
159
  ------------- | ------------- | ------------- | -------------
160
- **value** | **String**| Input sentence word |
160
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
161
161
 
162
162
  ### Return type
163
163
 
164
- **BOOLEAN**
164
+ [**PosResponse**](PosResponse.md)
165
165
 
166
166
  ### Authorization
167
167
 
@@ -174,12 +174,12 @@ Name | Type | Description | Notes
174
174
 
175
175
 
176
176
 
177
- # **spell_check_correct**
178
- > String spell_check_correct(value)
177
+ # **pos_tagger_tag_pronouns**
178
+ > PosResponse pos_tagger_tag_pronouns(request)
179
179
 
180
- Find spelling corrections
180
+ Part-of-speech tag a string, filter to pronouns
181
181
 
182
- Find the spelling corrections for a word
182
+ Part-of-speech (POS) tag a string, find the pronouns, and return result as JSON
183
183
 
184
184
  ### Example
185
185
  ```ruby
@@ -193,17 +193,17 @@ CloudmersiveNlpApiClient.configure do |config|
193
193
  #config.api_key_prefix['Apikey'] = 'Bearer'
194
194
  end
195
195
 
196
- api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
196
+ api_instance = CloudmersiveNlpApiClient::PosTaggerApi.new
197
197
 
198
- value = "value_example" # String | Input word
198
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
199
199
 
200
200
 
201
201
  begin
202
- #Find spelling corrections
203
- result = api_instance.spell_check_correct(value)
202
+ #Part-of-speech tag a string, filter to pronouns
203
+ result = api_instance.pos_tagger_tag_pronouns(request)
204
204
  p result
205
205
  rescue CloudmersiveNlpApiClient::ApiError => e
206
- puts "Exception when calling SpellCheckApi->spell_check_correct: #{e}"
206
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_pronouns: #{e}"
207
207
  end
208
208
  ```
209
209
 
@@ -211,11 +211,11 @@ end
211
211
 
212
212
  Name | Type | Description | Notes
213
213
  ------------- | ------------- | ------------- | -------------
214
- **value** | **String**| Input word |
214
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
215
215
 
216
216
  ### Return type
217
217
 
218
- **String**
218
+ [**PosResponse**](PosResponse.md)
219
219
 
220
220
  ### Authorization
221
221
 
@@ -228,12 +228,12 @@ Name | Type | Description | Notes
228
228
 
229
229
 
230
230
 
231
- # **spell_check_correct_json**
232
- > CorrectJsonResponse spell_check_correct_json(value)
231
+ # **pos_tagger_tag_sentence**
232
+ > PosResponse pos_tagger_tag_sentence(request)
233
233
 
234
- Find spelling corrections
234
+ Part-of-speech tag a string
235
235
 
236
- Find spelling correction suggestions and return result as JSON
236
+ Part-of-speech (POS) tag a string and return result as JSON
237
237
 
238
238
  ### Example
239
239
  ```ruby
@@ -247,17 +247,17 @@ CloudmersiveNlpApiClient.configure do |config|
247
247
  #config.api_key_prefix['Apikey'] = 'Bearer'
248
248
  end
249
249
 
250
- api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
250
+ api_instance = CloudmersiveNlpApiClient::PosTaggerApi.new
251
251
 
252
- value = "value_example" # String | Input string
252
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
253
253
 
254
254
 
255
255
  begin
256
- #Find spelling corrections
257
- result = api_instance.spell_check_correct_json(value)
256
+ #Part-of-speech tag a string
257
+ result = api_instance.pos_tagger_tag_sentence(request)
258
258
  p result
259
259
  rescue CloudmersiveNlpApiClient::ApiError => e
260
- puts "Exception when calling SpellCheckApi->spell_check_correct_json: #{e}"
260
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_sentence: #{e}"
261
261
  end
262
262
  ```
263
263
 
@@ -265,11 +265,11 @@ end
265
265
 
266
266
  Name | Type | Description | Notes
267
267
  ------------- | ------------- | ------------- | -------------
268
- **value** | **String**| Input string |
268
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
269
269
 
270
270
  ### Return type
271
271
 
272
- [**CorrectJsonResponse**](CorrectJsonResponse.md)
272
+ [**PosResponse**](PosResponse.md)
273
273
 
274
274
  ### Authorization
275
275
 
@@ -282,12 +282,12 @@ Name | Type | Description | Notes
282
282
 
283
283
 
284
284
 
285
- # **spell_check_post**
286
- > BOOLEAN spell_check_post(value)
285
+ # **pos_tagger_tag_verbs**
286
+ > PosResponse pos_tagger_tag_verbs(request)
287
287
 
288
- Spell check a word
288
+ Part-of-speech tag a string, filter to verbs
289
289
 
290
- Check if a word is spelled correctly
290
+ Part-of-speech (POS) tag a string, find the verbs, and return result as JSON
291
291
 
292
292
  ### Example
293
293
  ```ruby
@@ -301,17 +301,17 @@ CloudmersiveNlpApiClient.configure do |config|
301
301
  #config.api_key_prefix['Apikey'] = 'Bearer'
302
302
  end
303
303
 
304
- api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
304
+ api_instance = CloudmersiveNlpApiClient::PosTaggerApi.new
305
305
 
306
- value = "value_example" # String | Input string word
306
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
307
307
 
308
308
 
309
309
  begin
310
- #Spell check a word
311
- result = api_instance.spell_check_post(value)
310
+ #Part-of-speech tag a string, filter to verbs
311
+ result = api_instance.pos_tagger_tag_verbs(request)
312
312
  p result
313
313
  rescue CloudmersiveNlpApiClient::ApiError => e
314
- puts "Exception when calling SpellCheckApi->spell_check_post: #{e}"
314
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_verbs: #{e}"
315
315
  end
316
316
  ```
317
317
 
@@ -319,11 +319,11 @@ end
319
319
 
320
320
  Name | Type | Description | Notes
321
321
  ------------- | ------------- | ------------- | -------------
322
- **value** | **String**| Input string word |
322
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
323
323
 
324
324
  ### Return type
325
325
 
326
- **BOOLEAN**
326
+ [**PosResponse**](PosResponse.md)
327
327
 
328
328
  ### Authorization
329
329