Class: Aws::Comprehend::Types::BatchDetectEntitiesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::BatchDetectEntitiesRequest
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Note:
When making an API call, you may pass BatchDetectEntitiesRequest data as a hash:
{
text_list: ["CustomerInputString"], # required
language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
}
Constant Summary collapse
- SENSITIVE =
[:text_list]
Instance Attribute Summary collapse
-
#language_code ⇒ String
The language of the input documents.
-
#text_list ⇒ Array<String>
A list containing the text of the input documents.
Instance Attribute Details
#language_code ⇒ String
The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.
209 210 211 212 213 214 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 209 class BatchDetectEntitiesRequest < Struct.new( :text_list, :language_code) SENSITIVE = [:text_list] include Aws::Structure end |
#text_list ⇒ Array<String>
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer than 5,000 bytes of UTF-8 encoded characters.
209 210 211 212 213 214 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 209 class BatchDetectEntitiesRequest < Struct.new( :text_list, :language_code) SENSITIVE = [:text_list] include Aws::Structure end |