You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Comprehend::Types::SentimentScore
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::SentimentScore
- Defined in:
- (unknown)
Overview
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
Returned by:
Instance Attribute Summary collapse
-
#mixed ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
MIXED
sentiment. -
#negative ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEGATIVE
sentiment. -
#neutral ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEUTRAL
sentiment. -
#positive ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
POSITIVE
sentiment.
Instance Attribute Details
#mixed ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the MIXED
sentiment.
#negative ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the NEGATIVE
sentiment.
#neutral ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the NEUTRAL
sentiment.
#positive ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the POSITIVE
sentiment.