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)


1937
1938
1939
1940
1941
1942
1943
1944
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1937

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)


1937
1938
1939
1940
1941
1942
1943
1944
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1937

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)


1937
1938
1939
1940
1941
1942
1943
1944
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1937

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)


1937
1938
1939
1940
1941
1942
1943
1944
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1937

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