cloudmersive-nlp-api-client 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -0
  3. data/README.md +162 -0
  4. data/Rakefile +8 -0
  5. data/cloudmersive-nlp-api-client.gemspec +45 -0
  6. data/docs/AnalyticsApi.md +283 -0
  7. data/docs/CheckSentenceRequest.md +8 -0
  8. data/docs/CheckSentenceResponse.md +9 -0
  9. data/docs/CheckWordRequest.md +8 -0
  10. data/docs/CheckWordResponse.md +9 -0
  11. data/docs/CorrectWordInSentence.md +10 -0
  12. data/docs/Entity.md +9 -0
  13. data/docs/ExtractEntitiesApi.md +63 -0
  14. data/docs/ExtractEntitiesRequest.md +8 -0
  15. data/docs/ExtractEntitiesResponse.md +9 -0
  16. data/docs/GetWordsRequest.md +8 -0
  17. data/docs/GetWordsResponse.md +8 -0
  18. data/docs/HateSpeechAnalysisRequest.md +8 -0
  19. data/docs/HateSpeechAnalysisResponse.md +10 -0
  20. data/docs/LanguageDetectionApi.md +63 -0
  21. data/docs/LanguageDetectionRequest.md +8 -0
  22. data/docs/LanguageDetectionResponse.md +10 -0
  23. data/docs/LanguageTranslationApi.md +338 -0
  24. data/docs/LanguageTranslationRequest.md +8 -0
  25. data/docs/LanguageTranslationResponse.md +10 -0
  26. data/docs/ParseApi.md +63 -0
  27. data/docs/ParseRequest.md +8 -0
  28. data/docs/ParseResponse.md +8 -0
  29. data/docs/PosRequest.md +8 -0
  30. data/docs/PosResponse.md +8 -0
  31. data/docs/PosSentence.md +8 -0
  32. data/docs/PosTaggedWord.md +9 -0
  33. data/docs/PosTaggerApi.md +338 -0
  34. data/docs/ProfanityAnalysisRequest.md +8 -0
  35. data/docs/ProfanityAnalysisResponse.md +10 -0
  36. data/docs/RephraseApi.md +63 -0
  37. data/docs/RephraseRequest.md +9 -0
  38. data/docs/RephraseResponse.md +10 -0
  39. data/docs/RephrasedSentence.md +10 -0
  40. data/docs/RephrasedSentenceOption.md +9 -0
  41. data/docs/SegmentationApi.md +118 -0
  42. data/docs/SentenceSegmentationRequest.md +8 -0
  43. data/docs/SentenceSegmentationResponse.md +10 -0
  44. data/docs/SentimentAnalysisRequest.md +8 -0
  45. data/docs/SentimentAnalysisResponse.md +11 -0
  46. data/docs/SimilarityAnalysisRequest.md +9 -0
  47. data/docs/SimilarityAnalysisResponse.md +10 -0
  48. data/docs/SpellcheckApi.md +118 -0
  49. data/docs/SubjectivityAnalysisRequest.md +8 -0
  50. data/docs/SubjectivityAnalysisResponse.md +10 -0
  51. data/docs/WordPosition.md +11 -0
  52. data/git_push.sh +55 -0
  53. data/lib/cloudmersive-nlp-api-client.rb +85 -0
  54. data/lib/cloudmersive-nlp-api-client/api/analytics_api.rb +293 -0
  55. data/lib/cloudmersive-nlp-api-client/api/extract_entities_api.rb +77 -0
  56. data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +77 -0
  57. data/lib/cloudmersive-nlp-api-client/api/language_translation_api.rb +347 -0
  58. data/lib/cloudmersive-nlp-api-client/api/parse_api.rb +77 -0
  59. data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +347 -0
  60. data/lib/cloudmersive-nlp-api-client/api/rephrase_api.rb +77 -0
  61. data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +131 -0
  62. data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +131 -0
  63. data/lib/cloudmersive-nlp-api-client/api_client.rb +391 -0
  64. data/lib/cloudmersive-nlp-api-client/api_error.rb +38 -0
  65. data/lib/cloudmersive-nlp-api-client/configuration.rb +209 -0
  66. data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +186 -0
  67. data/lib/cloudmersive-nlp-api-client/models/check_sentence_response.rb +198 -0
  68. data/lib/cloudmersive-nlp-api-client/models/check_word_request.rb +184 -0
  69. data/lib/cloudmersive-nlp-api-client/models/check_word_response.rb +198 -0
  70. data/lib/cloudmersive-nlp-api-client/models/correct_word_in_sentence.rb +208 -0
  71. data/lib/cloudmersive-nlp-api-client/models/entity.rb +193 -0
  72. data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +186 -0
  73. data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +197 -0
  74. data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +184 -0
  75. data/lib/cloudmersive-nlp-api-client/models/get_words_response.rb +188 -0
  76. data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_request.rb +186 -0
  77. data/lib/cloudmersive-nlp-api-client/models/hate_speech_analysis_response.rb +206 -0
  78. data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +186 -0
  79. data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +206 -0
  80. data/lib/cloudmersive-nlp-api-client/models/language_translation_request.rb +186 -0
  81. data/lib/cloudmersive-nlp-api-client/models/language_translation_response.rb +206 -0
  82. data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +186 -0
  83. data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +186 -0
  84. data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +186 -0
  85. data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +188 -0
  86. data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +188 -0
  87. data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +196 -0
  88. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_request.rb +186 -0
  89. data/lib/cloudmersive-nlp-api-client/models/profanity_analysis_response.rb +206 -0
  90. data/lib/cloudmersive-nlp-api-client/models/rephrase_request.rb +196 -0
  91. data/lib/cloudmersive-nlp-api-client/models/rephrase_response.rb +208 -0
  92. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence.rb +208 -0
  93. data/lib/cloudmersive-nlp-api-client/models/rephrased_sentence_option.rb +196 -0
  94. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +184 -0
  95. data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +204 -0
  96. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_request.rb +186 -0
  97. data/lib/cloudmersive-nlp-api-client/models/sentiment_analysis_response.rb +216 -0
  98. data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_request.rb +196 -0
  99. data/lib/cloudmersive-nlp-api-client/models/similarity_analysis_response.rb +206 -0
  100. data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_request.rb +186 -0
  101. data/lib/cloudmersive-nlp-api-client/models/subjectivity_analysis_response.rb +206 -0
  102. data/lib/cloudmersive-nlp-api-client/models/word_position.rb +215 -0
  103. data/lib/cloudmersive-nlp-api-client/version.rb +15 -0
  104. data/spec/api/analytics_api_spec.rb +95 -0
  105. data/spec/api/extract_entities_api_spec.rb +47 -0
  106. data/spec/api/language_detection_api_spec.rb +47 -0
  107. data/spec/api/language_translation_api_spec.rb +107 -0
  108. data/spec/api/parse_api_spec.rb +47 -0
  109. data/spec/api/pos_tagger_api_spec.rb +107 -0
  110. data/spec/api/rephrase_api_spec.rb +47 -0
  111. data/spec/api/segmentation_api_spec.rb +59 -0
  112. data/spec/api/spellcheck_api_spec.rb +59 -0
  113. data/spec/api_client_spec.rb +243 -0
  114. data/spec/configuration_spec.rb +42 -0
  115. data/spec/models/check_sentence_request_spec.rb +41 -0
  116. data/spec/models/check_sentence_response_spec.rb +47 -0
  117. data/spec/models/check_word_request_spec.rb +41 -0
  118. data/spec/models/check_word_response_spec.rb +47 -0
  119. data/spec/models/correct_word_in_sentence_spec.rb +53 -0
  120. data/spec/models/entity_spec.rb +47 -0
  121. data/spec/models/extract_entities_request_spec.rb +41 -0
  122. data/spec/models/extract_entities_response_spec.rb +47 -0
  123. data/spec/models/get_words_request_spec.rb +41 -0
  124. data/spec/models/get_words_response_spec.rb +41 -0
  125. data/spec/models/hate_speech_analysis_request_spec.rb +41 -0
  126. data/spec/models/hate_speech_analysis_response_spec.rb +53 -0
  127. data/spec/models/language_detection_request_spec.rb +41 -0
  128. data/spec/models/language_detection_response_spec.rb +53 -0
  129. data/spec/models/language_translation_request_spec.rb +41 -0
  130. data/spec/models/language_translation_response_spec.rb +53 -0
  131. data/spec/models/parse_request_spec.rb +41 -0
  132. data/spec/models/parse_response_spec.rb +41 -0
  133. data/spec/models/pos_request_spec.rb +41 -0
  134. data/spec/models/pos_response_spec.rb +41 -0
  135. data/spec/models/pos_sentence_spec.rb +41 -0
  136. data/spec/models/pos_tagged_word_spec.rb +47 -0
  137. data/spec/models/profanity_analysis_request_spec.rb +41 -0
  138. data/spec/models/profanity_analysis_response_spec.rb +53 -0
  139. data/spec/models/rephrase_request_spec.rb +47 -0
  140. data/spec/models/rephrase_response_spec.rb +53 -0
  141. data/spec/models/rephrased_sentence_option_spec.rb +47 -0
  142. data/spec/models/rephrased_sentence_spec.rb +53 -0
  143. data/spec/models/sentence_segmentation_request_spec.rb +41 -0
  144. data/spec/models/sentence_segmentation_response_spec.rb +53 -0
  145. data/spec/models/sentiment_analysis_request_spec.rb +41 -0
  146. data/spec/models/sentiment_analysis_response_spec.rb +59 -0
  147. data/spec/models/similarity_analysis_request_spec.rb +47 -0
  148. data/spec/models/similarity_analysis_response_spec.rb +53 -0
  149. data/spec/models/subjectivity_analysis_request_spec.rb +41 -0
  150. data/spec/models/subjectivity_analysis_response_spec.rb +53 -0
  151. data/spec/models/word_position_spec.rb +59 -0
  152. data/spec/spec_helper.rb +111 -0
  153. metadata +154 -3
@@ -0,0 +1,8 @@
1
+ # CloudmersiveNlpApiClient::LanguageTranslationRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **text_to_translate** | **String** | Text to translate | [optional]
7
+
8
+
@@ -0,0 +1,10 @@
1
+ # CloudmersiveNlpApiClient::LanguageTranslationResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **successful** | **BOOLEAN** | True if the language detection operation was successful, false otherwise | [optional]
7
+ **translated_text_result** | **String** | Translated text in target language | [optional]
8
+ **sentence_count** | **Integer** | Number of sentences in input text | [optional]
9
+
10
+
@@ -0,0 +1,63 @@
1
+ # CloudmersiveNlpApiClient::ParseApi
2
+
3
+ All URIs are relative to *https://api.cloudmersive.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**parse_parse_string**](ParseApi.md#parse_parse_string) | **POST** /nlp-v2/parse/tree | Parse string to syntax tree
8
+
9
+
10
+ # **parse_parse_string**
11
+ > ParseResponse parse_parse_string(input)
12
+
13
+ Parse string to syntax tree
14
+
15
+ Parses the input string into a Penn Treebank syntax tree
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::ParseApi.new
30
+
31
+ input = CloudmersiveNlpApiClient::ParseRequest.new # ParseRequest | Input string
32
+
33
+
34
+ begin
35
+ #Parse string to syntax tree
36
+ result = api_instance.parse_parse_string(input)
37
+ p result
38
+ rescue CloudmersiveNlpApiClient::ApiError => e
39
+ puts "Exception when calling ParseApi->parse_parse_string: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **input** | [**ParseRequest**](ParseRequest.md)| Input string |
48
+
49
+ ### Return type
50
+
51
+ [**ParseResponse**](ParseResponse.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
61
+
62
+
63
+
@@ -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
+
@@ -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,338 @@
1
+ # CloudmersiveNlpApiClient::PosTaggerApi
2
+
3
+ All URIs are relative to *https://api.cloudmersive.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
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
+
14
+
15
+ # **pos_tagger_tag_adjectives**
16
+ > PosResponse pos_tagger_tag_adjectives(request)
17
+
18
+ Part-of-speech tag a string, filter to adjectives
19
+
20
+ Part-of-speech (POS) tag a string, find the adjectives, and return result 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::PosTaggerApi.new
35
+
36
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
37
+
38
+
39
+ begin
40
+ #Part-of-speech tag a string, filter to adjectives
41
+ result = api_instance.pos_tagger_tag_adjectives(request)
42
+ p result
43
+ rescue CloudmersiveNlpApiClient::ApiError => e
44
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_adjectives: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
53
+
54
+ ### Return type
55
+
56
+ [**PosResponse**](PosResponse.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
66
+
67
+
68
+
69
+ # **pos_tagger_tag_adverbs**
70
+ > PosResponse pos_tagger_tag_adverbs(request)
71
+
72
+ Part-of-speech tag a string, filter to adverbs
73
+
74
+ Part-of-speech (POS) tag a string, find the adverbs, and return 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::PosTaggerApi.new
89
+
90
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
91
+
92
+
93
+ begin
94
+ #Part-of-speech tag a string, filter to adverbs
95
+ result = api_instance.pos_tagger_tag_adverbs(request)
96
+ p result
97
+ rescue CloudmersiveNlpApiClient::ApiError => e
98
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_adverbs: #{e}"
99
+ end
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
107
+
108
+ ### Return type
109
+
110
+ [**PosResponse**](PosResponse.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
120
+
121
+
122
+
123
+ # **pos_tagger_tag_nouns**
124
+ > PosResponse pos_tagger_tag_nouns(request)
125
+
126
+ Part-of-speech tag a string, filter to nouns
127
+
128
+ Part-of-speech (POS) tag a string, find the nouns, and return result as JSON
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::PosTaggerApi.new
143
+
144
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
145
+
146
+
147
+ begin
148
+ #Part-of-speech tag a string, filter to nouns
149
+ result = api_instance.pos_tagger_tag_nouns(request)
150
+ p result
151
+ rescue CloudmersiveNlpApiClient::ApiError => e
152
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_nouns: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ Name | Type | Description | Notes
159
+ ------------- | ------------- | ------------- | -------------
160
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
161
+
162
+ ### Return type
163
+
164
+ [**PosResponse**](PosResponse.md)
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
174
+
175
+
176
+
177
+ # **pos_tagger_tag_pronouns**
178
+ > PosResponse pos_tagger_tag_pronouns(request)
179
+
180
+ Part-of-speech tag a string, filter to pronouns
181
+
182
+ Part-of-speech (POS) tag a string, find the pronouns, and return result as JSON
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::PosTaggerApi.new
197
+
198
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
199
+
200
+
201
+ begin
202
+ #Part-of-speech tag a string, filter to pronouns
203
+ result = api_instance.pos_tagger_tag_pronouns(request)
204
+ p result
205
+ rescue CloudmersiveNlpApiClient::ApiError => e
206
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_pronouns: #{e}"
207
+ end
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ Name | Type | Description | Notes
213
+ ------------- | ------------- | ------------- | -------------
214
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
215
+
216
+ ### Return type
217
+
218
+ [**PosResponse**](PosResponse.md)
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
228
+
229
+
230
+
231
+ # **pos_tagger_tag_sentence**
232
+ > PosResponse pos_tagger_tag_sentence(request)
233
+
234
+ Part-of-speech tag a string
235
+
236
+ Part-of-speech (POS) tag a string 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::PosTaggerApi.new
251
+
252
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
253
+
254
+
255
+ begin
256
+ #Part-of-speech tag a string
257
+ result = api_instance.pos_tagger_tag_sentence(request)
258
+ p result
259
+ rescue CloudmersiveNlpApiClient::ApiError => e
260
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_sentence: #{e}"
261
+ end
262
+ ```
263
+
264
+ ### Parameters
265
+
266
+ Name | Type | Description | Notes
267
+ ------------- | ------------- | ------------- | -------------
268
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
269
+
270
+ ### Return type
271
+
272
+ [**PosResponse**](PosResponse.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
282
+
283
+
284
+
285
+ # **pos_tagger_tag_verbs**
286
+ > PosResponse pos_tagger_tag_verbs(request)
287
+
288
+ Part-of-speech tag a string, filter to verbs
289
+
290
+ Part-of-speech (POS) tag a string, find the verbs, and return result as JSON
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::PosTaggerApi.new
305
+
306
+ request = CloudmersiveNlpApiClient::PosRequest.new # PosRequest | Input string
307
+
308
+
309
+ begin
310
+ #Part-of-speech tag a string, filter to verbs
311
+ result = api_instance.pos_tagger_tag_verbs(request)
312
+ p result
313
+ rescue CloudmersiveNlpApiClient::ApiError => e
314
+ puts "Exception when calling PosTaggerApi->pos_tagger_tag_verbs: #{e}"
315
+ end
316
+ ```
317
+
318
+ ### Parameters
319
+
320
+ Name | Type | Description | Notes
321
+ ------------- | ------------- | ------------- | -------------
322
+ **request** | [**PosRequest**](PosRequest.md)| Input string |
323
+
324
+ ### Return type
325
+
326
+ [**PosResponse**](PosResponse.md)
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
336
+
337
+
338
+