News for hackers. Stuff that matters.
Re:What's so hard about PDF text extraction? by bhl on Tuesday March 03, 2020 @04:24PM (#22478842)
What type of visual features are you looking at? I've been trying to find a web-clipper that uses both visual and structural cues from the rendered page and HTML, but have no luck finding a good starting point.
Re:What's so hard about PDF text extraction? by lwhsiao on Sunday March 08, 2020 @01:56AM (#22516721)
There are a handful. We looks at bounding boxes to featurize which spans are visually aligned with other spans. Which page a span is on, etc. You can see more in the code at [1]. In general, visual features seem to give some nice redundancy to some of the structural features of HTML, which helps when dealing with an input as noisy as PDF.

[1]: https://github.com/HazyResearch/fonduer/tree/master/src/fond...