Class: Aws::Comprehend::Types::EntityRecognizerDocuments

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

{
  s3_uri: "S3Uri", # required
  test_s3_uri: "S3Uri",
  input_format: "ONE_DOC_PER_FILE", # accepts ONE_DOC_PER_FILE, ONE_DOC_PER_LINE
}

Describes the training documents submitted with an entity recognizer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#input_formatString

Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

Returns:

  • (String)


3209
3210
3211
3212
3213
3214
3215
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3209

class EntityRecognizerDocuments < Struct.new(
  :s3_uri,
  :test_s3_uri,
  :input_format)
  SENSITIVE = []
  include Aws::Structure
end

#s3_uriString

Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

Returns:

  • (String)


3209
3210
3211
3212
3213
3214
3215
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3209

class EntityRecognizerDocuments < Struct.new(
  :s3_uri,
  :test_s3_uri,
  :input_format)
  SENSITIVE = []
  include Aws::Structure
end

#test_s3_uriString

Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

Returns:

  • (String)


3209
3210
3211
3212
3213
3214
3215
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3209

class EntityRecognizerDocuments < Struct.new(
  :s3_uri,
  :test_s3_uri,
  :input_format)
  SENSITIVE = []
  include Aws::Structure
end