AWSComprehendTargetedSentimentEntity

Objective-C

@interface AWSComprehendTargetedSentimentEntity

Swift

class AWSComprehendTargetedSentimentEntity

Information about one of the entities found by targeted sentiment analysis.

For more information about targeted sentiment, see Targeted sentiment.

  • One or more index into the Mentions array that provides the best name for the entity group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSNumber *> *_Nullable descriptiveMentionIndex;

    Swift

    var descriptiveMentionIndex: [NSNumber]? { get set }
  • An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSComprehendTargetedSentimentMention *> *_Nullable mentions;

    Swift

    var mentions: [AWSComprehendTargetedSentimentMention]? { get set }