AWSComprehendBatchDetectSentimentItemResult

@interface AWSComprehendBatchDetectSentimentItemResult

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

  • The zero-based index of the document in the input list.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable index;

    Swift

    var index: NSNumber? { get set }
  • The sentiment detected in the document.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSComprehendSentimentType sentiment;

    Swift

    var sentiment: AWSComprehendSentimentType { get set }
  • The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSComprehendSentimentScore *_Nullable sentimentScore;

    Swift

    var sentimentScore: AWSComprehendSentimentScore? { get set }