How to print the table and lines in their reading order from a document analyzed by AWS Textract
I am using AWS Textract in order to extract text and tables from a pdf document.
I need code that can parse the text extracted, and tables extracted and print everything in one string in the order that they appear in the document.