uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Zesch" <ze...@tk.informatik.tu-darmstadt.de>
Subject RE: "Global" Parameters for a CPE
Date Wed, 24 Oct 2007 09:26:10 GMT
> > I want to read some files from a certain directory and 
> write the results
> > back in the same folder (in a subdirectory, to be more 
> exactly). (How)
> > can I define parameters that are both accessible in a 
> CollectionReader
> > and in a Cas Consumer? Or do I have to define the folder parameter
> > twice, first in the CollectionReaderXML and second in the 
> CasConsumerXML?
> > 
> > Thanks for your help
> > Philipp
> Excellent question.  I tried to figure this out from our
> documentation and couldn't.  Anyone?

As a workaround, one could define the parameter in the CollectionReader
and add a document annotation that holds the path. The consumer then
reads the path from the document annotation, so it knows where to put
the results.


View raw message