Class: Aws::Comprehend::Types::BatchDetectSyntaxRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::BatchDetectSyntaxRequest
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
Note:
When making an API call, you may pass BatchDetectSyntaxRequest data as a hash:
{
text_list: ["CustomerInputString"], # required
language_code: "en", # required, accepts en, es, fr, de, it, pt
}
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 following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt"). All documents must be in the same language.
435 436 437 438 439 440 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 435 class BatchDetectSyntaxRequest < 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 that 5,000 bytes of UTF-8 encoded characters.
435 436 437 438 439 440 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 435 class BatchDetectSyntaxRequest < Struct.new( :text_list, :language_code) SENSITIVE = [:text_list] include Aws::Structure end |