SentimentScore¶
Structure Class¶
SentimentScore
dataclass
¶
The individual sentiment responses for the utterance.
Attributes¶
mixed
class-attribute
instance-attribute
¶
mixed: float = 0
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 = 0
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 = 0
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 = 0
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the POSITIVE sentiment.