Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one
Inspects a batch of documents and returns an inference of the prevailing
sentiment, POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
, in each one.
comprehend_batch_detect_sentiment(TextList, LanguageCode)
TextList |
[required] A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters. |
LanguageCode |
[required] 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. |
A list with the following syntax:
list( ResultList = list( list( Index = 123, Sentiment = "POSITIVE"|"NEGATIVE"|"NEUTRAL"|"MIXED", SentimentScore = list( Positive = 123.0, Negative = 123.0, Neutral = 123.0, Mixed = 123.0 ) ) ), ErrorList = list( list( Index = 123, ErrorCode = "string", ErrorMessage = "string" ) ) )
svc$batch_detect_sentiment( TextList = list( "string" ), LanguageCode = "en"|"es"|"fr"|"de"|"it"|"pt"|"ar"|"hi"|"ja"|"ko"|"zh"|"zh-TW" )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.