AWSComprehendMentionSentiment
Objective-C
@interface AWSComprehendMentionSentiment
Swift
class AWSComprehendMentionSentiment
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.
-
The sentiment of the mention.
Declaration
Objective-C
@property (nonatomic) AWSComprehendSentimentType sentiment;
Swift
var sentiment: AWSComprehendSentimentType { get set }
-
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
Declaration
Objective-C
@property (nonatomic, strong) AWSComprehendSentimentScore *_Nullable sentimentScore;
Swift
var sentimentScore: AWSComprehendSentimentScore? { get set }