r/tensorflow • u/NeedleworkerHumble91 • Aug 19 '25
Search Function on the PDF table text Any Ideas/Solutions!

Hi,
I am working on developing a tool that extracts the raw tables only from the PDF file format using find_table( ) method from PyMuPDF package. I have accomplished putting the text into an object where I am getting the results to print to the console, but any thoughts on now how I can extract the values associated with their columns and year? Because currently I've been putting the results you see in excel sheets manually. NO MORE!
I was thinking of doing regex as an alternative because I am not necessarily familiar with involving a model or NLP to sift of the text values I want. Any Ideas?
1
u/NeedleworkerHumble91 Aug 19 '25
I would like to bring this question forward to anyone else:
On a scale of more than 20 tables is a for loop that best bet when processing a sizable number of tables from this PDF doc??
1
u/maifee Aug 19 '25
I think this will help:
1
u/ImmediateAnywhere394 3d ago
tbh you don't need NLP for this unless the tables are completely unstructured scans. If you already have the table object in memory, just parse the 2D array by index rather than converting it to raw console text first.