You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Sebastian Danninger <se...@googlemail.com> on 2012/02/14 15:10:25 UTC

Getting Fulltext from Document object

Dear all,

we are trying to mine documents, that we retrieve via CMIS.

Whats the best way, to get the fulltext (as String) out of a Document
object?

best regards and thanks

Sebastian

Re: Getting Fulltext from Document object

Posted by Florian Müller <fm...@apache.org>.
 Hi Sebastian,

 Check out Apache Tika [1].
 Provide the document stream to Tika and Tika should be able to give you 
 all kinds of information about the content, including the text.


 - Florian


 [1] http://tika.apache.org/1.0/parser.html


> Dear all,
>
> we are trying to mine documents, that we retrieve via CMIS.
>
> Whats the best way, to get the fulltext (as String) out of a Document
> object?
>
> best regards and thanks
>
> Sebastian