1 回答
- 最新
- 投票最多
- 评论最多
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.
已回答 2 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 4 年前