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.
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.
Browse our library of AWS Solutions to get answers to common architectural problems.
Find AWS Partners to help you get started.
Find prescriptive architectural diagrams, sample code, and technical content for common use cases.