comprehend_batch_detect_sentiment: Inspects a batch of documents and returns an inference of the...

View source: R/comprehend_operations.R

comprehend_batch_detect_sentimentR Documentation

Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one

Description

Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one.

See https://paws-r.github.io/docs/comprehend/batch_detect_sentiment.html for full documentation.

Usage

comprehend_batch_detect_sentiment(TextList, LanguageCode)

Arguments

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.


paws.machine.learning documentation built on Feb. 16, 2023, 5:24 p.m.