/AWS1/CL_CPD=>DETECTTOXICCONTENT()
¶
About DetectToxicContent¶
Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IT_TEXTSEGMENTS
TYPE /AWS1/CL_CPDTEXTSEGMENT=>TT_LISTOFTEXTSEGMENTS
TT_LISTOFTEXTSEGMENTS
¶
A list of up to 10 text strings. Each string has a maximum size of 1 KB, and the maximum size of the list is 10 KB.
IV_LANGUAGECODE
TYPE /AWS1/CPDLANGUAGECODE
/AWS1/CPDLANGUAGECODE
¶
The language of the input text. Currently, English is the only supported language.