AWSComprehendBatchDetectSentimentRequest

Objective-C

@interface AWSComprehendBatchDetectSentimentRequest

Swift

class AWSComprehendBatchDetectSentimentRequest
  • The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendLanguageCode languageCode;

    Swift

    var languageCode: AWSComprehendLanguageCode { get set }
  • A list containing the UTF-8 encoded text of the input documents. The list can contain a maximum of 25 documents. The maximum size of each document is 5 KB.

    Amazon Comprehend performs real-time sentiment analysis on the first 500 characters of the input text and ignores any additional text in the input.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable textList;

    Swift

    var textList: [String]? { get set }