Skip to content

SentimentScore

Source code in docs_src/capo_lex_runtime_v2/types/sentiment_score.py
class SentimentScore(TypedDict, closed=True):
    positive: "capo_lex_runtime_v2.types.double.Double"
    """<p>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>POSITIVE</code> sentiment.</p>"""
    negative: "capo_lex_runtime_v2.types.double.Double"
    """<p>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>NEGATIVE</code> sentiment.</p>"""
    neutral: "capo_lex_runtime_v2.types.double.Double"
    """<p>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>NEUTRAL</code> sentiment.</p>"""
    mixed: "capo_lex_runtime_v2.types.double.Double"
    """<p>The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>MIXED</code> sentiment.</p>"""

mixed instance-attribute

mixed: Double

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

negative instance-attribute

negative: Double

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

neutral instance-attribute

neutral: Double

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

positive instance-attribute

positive: Double

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