Class: Aws::Comprehend::Types::MentionSentiment

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

Overview

Contains the sentiment and sentiment score for one mention of an entity.

For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sentimentString

The sentiment of the mention.

Returns:

  • (String)


6117
6118
6119
6120
6121
6122
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6117

class MentionSentiment < Struct.new(
  :sentiment,
  :sentiment_score)
  SENSITIVE = []
  include Aws::Structure
end

#sentiment_scoreTypes::SentimentScore

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



6117
6118
6119
6120
6121
6122
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6117

class MentionSentiment < Struct.new(
  :sentiment,
  :sentiment_score)
  SENSITIVE = []
  include Aws::Structure
end