Machine Learning
Amazon Comprehend
On the radar· Comprehend topic modeling is in maintenance modeNatural language processing (NLP) service that extracts insights from text: entities, key phrases, language, sentiment, and personally identifiable information (PII). It is used to analyze documents or comments without requiring text analysis expertise.
Exam phrases that point here
«analyze the sentiment of customer reviews or comments»
Amazon Comprehend reads text and returns whether the tone is positive, negative, neutral, or mixed, with a confidence score, without requiring you to train any model.
When not: Comprehend works on text. If the opinions are in audio, they must first be converted to text with Amazon Transcribe (and for contact center calls, Transcribe Call Analytics already provides sentiment). If they are in scanned documents, Amazon Textract comes first.
«extract entities, key phrases, or the dominant language of a text»
Detecting people, places, organizations, key phrases, and language is exactly the kind of natural language processing analysis that Comprehend offers through an API.
When not: If the requirement is to translate the text into another language, the answer is Amazon Translate; if you need to extract fields and tables from a scanned form, Amazon Textract.
«detect and redact personally identifiable information (PII) in text documents»
Comprehend locates personal data such as names, addresses, and card or ID numbers in English or Spanish text, and can produce a copy with that data masked.
When not: If the problem is discovering sensitive data spread across an organization's Amazon S3 buckets, the service built for that is Amazon Macie. And if the text comes from audio, Amazon Transcribe has its own PII redaction.
«organize a large collection of documents by the topics they cover»
Comprehend topic modeling groups a collection of documents by their recurring topics. Note: since April 30, 2026 it is in maintenance and no longer accepts new customers (only accounts that used it in the last 12 months); AWS recommends identifying topics with Amazon Bedrock models.
When not: If the documents must be sorted into your own categories, Comprehend custom classification is still available. If what you need is to search within the documents, a search engine such as Amazon OpenSearch Service is a better fit. And if you must train your own model with your own algorithm, the answer leans toward Amazon SageMaker AI.
«natural language processing without machine learning expertise»
It is a managed service: you just call the API, and AWS takes care of the models, scaling, and maintenance.
When not: If the scenario requires control over the algorithm, training, and deployment of a custom-built model, the clue points to Amazon SageMaker AI, not a pre-trained AI service.
Often paired with
- Amazon S3
- AWS Lambda