Class: Aws::LexRuntimeV2::Types::SentimentScore

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

Overview

The individual sentiment responses for the utterance.

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)


1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1474

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)


1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1474

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)


1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1474

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)


1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1474

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