You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Comprehend::Types::BatchDetectKeyPhrasesItemResult

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

Overview

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

Instance Attribute Summary collapse

Instance Attribute Details

#indexInteger

The zero-based index of the document in the input list.

Returns:

  • (Integer)


157
158
159
160
161
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 157

class BatchDetectKeyPhrasesItemResult < Struct.new(
  :index,
  :key_phrases)
  include Aws::Structure
end

#key_phrasesArray<Types::KeyPhrase>

One or more KeyPhrase objects, one for each key phrase detected in the document.

Returns:



157
158
159
160
161
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 157

class BatchDetectKeyPhrasesItemResult < Struct.new(
  :index,
  :key_phrases)
  include Aws::Structure
end