News for hackers. Stuff that matters.
Re:Apache PDFBox – A Java PDF Library by donretag on Monday March 21, 2016 @12:57PM (#11329494)
Hopeflly PDFBox is more stable than Apache Tika. Tika has become bloated with all the different formats that it supports.

Latest version of Tika parser has 44 compile time dependencies: http://mvnrepository.com/artifact/org.apache.tika/tika-parse...

Re:Apache PDFBox – A Java PDF Library by pbowyer on Monday March 21, 2016 @05:02PM (#11332012)
> Hopeflly PDFBox is more stable than Apache Tika.

I've had a few issues with Tika (at least one of which turned out to be a PDFBox issue). The mailing lists and bug trackers have been very helpful - down to people fixing bugs or writing me custom code to work around the issue, often in a few hours.

Very impressed, and the atmosphere reminds me of my first few years on the web: people helping each other, before it became so commercialised.

Re:Apache PDFBox – A Java PDF Library by rpedela on Monday March 21, 2016 @02:18PM (#11330358)
As sigmaml said, Tika uses PDFBox. I would still recommend using PDFBox for text extraction until Tika updates to PDFBox 2.0. The biggest difference I have found with PDFBox 2.0 versus 1.x is that there are significantly fewer blank lines in the 2.0 output. This helps with readability and further processing on the output such as detecting headings, paragraphs, etc.
Re:Apache PDFBox – A Java PDF Library by sigmaml on Monday March 21, 2016 @01:07PM (#11329588)
The scope of Tika is different and wide. For the PDF subset, Tika uses PDFBox to parse and extract data from the document.
Re:Apache PDFBox – A Java PDF Library by donretag on Monday March 21, 2016 @01:31PM (#11329896)
I have never noticed that. Perhaps it is because I never used Tika directly, but as a dependency from other projects such as Nutch.

I realize the scope is different, which is why I mentioned that Tika supports more formats.