News for hackers. Stuff that matters.
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.
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.

Re:Show HN: Convert PDF files into structured data by chezmo on Thursday July 21, 2016 @02:19AM (#12135106)
That's right! The user defines a rectangular area and we then extract the raw text based on the position. For table extraction we use tabula.java under the hood.