Re:Show HN: Convert PDF files into structured data
by Kinnard on Thursday July 21, 2016 @12:27AM
(#12134653)
I wonder how their software works. I think there's untapped potential in adobe's postscript.
[ Parent
| on HN ]
Re:Show HN: Convert PDF files into structured data
by lovelearning on Thursday July 21, 2016 @02:10AM
(#12135080)
The file format itself has all the information required to extract text from a rectangular area. Frameworks like PDFBox and iText have supported it from a long time.
It's upto users to define what are rows and columns. In most programmatically generated PDFs, this is easy. But in manually typeset PDFs, there are lots of edge cases like variable row heights or column widths, slanted table borders, stuff like that.