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公式更新しました 4年前
- AWS公式更新しました 3年前
- AWS公式更新しました 4ヶ月前