Text Analysis with Amazon OpenSearch Service and Amazon Comprehend

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend is an automated reference implementation that deploys a cost-effective, end-to-end solution for extracting meaningful insights from unstructured data. Examples of unstructured data includes customer calls, support tickets, and online customer feedback. Text Analysis with Amazon OpenSearch Service and Amazon Comprehend leverages Amazon Comprehend, a natural language processing (NLP) service that uses machine learning for text analysis, and Amazon OpenSearch Service for indexing and analyzing unstructured text.

Benefits

Visualization

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend creates a pre-configured Kibana dashboard for visualization of extracted entities, key phrases, syntax, and sentiment from uploaded documentation.

Logging

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend uses Amazon CloudWatch Logs for logging and metrics for data analysis.

Overview

The diagram below presents the architecture you can automatically deploy using the example code on GitHub.

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend architecture

The AWS CloudFormation template deploys an Amazon API Gateway to invoke the proxy microservice (AWS Lambda function). The microservice provides the business logic to manage preprocessing configuration, native indexing, and other native search capabilities. The microservice interacts with Amazon Comprehend for text analysis, Amazon CloudWatch Logs for logging and metrics, and Amazon OpenSearch Service for indexing documentation.

An API receives an authorized request, the proxy microservice sends the request to Amazon Comprehend for text analysis. A call is made to Amazon OpenSearch Service which indexes the data, and publishes logs and metrics to CloudWatch.

You can visualize the indexed data on the solution’s pre-configured Kibana dashboard.

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend

Version 1.0.0
Release date: 09/2021
Author: AWS

Additional resources

Did this Guidance help you?
Provide feedback 
Build icon
Deploy an AWS Solution yourself

Browse our library of AWS Solutions to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an AWS Partner Solution

Find AWS Partners to help you get started.

Learn more 
Explore icon
Explore Guidance

Find prescriptive architectural diagrams, sample code, and technical content for common use cases.

Learn more