AWS · Machine Learning
Amazon Comprehend
Natural language processing that finds entities, key phrases, language, sentiment and topics in text, with custom classification.
What it is and what problem it solves
Amazon Comprehend uses natural language processing to extract insights from text: entities (people, places, organisations), key phrases, the language, sentiment, personally identifiable information, and topics across document collections. Custom classification and custom entity recognition learn your own categories from labelled examples.
When to use it
- Analysing customer reviews, support tickets and social media for sentiment and topics.
- Finding and redacting personal data in documents.
- Routing documents or tickets by learned categories.
When to avoid it
- Extracting text from scanned documents: Textract first, then Comprehend.
- Generative tasks such as summarising or drafting text: generative AI services fit better.
Cost model
What you pay for
Billed per unit of text processed (units of characters) for each API, plus training and endpoint time for custom models.
Where it is cost-efficient
Batch analysis of large text collections with asynchronous jobs.
Where costs grow
Real-time custom endpoints left running.
Cost controls and common surprises
Use batch jobs where latency allows and delete unused custom endpoints.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
Encryption in transit and at rest, IAM permissions on every API, and VPC endpoints for private access.
What you configure
Grant least-privilege access, encrypt inputs and outputs in S3 with KMS where required, and review how data you send may be used, including any opt-out settings that apply to your organisation.
Logging and monitoring
CloudTrail records API calls; CloudWatch metrics show usage and errors.
Related security services
IAM, KMS, S3, VPC endpoints, Organizations (AI services opt-out policies).
Shared responsibility
AWS runs and secures the models and service. You control the data you send, who can call the service, and how results are used.
Common service combinations
Textract or Transcribe output into Comprehend, S3 for batch input, Step Functions for pipelines.
Business application examples
- A retailer measures sentiment in thousands of daily reviews and routes complaints to support.
Exam cues and common confusions
- Sentiment, entities, key phrases, PII detection in text: Comprehend.
- Text from images or PDFs: Textract. Speech to text: Transcribe.
Related
Courses and lessons
- AI and machine learning services · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon Textract · Service
- Amazon Transcribe · Service
- Amazon Translate · Service
- Amazon S3 · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.