/AWS1/CL_CPD=>DETECTSENTIMENT()
¶
About DetectSentiment¶
Inspects text and returns an inference of the prevailing sentiment
(POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
).
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_TEXT
TYPE /AWS1/CPDCUSTOMERINPUTSTRING
/AWS1/CPDCUSTOMERINPUTSTRING
¶
A UTF-8 text string. The maximum string size is 5 KB.
IV_LANGUAGECODE
TYPE /AWS1/CPDLANGUAGECODE
/AWS1/CPDLANGUAGECODE
¶
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.