ExitAmazon Comprehend: pretrained text analysis1 / 7
Explanation

Learned patterns, ready to use

How Comprehend turns text into predicted labels and confidence scores using pretrained models, illustrating machine learning as a subset of AI. · foundational

Amazon Comprehend is a natural language processing (NLP) service: it analyzes human language in text. It uses machine learning (ML), in which models learn patterns from data rather than relying only on rules written by people. ML is a subset of artificial intelligence (AI), the broader field of systems that perform tasks associated with human intelligence.

Training is the process of learning those patterns. A pretrained model has already been trained before you use it. For Comprehend's built-in analysis tasks, AWS provides the trained models, so you do not need to gather training examples or train a model yourself.

Inference means applying a trained model to new input to produce a prediction. When you submit text to Comprehend for analysis, you are requesting inference, not training a new model. Generative AI also uses ML, but creates content; the Comprehend tasks here identify information in existing text.