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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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*.

[1]: docs.aws.amazon.com/comprehend/latest/dg/how-targeted-sentiment.html

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 '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.

[1]: docs.aws.amazon.com/comprehend/latest/dg/how-targeted-sentiment.html#how-targeted-sentiment-values



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

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