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

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 BatchDetectEntitiesRequest data as a hash:

{
  text_list: ["String"], # required
  language_code: "en", # required, accepts en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
}

Constant Summary collapse

SENSITIVE =
[]

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)


122
123
124
125
126
127
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 122

class BatchDetectEntitiesRequest < Struct.new(
  :text_list,
  :language_code)
  SENSITIVE = []
  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 than 5,000 bytes of UTF-8 encoded characters.

Returns:

  • (Array<String>)


122
123
124
125
126
127
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 122

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