Contains the sentiment and sentiment score for one mention of an entity.

For more information about targeted sentiment, see Targeted sentiment.

interface MentionSentiment {
    Sentiment?: string;
    SentimentScore?: SentimentScore;
}

Properties

Sentiment?: string

The sentiment of the mention.

SentimentScore?: SentimentScore

Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.