The library exposes the following actions
Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect.
Input parameters
credentials
region
text
Result
list
Detects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model
detectEntitiesRequest
result
Detects the key noun phrases found in the text
detectKeyPhrasesRequest
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them
detectPiiEntitiesRequest
Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE)
detectSentimentRequest
Inspects text for syntax and the part of speech of words in the document
detectSyntaxRequest
Creates a classification request to analyze a single document in real-time. Requires a custom model
classifyDocumentRequest