Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Comprehend::Types::SentimentScore

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.

Constant Summary collapse

SENSITIVE =
[]

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)

6731
6732
6733
6734
6735
6736
6737
6738
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6731

class SentimentScore < Struct.new(
  :positive,
  :negative,
  :neutral,
  :mixed)
  SENSITIVE = []
  include Aws::Structure
end

#negativeFloat

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

Returns:

  • (Float)

6731
6732
6733
6734
6735
6736
6737
6738
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6731

class SentimentScore < Struct.new(
  :positive,
  :negative,
  :neutral,
  :mixed)
  SENSITIVE = []
  include Aws::Structure
end

#neutralFloat

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

Returns:

  • (Float)

6731
6732
6733
6734
6735
6736
6737
6738
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6731

class SentimentScore < Struct.new(
  :positive,
  :negative,
  :neutral,
  :mixed)
  SENSITIVE = []
  include Aws::Structure
end

#positiveFloat

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

Returns:

  • (Float)

6731
6732
6733
6734
6735
6736
6737
6738
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6731

class SentimentScore < Struct.new(
  :positive,
  :negative,
  :neutral,
  :mixed)
  SENSITIVE = []
  include Aws::Structure
end