amazon-textract-textractor
amazon-textract-textractor copied to clipboard
KeyError in get_lines_string
The trp code called by get_lines_string() expects the cid key to be in blockMap. If it's not, an exception is thrown in trp int_.py:
line 153, in __init__
if (blockMap[cid]["BlockType"] == "WORD"):
~~~~~~~~^^^^^
KeyError: 'd019e793-f973-4326-87ef-a4bfa06619ab'