1
$\begingroup$

I have bank statement memos containing transaction tables I need to extract. I only need to extract the transactions list. I have tried to use the Amazon text extractor, LayoutLM but since every bank has different formats, These models don't work well. Any suggestions?

$\endgroup$

1 Answer 1

2
$\begingroup$

I think the most convenient way to do that in Python is by using a tabula library. I happened to do similar task with pdf files and probably the easiest way to do so is to use tabula.read_pdf function. I see also that Tabula has an online tool, but I haven't tried it.

Unless it works, you can try to create a parser a little more manually with PyPDF2 library. I can also recommend just asking ChatGPT to write a parser for you based on a snippet of your document. However, with this approach remember to anonymize your personal data.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.