Window shades that go down at sunset automatically. Sounds like an easy manual task, but makes a big difference when automated, especially if you have many windows.
Ooh, I've been looking for something like this. Could I ask how you parse your bills? Did you just hack together your own script or did you find a parser online? I tried doing this several times but it seems rather painful to get right since the formats can differ and since copying text from PDFs can sometimes ignore the table layouts and whatnot.
There are no general solutions, unfortunately. Every PDF-generating system will do things differently, so parsing them must be custom for each type. Generated PDFs are usually very systematic, though, and PDF commands are text (compressed). You can uncompress with PDFTK:
pdftk input.pdf output output.pdf uncompress
Then try grepping or using whatever tools you like (there will be binary parts of the file still, like embedded fonts and bitmaps).
I just tried it on a bank statement and the only text I see is the PDF commands (stuff like "/MediaBox [0 0 612 792]", "/F1 125 Tf", and whatnot). There's no actual PDF content text that I can find, whether it's my name, the bank name, or anything else.
I have just written my own parser. Took some work when my bank switched from txt to PDF.
Then I match keywords in the strings to categorize the expenses. These days, this would be called AI :) Edit: I use pdftotext, which has a mode that keeps the spatial structure of tables. Works for my bank.
Comments (731) 147 threads
Earlier commentsContinue this thread — 2 replies
Continue this thread — 4 replies
Then I match keywords in the strings to categorize the expenses. These days, this would be called AI :)
Edit: I use pdftotext, which has a mode that keeps the spatial structure of tables. Works for my bank.
All comments shown.
Couldn't load more comments. Check your connection and try again.