Class: Aws::Comprehend::Types::TargetedSentimentEntity

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

Overview

Information about one of the entities found by targeted sentiment analysis.

For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptive_mention_indexArray<Integer>

One or more index into the Mentions array that provides the best name for the entity group.

Returns:

  • (Array<Integer>)


8369
8370
8371
8372
8373
8374
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8369

class TargetedSentimentEntity < Struct.new(
  :descriptive_mention_index,
  :mentions)
  SENSITIVE = []
  include Aws::Structure
end

#mentionsArray<Types::TargetedSentimentMention>

An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.



8369
8370
8371
8372
8373
8374
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8369

class TargetedSentimentEntity < Struct.new(
  :descriptive_mention_index,
  :mentions)
  SENSITIVE = []
  include Aws::Structure
end