Skip to content

SentimentScore

Structure Class

SentimentScore dataclass

Bases: _SerdeShape

The individual sentiment responses for the utterance.

Attributes

mixed class-attribute instance-attribute
mixed: float = ...

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.

negative class-attribute instance-attribute
negative: float = ...

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.

neutral class-attribute instance-attribute
neutral: float = ...

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.

positive class-attribute instance-attribute
positive: float = ...

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.