Analyzing text versus generating text
How Comprehend's specialized text analysis differs from the generative foundation model capabilities available through Bedrock. · foundational
Natural language processing (NLP) is AI concerned with human language. An NLP task might identify the sentiment in a review or produce a summary of it. Both involve language, but they ask for different kinds of results: an analysis of existing text versus newly generated content.
Amazon Comprehend provides specialized text analysis. For supported tasks, it turns unstructured text into structured findings, such as sentiment labels, recognized entities, or key phrases. For example, a review saying “I loved my trip to Paris” could yield a positive sentiment result and identify Paris as a location. These are findings about the input, not a newly written response.
Amazon Bedrock provides access to foundation models, including models that generate text. A suitable model could summarize that review or draft a reply to its author. The central distinction is extracting or labeling information with a specialized analysis service versus generating content with a model selected for the task.
| Point of comparison | Amazon Comprehend | Amazon Bedrock |
|---|---|---|
| Primary focus here | Specialized text analysis | Foundation model capabilities |
| Typical text task | Identify sentiment | Draft a response |
| Typical result | Labels, entities, scores | Generated text |
| Task direction | Select an analysis operation | Prompt a suitable model |