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

demandé il y a 5 mois298 vues
1 réponse
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
répondu il y a 5 mois
profile picture
EXPERT
vérifié il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions