Advertisement
Intermediate AWS, AWS AI Services (Rekognition, Polly, Lex & Comprehend)

What is Amazon Comprehend and what kinds of insights can it extract from text?

Short answer

Amazon Comprehend is a natural language processing service that uses machine learning to extract insights from text, including identifying the overall sentiment of a piece of text, recognizing key phrases and named entities such as people or organizations, detecting the dominant…

Save AWS mock interview
Advertisement
AModel answer
Amazon Comprehend is a natural language processing service that uses machine learning to extract insights from text, including identifying the overall sentiment of a piece of text, recognizing key phrases and named entities such as people or organizations, detecting the dominant language, and even identifying custom entities or classifications specific to your own business when trained with your own labeled examples.
Example

aws comprehend detect-sentiment --text 'The customer service was excellent' --language-code en

Real-world example
A customer support platform runs every incoming support ticket through Comprehend to automatically detect sentiment, allowing frustrated or negative tickets to be prioritized and routed to senior support agents immediately.
Likely follow-ups
  • How does Comprehend Custom Classification differ from the standard built in analysis features?
  • What languages does Comprehend support for sentiment analysis?
Related topics