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
show all
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

Instance Attribute Details

#mixedFloat

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

Returns:

  • (Float)

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

#negativeFloat

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

Returns:

  • (Float)

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

#neutralFloat

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

Returns:

  • (Float)

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

#positiveFloat

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

Returns:

  • (Float)

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