Ask HN: Any software to parse a PDF word by word? (maybe into SVG)
I'm looking for a library or software to convert a PDF into SVG where the SVG renders the text grouped word by word.
I've seen the software pdf2svg produces an SVG where everything in the PDF is rendered into individual shapes. Each letter becomes a shape! So that's too fine-grained.
Inkscape produces groups of words and can't break it down further.
Anything else out there that can actually figure out the individual words in my PDF?
Actually, I'd be okay with parsing the PDF and getting a list of words and their positions. No need for the SVG.
I've seen the software pdf2svg produces an SVG where everything in the PDF is rendered into individual shapes. Each letter becomes a shape! So that's too fine-grained.
Inkscape produces groups of words and can't break it down further.
Anything else out there that can actually figure out the individual words in my PDF?
Actually, I'd be okay with parsing the PDF and getting a list of words and their positions. No need for the SVG.
Any suggestions?