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)


4636
4637
4638
4639
4640
4641
4642
4643
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 4636

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)


4636
4637
4638
4639
4640
4641
4642
4643
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 4636

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)


4636
4637
4638
4639
4640
4641
4642
4643
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 4636

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)


4636
4637
4638
4639
4640
4641
4642
4643
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 4636

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