Class: Aws::Comprehend::Types::BatchDetectEntitiesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

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 primary languages supported by Amazon Comprehend. All documents must be in the same language.

Returns:

  • (String)


182
183
184
185
186
187
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 182

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

#text_listArray<String>

A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.

Returns:

  • (Array<String>)


182
183
184
185
186
187
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 182

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