Class: Aws::Comprehend::Types::MentionSentiment
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::MentionSentiment
- Includes:
- Structure
- Defined in:
- 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*.
[1]: docs.aws.amazon.com/comprehend/latest/dg/how-targeted-sentiment.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#sentiment ⇒ String
The sentiment of the mention.
-
#sentiment_score ⇒ Types::SentimentScore
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
Instance Attribute Details
#sentiment ⇒ String
The sentiment of the mention.
6117 6118 6119 6120 6121 6122 |
# File 'lib/aws-sdk-comprehend/types.rb', line 6117 class MentionSentiment < Struct.new( :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |
#sentiment_score ⇒ Types::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 'lib/aws-sdk-comprehend/types.rb', line 6117 class MentionSentiment < Struct.new( :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |