News for hackers. Stuff that matters.
Re:PDF Is the World's Most Important File Format by kevin_thibedeau on Friday May 03, 2019 @04:16PM (#19821870)
Recovering coherent text strings from PDF is non-trivial. Paragraphs are merely implicit and hyphenation must be removed, among many other problems. Anything unusual like sub/superscripts or inline math will potentially end up as gibberish or missing.
Re:PDF Is the World's Most Important File Format by maxxxxx on Friday May 03, 2019 @04:28PM (#19821968)
I have spent weeks on an algorithm that would recreate words and paragraphs from letter rectangles and the space in between. Fun, fun, fun. Tables are even better. Page headers and footers then complete the insanity nicely.
Re:PDF Is the World's Most Important File Format by SigmundA on Friday May 03, 2019 @05:31PM (#19822478)
That has a lot to do with the program that created it, HTML can be bad to search to I mean try and index a react page.

It a better situation than OCRing a paper doc though.