cloudmersive-nlp-api-client 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +131 -0
  4. data/Rakefile +8 -0
  5. data/cloudmersive-nlp-api-client.gemspec +45 -0
  6. data/docs/CheckJsonResponse.md +8 -0
  7. data/docs/CheckSentenceJsonResponse.md +9 -0
  8. data/docs/CorrectJsonResponse.md +9 -0
  9. data/docs/CorrectWordInSentenceJsonResponse.md +10 -0
  10. data/docs/ExtractEntitiesStringApi.md +63 -0
  11. data/docs/GetWordsJsonResponse.md +8 -0
  12. data/docs/LanguageDetectionApi.md +63 -0
  13. data/docs/LanguageDetectionResponse.md +10 -0
  14. data/docs/ParseStringApi.md +63 -0
  15. data/docs/PosRequest.md +8 -0
  16. data/docs/PosResponse.md +8 -0
  17. data/docs/PosSentence.md +8 -0
  18. data/docs/PosTaggedWord.md +9 -0
  19. data/docs/PosTaggerJsonApi.md +63 -0
  20. data/docs/PosTaggerStringApi.md +63 -0
  21. data/docs/SentencesApi.md +63 -0
  22. data/docs/SpellCheckApi.md +338 -0
  23. data/docs/WordPosition.md +11 -0
  24. data/docs/WordsApi.md +448 -0
  25. data/git_push.sh +55 -0
  26. data/lib/cloudmersive-nlp-api-client.rb +58 -0
  27. data/lib/cloudmersive-nlp-api-client/api/extract_entities_string_api.rb +78 -0
  28. data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +78 -0
  29. data/lib/cloudmersive-nlp-api-client/api/parse_string_api.rb +78 -0
  30. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_json_api.rb +78 -0
  31. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_string_api.rb +78 -0
  32. data/lib/cloudmersive-nlp-api-client/api/sentences_api.rb +78 -0
  33. data/lib/cloudmersive-nlp-api-client/api/spell_check_api.rb +353 -0
  34. data/lib/cloudmersive-nlp-api-client/api/words_api.rb +463 -0
  35. data/lib/cloudmersive-nlp-api-client/api_client.rb +389 -0
  36. data/lib/cloudmersive-nlp-api-client/api_error.rb +38 -0
  37. data/lib/cloudmersive-nlp-api-client/configuration.rb +209 -0
  38. data/lib/cloudmersive-nlp-api-client/models/check_json_response.rb +189 -0
  39. data/lib/cloudmersive-nlp-api-client/models/check_sentence_json_response.rb +201 -0
  40. data/lib/cloudmersive-nlp-api-client/models/correct_json_response.rb +201 -0
  41. data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence_json_response.rb +211 -0
  42. data/lib/cloudmersive-nlp-api-client/models/get_words_json_response.rb +191 -0
  43. data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +209 -0
  44. data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +189 -0
  45. data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +191 -0
  46. data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +191 -0
  47. data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +199 -0
  48. data/lib/cloudmersive-nlp-api-client/models/word_position.rb +219 -0
  49. data/lib/cloudmersive-nlp-api-client/version.rb +15 -0
  50. data/spec/api/extract_entities_string_api_spec.rb +47 -0
  51. data/spec/api/language_detection_api_spec.rb +47 -0
  52. data/spec/api/parse_string_api_spec.rb +47 -0
  53. data/spec/api/pos_tagger_json_api_spec.rb +47 -0
  54. data/spec/api/pos_tagger_string_api_spec.rb +47 -0
  55. data/spec/api/sentences_api_spec.rb +47 -0
  56. data/spec/api/spell_check_api_spec.rb +107 -0
  57. data/spec/api/words_api_spec.rb +131 -0
  58. data/spec/api_client_spec.rb +226 -0
  59. data/spec/configuration_spec.rb +42 -0
  60. data/spec/models/check_json_response_spec.rb +42 -0
  61. data/spec/models/check_sentence_json_response_spec.rb +48 -0
  62. data/spec/models/correct_json_response_spec.rb +48 -0
  63. data/spec/models/correct_word_in_sentence_json_response_spec.rb +54 -0
  64. data/spec/models/get_words_json_response_spec.rb +42 -0
  65. data/spec/models/language_detection_response_spec.rb +54 -0
  66. data/spec/models/pos_request_spec.rb +42 -0
  67. data/spec/models/pos_response_spec.rb +42 -0
  68. data/spec/models/pos_sentence_spec.rb +42 -0
  69. data/spec/models/pos_tagged_word_spec.rb +48 -0
  70. data/spec/models/word_position_spec.rb +60 -0
  71. data/spec/spec_helper.rb +111 -0
  72. metadata +296 -0
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::PosRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **input_text** | **String** | Input text string | [optional]
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::PosResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **tagged_sentences** | [**Array<PosSentence>**](PosSentence.md) | Sentences in the string | [optional]
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::PosSentence
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **words** | [**Array<PosTaggedWord>**](PosTaggedWord.md) | Words in the sentence | [optional]
7
+
8
+
@@ -0,0 +1,9 @@
1
+ # CloudmersiveNlpApiClient::PosTaggedWord
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **word** | **Object** | Word that was tagged | [optional]
7
+ **tag** | **Object** | Penn Treebank tag applied to the word | [optional]
8
+
9
+
@@ -0,0 +1,63 @@
1
+ # CloudmersiveNlpApiClient::PosTaggerJsonApi
2
+
3
+ All URIs are relative to *https://api.cloudmersive.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**pos_tagger_json_post**](PosTaggerJsonApi.md#pos_tagger_json_post) | **POST** /nlp/PosTaggerJson | Part-of-speech tag a string
8
+
9
+
10
+ # **pos_tagger_json_post**
11
+ > PosResponse pos_tagger_json_post(request)
12
+
13
+ Part-of-speech tag a string
14
+
15
+ Part-of-speech (POS) tag a string and return result as JSON
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'cloudmersive-nlp-api-client'
21
+ # setup authorization
22
+ CloudmersiveNlpApiClient.configure do |config|
23
+ # Configure API key authorization: Apikey
24
+ config.api_key['Apikey'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ #config.api_key_prefix['Apikey'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = CloudmersiveNlpApiClient::PosTaggerJsonApi.new
30
+
31
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
32
+
33
+
34
+ begin
35
+ #Part-of-speech tag a string
36
+ result = api_instance.pos_tagger_json_post(request)
37
+ p result
38
+ rescue CloudmersiveNlpApiClient::ApiError => e
39
+ puts "Exception when calling PosTaggerJsonApi->pos_tagger_json_post: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
48
+
49
+ ### Return type
50
+
51
+ [**PosResponse**](PosResponse.md)
52
+
53
+ ### Authorization
54
+
55
+ [Apikey](../README.md#Apikey)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
60
+ - **Accept**: application/json, text/json, application/xml, text/xml
61
+
62
+
63
+
@@ -0,0 +1,63 @@
1
+ # CloudmersiveNlpApiClient::PosTaggerStringApi
2
+
3
+ All URIs are relative to *https://api.cloudmersive.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**pos_tagger_string_post**](PosTaggerStringApi.md#pos_tagger_string_post) | **POST** /nlp/PosTaggerString | Part-of-speech tag a string
8
+
9
+
10
+ # **pos_tagger_string_post**
11
+ > String pos_tagger_string_post(input)
12
+
13
+ Part-of-speech tag a string
14
+
15
+ Perform a part-of-speech (POS) tagging on the input string.
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'cloudmersive-nlp-api-client'
21
+ # setup authorization
22
+ CloudmersiveNlpApiClient.configure do |config|
23
+ # Configure API key authorization: Apikey
24
+ config.api_key['Apikey'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ #config.api_key_prefix['Apikey'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = CloudmersiveNlpApiClient::PosTaggerStringApi.new
30
+
31
+ input = "input_example" # String | Input string
32
+
33
+
34
+ begin
35
+ #Part-of-speech tag a string
36
+ result = api_instance.pos_tagger_string_post(input)
37
+ p result
38
+ rescue CloudmersiveNlpApiClient::ApiError => e
39
+ puts "Exception when calling PosTaggerStringApi->pos_tagger_string_post: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **input** | **String**| Input string |
48
+
49
+ ### Return type
50
+
51
+ **String**
52
+
53
+ ### Authorization
54
+
55
+ [Apikey](../README.md#Apikey)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
60
+ - **Accept**: application/json, text/json, application/xml, text/xml
61
+
62
+
63
+
@@ -0,0 +1,63 @@
1
+ # CloudmersiveNlpApiClient::SentencesApi
2
+
3
+ All URIs are relative to *https://api.cloudmersive.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**sentences_post**](SentencesApi.md#sentences_post) | **POST** /nlp/get/sentences/string | Extract sentences from string
8
+
9
+
10
+ # **sentences_post**
11
+ > String sentences_post(input)
12
+
13
+ Extract sentences from string
14
+
15
+ Segment an input string into separate sentences, output result as a string.
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'cloudmersive-nlp-api-client'
21
+ # setup authorization
22
+ CloudmersiveNlpApiClient.configure do |config|
23
+ # Configure API key authorization: Apikey
24
+ config.api_key['Apikey'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ #config.api_key_prefix['Apikey'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = CloudmersiveNlpApiClient::SentencesApi.new
30
+
31
+ input = "input_example" # String | Input string
32
+
33
+
34
+ begin
35
+ #Extract sentences from string
36
+ result = api_instance.sentences_post(input)
37
+ p result
38
+ rescue CloudmersiveNlpApiClient::ApiError => e
39
+ puts "Exception when calling SentencesApi->sentences_post: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **input** | **String**| Input string |
48
+
49
+ ### Return type
50
+
51
+ **String**
52
+
53
+ ### Authorization
54
+
55
+ [Apikey](../README.md#Apikey)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
60
+ - **Accept**: application/json, text/json, application/xml, text/xml
61
+
62
+
63
+
@@ -0,0 +1,338 @@
1
+ # CloudmersiveNlpApiClient::SpellCheckApi
2
+
3
+ All URIs are relative to *https://api.cloudmersive.com*
4
+
5
+ Method | HTTP request | Description
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
13
+
14
+
15
+ # **spell_check_check_json**
16
+ > CheckJsonResponse spell_check_check_json(value)
17
+
18
+ Spell check word
19
+
20
+ Spell check a word as JSON
21
+
22
+ ### Example
23
+ ```ruby
24
+ # load the gem
25
+ require 'cloudmersive-nlp-api-client'
26
+ # setup authorization
27
+ CloudmersiveNlpApiClient.configure do |config|
28
+ # Configure API key authorization: Apikey
29
+ config.api_key['Apikey'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ #config.api_key_prefix['Apikey'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
35
+
36
+ value = "value_example" # String | Input sentence
37
+
38
+
39
+ begin
40
+ #Spell check word
41
+ result = api_instance.spell_check_check_json(value)
42
+ p result
43
+ rescue CloudmersiveNlpApiClient::ApiError => e
44
+ puts "Exception when calling SpellCheckApi->spell_check_check_json: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **value** | **String**| Input sentence |
53
+
54
+ ### Return type
55
+
56
+ [**CheckJsonResponse**](CheckJsonResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ [Apikey](../README.md#Apikey)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
65
+ - **Accept**: application/json, text/json, application/xml, text/xml
66
+
67
+
68
+
69
+ # **spell_check_check_sentence_json**
70
+ > CheckSentenceJsonResponse spell_check_check_sentence_json(value)
71
+
72
+ Check if sentence is spelled correctly
73
+
74
+ Checks whether the sentence is spelled correctly and returns the result as JSON
75
+
76
+ ### Example
77
+ ```ruby
78
+ # load the gem
79
+ require 'cloudmersive-nlp-api-client'
80
+ # setup authorization
81
+ CloudmersiveNlpApiClient.configure do |config|
82
+ # Configure API key authorization: Apikey
83
+ config.api_key['Apikey'] = 'YOUR API KEY'
84
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
85
+ #config.api_key_prefix['Apikey'] = 'Bearer'
86
+ end
87
+
88
+ api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
89
+
90
+ value = "value_example" # String | Input sentence
91
+
92
+
93
+ begin
94
+ #Check if sentence is spelled correctly
95
+ result = api_instance.spell_check_check_sentence_json(value)
96
+ p result
97
+ rescue CloudmersiveNlpApiClient::ApiError => e
98
+ puts "Exception when calling SpellCheckApi->spell_check_check_sentence_json: #{e}"
99
+ end
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **value** | **String**| Input sentence |
107
+
108
+ ### Return type
109
+
110
+ [**CheckSentenceJsonResponse**](CheckSentenceJsonResponse.md)
111
+
112
+ ### Authorization
113
+
114
+ [Apikey](../README.md#Apikey)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
119
+ - **Accept**: application/json, text/json, application/xml, text/xml
120
+
121
+
122
+
123
+ # **spell_check_check_sentence_string**
124
+ > BOOLEAN spell_check_check_sentence_string(value)
125
+
126
+ Spell check a sentence
127
+
128
+ Check if a sentence is spelled correctly
129
+
130
+ ### Example
131
+ ```ruby
132
+ # load the gem
133
+ require 'cloudmersive-nlp-api-client'
134
+ # setup authorization
135
+ CloudmersiveNlpApiClient.configure do |config|
136
+ # Configure API key authorization: Apikey
137
+ config.api_key['Apikey'] = 'YOUR API KEY'
138
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
139
+ #config.api_key_prefix['Apikey'] = 'Bearer'
140
+ end
141
+
142
+ api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
143
+
144
+ value = "value_example" # String | Input sentence word
145
+
146
+
147
+ begin
148
+ #Spell check a sentence
149
+ result = api_instance.spell_check_check_sentence_string(value)
150
+ p result
151
+ rescue CloudmersiveNlpApiClient::ApiError => e
152
+ puts "Exception when calling SpellCheckApi->spell_check_check_sentence_string: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ Name | Type | Description | Notes
159
+ ------------- | ------------- | ------------- | -------------
160
+ **value** | **String**| Input sentence word |
161
+
162
+ ### Return type
163
+
164
+ **BOOLEAN**
165
+
166
+ ### Authorization
167
+
168
+ [Apikey](../README.md#Apikey)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
173
+ - **Accept**: application/json, text/json, application/xml, text/xml
174
+
175
+
176
+
177
+ # **spell_check_correct**
178
+ > String spell_check_correct(value)
179
+
180
+ Find spelling corrections
181
+
182
+ Find the spelling corrections for a word
183
+
184
+ ### Example
185
+ ```ruby
186
+ # load the gem
187
+ require 'cloudmersive-nlp-api-client'
188
+ # setup authorization
189
+ CloudmersiveNlpApiClient.configure do |config|
190
+ # Configure API key authorization: Apikey
191
+ config.api_key['Apikey'] = 'YOUR API KEY'
192
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
193
+ #config.api_key_prefix['Apikey'] = 'Bearer'
194
+ end
195
+
196
+ api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
197
+
198
+ value = "value_example" # String | Input word
199
+
200
+
201
+ begin
202
+ #Find spelling corrections
203
+ result = api_instance.spell_check_correct(value)
204
+ p result
205
+ rescue CloudmersiveNlpApiClient::ApiError => e
206
+ puts "Exception when calling SpellCheckApi->spell_check_correct: #{e}"
207
+ end
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ Name | Type | Description | Notes
213
+ ------------- | ------------- | ------------- | -------------
214
+ **value** | **String**| Input word |
215
+
216
+ ### Return type
217
+
218
+ **String**
219
+
220
+ ### Authorization
221
+
222
+ [Apikey](../README.md#Apikey)
223
+
224
+ ### HTTP request headers
225
+
226
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
227
+ - **Accept**: application/json, text/json, application/xml, text/xml
228
+
229
+
230
+
231
+ # **spell_check_correct_json**
232
+ > CorrectJsonResponse spell_check_correct_json(value)
233
+
234
+ Find spelling corrections
235
+
236
+ Find spelling correction suggestions and return result as JSON
237
+
238
+ ### Example
239
+ ```ruby
240
+ # load the gem
241
+ require 'cloudmersive-nlp-api-client'
242
+ # setup authorization
243
+ CloudmersiveNlpApiClient.configure do |config|
244
+ # Configure API key authorization: Apikey
245
+ config.api_key['Apikey'] = 'YOUR API KEY'
246
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
247
+ #config.api_key_prefix['Apikey'] = 'Bearer'
248
+ end
249
+
250
+ api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
251
+
252
+ value = "value_example" # String | Input string
253
+
254
+
255
+ begin
256
+ #Find spelling corrections
257
+ result = api_instance.spell_check_correct_json(value)
258
+ p result
259
+ rescue CloudmersiveNlpApiClient::ApiError => e
260
+ puts "Exception when calling SpellCheckApi->spell_check_correct_json: #{e}"
261
+ end
262
+ ```
263
+
264
+ ### Parameters
265
+
266
+ Name | Type | Description | Notes
267
+ ------------- | ------------- | ------------- | -------------
268
+ **value** | **String**| Input string |
269
+
270
+ ### Return type
271
+
272
+ [**CorrectJsonResponse**](CorrectJsonResponse.md)
273
+
274
+ ### Authorization
275
+
276
+ [Apikey](../README.md#Apikey)
277
+
278
+ ### HTTP request headers
279
+
280
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
281
+ - **Accept**: application/json, text/json, application/xml, text/xml
282
+
283
+
284
+
285
+ # **spell_check_post**
286
+ > BOOLEAN spell_check_post(value)
287
+
288
+ Spell check a word
289
+
290
+ Check if a word is spelled correctly
291
+
292
+ ### Example
293
+ ```ruby
294
+ # load the gem
295
+ require 'cloudmersive-nlp-api-client'
296
+ # setup authorization
297
+ CloudmersiveNlpApiClient.configure do |config|
298
+ # Configure API key authorization: Apikey
299
+ config.api_key['Apikey'] = 'YOUR API KEY'
300
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
301
+ #config.api_key_prefix['Apikey'] = 'Bearer'
302
+ end
303
+
304
+ api_instance = CloudmersiveNlpApiClient::SpellCheckApi.new
305
+
306
+ value = "value_example" # String | Input string word
307
+
308
+
309
+ begin
310
+ #Spell check a word
311
+ result = api_instance.spell_check_post(value)
312
+ p result
313
+ rescue CloudmersiveNlpApiClient::ApiError => e
314
+ puts "Exception when calling SpellCheckApi->spell_check_post: #{e}"
315
+ end
316
+ ```
317
+
318
+ ### Parameters
319
+
320
+ Name | Type | Description | Notes
321
+ ------------- | ------------- | ------------- | -------------
322
+ **value** | **String**| Input string word |
323
+
324
+ ### Return type
325
+
326
+ **BOOLEAN**
327
+
328
+ ### Authorization
329
+
330
+ [Apikey](../README.md#Apikey)
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
335
+ - **Accept**: application/json, text/json, application/xml, text/xml
336
+
337
+
338
+