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.

interface TargetedSentimentEntity {
    DescriptiveMentionIndex?: number[];
    Mentions?: TargetedSentimentMention[];
}

Properties

DescriptiveMentionIndex?: number[]

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

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