On 3. Dec 2019, at 13:48, Alain Désilets <
alainde...@gmail.com> wrote:
>
> I am using a CollectionReader that reads a bunch of Brat files into JCases.
>
> When debugging my pipelines, I often find myself needing to know what file the JCas was read from? Is there a way to get that information?
I don't have the IDE open, but it should be something like this:
DocumentMetaData.get(jcas).getDocumentUri()
Cheers,
-- Richard