Deep Dive on Entity Recognition Job Creation using Amazon Comprehend

GargeeBhatnagar - Nov 24 - - Dev Community

“ I have checked the documents of AWS to deep dive on entity recognition job creation using amazon comprehend. Amazon Comprehend service takes the input file content and extracts its insights in json format. In terms of cost, the solution is cheaper and secure.”

Amazon Comprehend uses natural language processing (NLP) to extract insights about the content of documents. It develops insights by recognizing the entities, key phrases, language, sentiments and other common elements in a document. Use Amazon Comprehend to create new products based on understanding the structure of documents. For example, Using Amazon Comprehend you can search social networking feeds for mentions of products or scan an entire document repository for key phrases.

In this post, you will experience the deep dive on entity recognition job creation using amazon comprehend. Here I have created a s3 bucket and amazon comprehend.

Architecture Overview

Image description
The architecture diagram shows the overall deployment architecture with data flow, s3 bucket, amazon comprehend and iam role.

Solution overview

The blog post consists of the following phases:

  1. Create a Amazon Comprehend with Entity Recognition Type
  2. Output of Input Text File in Json Format Conversion

Phase 1: Create a Amazon Comprehend with Entity Recognition Type

  1. Open the amazon comprehend console, create an analysis job named “job-demo”. Choose analysis type as entity recognition and language as english. Create a s3 bucket named “job-buck” in which you upload a text file. In input data, set source location as uploaded text file and output location as empty output folder. Choose access permissions to create an IAM role with adding name suffix. Once clicked on job creation, the process goes on submitted status the in-progress status and then completed. If any error then the status will be failed.

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Phase 2: Output of Input Text File in Json Format Conversion

Image description

Image description

Image description

Image description

Image description

Clean-up

S3 bucket, amazon comprehend, IAM role.

Pricing

I review the pricing and estimated cost of this example.

Cost of Simple Storage Service = $0.01

Cost of Amazon Comprehend (Entity Recognition) = $0.0001

Total Cost = $0.0101

Summary

In this post, I showed “deep dive on entity recognition job creation using amazon comprehend”.

For more details on Amazon Comprehend, Checkout Get started Amazon Comprehend, open the Amazon Comprehend console. To learn more, read the Amazon Comprehend documentation.

Thanks for reading!

Connect with me: Linkedin
Image description

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .