Hi Radwen, I assume you want to get the document text as a stream? There are two pretty straightforward solutions:
1) Use aJCas.getSofaDataStream() and wrap the InputStream in an InputStreamReader 2) Use aJCas.getDocumentText() and wrap the String in a StringReader Then wrap either of them in a BufferedReader. Best, Ramon Radwen ANIBA schrieb: > Hello everyone, > > How to get the path of the document to be analysed in UIma > > Instead of having String txt = aJCas.getDocumentText(); I need to use it as > Bufferedreader to achieve some process is it possible to modify the > getDocumentText() ? > > Radwen >
signature.asc
Description: OpenPGP digital signature
