ExitAmazon Comprehend vs. Amazon Textract: Text analysis vs. document extraction1 / 9
Explanationassociate9 steps · 4 exercises

Reading a form is not the same as reading its meaning

Distinguish extracting text and document structure with Textract from analyzing the resulting text for meaning with Comprehend.

Amazon Textract answers what is on the page and how it is arranged. It can recognize words in a scan and identify relationships such as a form field's label and value or a table's cells.

Amazon Comprehend answers questions about what text expresses. For example, it can detect sentiment or identify mentions of places. In this feedback app, scanned forms need extraction first, while typed comments are ready for analysis. The diagram shows events and outgoing requests; API responses are not drawn.

object creation eventtyped commentform image referencecomment text
Scanned feedback formsAmazon S3 bucket
Online feedback APIAmazon API Gateway
Feedback handlerAWS Lambda
Read form fieldsAmazon Textract
Detect comment sentimentAmazon Comprehend

Stage 1 of 5: Feedback comes in two forms: scanned form images land in an S3 bucket, and typed comments arrive through API Gateway.

Next up: Sort the statements on what you just read.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.