1 Answer
- Newest
- Most votes
- Most comments
0
Hey! This one is a bit tricky, but if you understand how the JSON response is structured, you should be able to post-process the AnalyzeDocument API Json Response to get the data you need.
- The AnalyzeDocument API will return all the text it found in the document + the FeatureTypes you requested (In this case Forms)
- Each word is represented by an ID, and this ID is present in the Forms relationships.
- You will first have to process and save the Form relationship results
- Then you will have to delete from the response, the IDs of the words that correspond to the forms and will obtain the remaining raw text you are looking for.
Take a look at the Textractor aws sample, which can help you process the JSON results!
Hope this helps.
answered 2 years ago
Relevant content
- asked 7 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago