Class: Aws::Comprehend::Types::BatchDetectSyntaxRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#language_codeString

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.

Returns:

  • (String)


389
390
391
392
393
394
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 389

class BatchDetectSyntaxRequest < Struct.new(
  :text_list,
  :language_code)
  SENSITIVE = [:text_list]
  include Aws::Structure
end

#text_listArray<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.

Returns:

  • (Array<String>)


389
390
391
392
393
394
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 389

class BatchDetectSyntaxRequest < Struct.new(
  :text_list,
  :language_code)
  SENSITIVE = [:text_list]
  include Aws::Structure
end