Real-time analysis using the built-in models - Amazon Comprehend

Real-time analysis using the built-in models

You can use the Amazon Comprehend console to run real-time analysis of a UTF-8 encoded text document. The document can be English or one of the other languages supported by Amazon Comprehend. The results are shown in the console so that you can review the analysis.

To start analyzing documents, sign in to the AWS Management Console and open the Amazon Comprehend console.

You can replace the sample text with your own text and then choose Analyze to get an analysis of your text. Below the text being analyzed, the Results pane shows more information about the text.

Run real-time analysis using the built-in model

  1. Sign in to the AWS Management Console and open the Amazon Comprehend console.

  2. From the left menu, choose Real-time analysis.

  3. Under Input type, choose Built-in for Analysis type.

  4. Enter the text you want to analyze.

  5. Choose Analyze. The console displays the text analysis results in the Insights panel. The Insights panel includes a tab for each of the insight types. The following sections describe the results for insight type.

Entities

The Entities tab lists each entity, its category, and the level of confidence that Amazon Comprehend has detected in the input text. The results are color-coded to indicate different entity types such as organizations, locations, dates, and persons. For more information, see Entities.


        Amazon Comprehend entities analysis

Key phrases

The Key phrases tab lists key noun phrases that Amazon Comprehend detected in the input text and the associated confidence level. For more information, see Key phrases.


        The Key phrases tab.

Language

The Language tab shows the dominant language of the text and Amazon Comprehend's level of confidence that it has detected the dominant language correctly. Amazon Comprehend can recognize 100 languages. For more information, see Dominant language.


        The Language tab.

Personally identifiable information (PII)

The PII tab lists entities in your input text that contain personally identifiable information (PII). A PII entity is a textual reference to personal data that could be used to identify an individual, such as an address, bank account number, or phone number. For more information, see Detecting PII entities.

The PII tab provides two analysis modes:

  • Offsets

  • Labels

Offsets

The Offsets analysis mode identifies the location of PII in your text documents. For more information, see Locate PII entities.


          The PII offsets analysis mode.

Labels

The Labels analysis mode checks for the presence of PII in your text document and returns the labels of identified PII entity types. For more information, see Labeling PII entities.


          The PII labels analysis mode.

Sentiment

The Sentiment tab shows the dominant sentiment of the text. Sentiment can be rated neutral, positive, negative, or mixed. In this case, each sentiment has a confidence rating, providing an estimate by Amazon Comprehend for that sentiment being dominant. For more information, see Sentiment. Real-time analysis does not provide targeted sentiment.


        The Sentiment tab.

Syntax

The Syntax tab shows a breakdown of each element in the text, along with its part of speech and the associated confidence score. For more information, see Syntax analysis.


        The Syntax tab.