what do you mean by "wrap" ? do you mean "cast" ?

I dont find getSofaDataStream() method ? I have getSofaDataURI() is it the
same thing ?


Radwen

2009/7/9 Ramon Ziai <[email protected]>

> 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
> >
>
>

Reply via email to