Amazon Textract: Is there a way to get just key/value pair instead of AnalyzeDocumentResponse or AnalyzeDocumentResult using java

0

Trying to extract key value pair from pdf document using Java examples listed https://docs.aws.amazon.com/textract/latest/dg/example_textract_AnalyzeDocument_section.html.

From console, when I analyze document, I was able to download the result zip file with the following files but I am only interested in downloading keyValues.csv. Is there an api to just get the keyValues.csv instead of AnalyzeDocumentResponse/AnalyzeDocumentResult? I felt the responses are being too difficult to parse the key/value.

analyzeDocResponse.json keyValues.csv layout.csv queryAnswers.csv rawText.txt signatures.csv table-1.csv table-2.csv table-3.csv table-4.csv

asked 4 months ago265 views
1 Answer
0

Thanks for using Textract service! Unfortunately we don't have an API to get keyValues.csv, you still need to parse the response and extract KV pairs. Hope below links could help you extract KV pairs.

AWS
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions