3 ms·
What this did well, which I struggled with with some other (open source) parsers, is that it keeps things together that are visually together. Tables in HTML ar
by sverhagen 4y ago
What this did well, which I struggled with with some other (open source) parsers, is that it keeps things together that are visually together. Tables in HTML are a coherent object, but in PDF I guess they're often rendered as just some text boxes, and other parsers I've used would pull the text from the table cells in a seemingly unnatural if not random order. I don't have a specific need anymore at the moment, but I will think of Pdfgrep in the future, for this reason.
- an1sotropy 4y agoThe way lots of programs generate PDF, especially with full (left and right) justification, is to place each and every letter individually. PostScript, and the PDF format descended from it, assume that something else is going to figure out kerning. Which unfortunately means that knowing which letters belong together in words can become a detective project.