Re: Passing object from cpe to collection reader

2017-02-22 Thread Jaroslaw Cwiklik
Oops, by mistake I included a link to very old uima documentation. Sorry about that. The Java Docs can be found here: https://uima.apache.org/d/uimaj-current/apidocs/index.html Looks for UimaFramework and produceCollectionReader(...) -jerry On Wed, Feb 22, 2017 at 1:40 PM, Jaroslaw Cwiklik

Re: Passing object from cpe to collection reader

2017-02-22 Thread Jaroslaw Cwiklik
Not sure if this is the best way to do it but can you first instantiate and initialize your CR and plug it in to the CPM? Something like this: Map additionalParams = new HashMap(); additionalParams.put("object1", object1); BaseCollectionReader colreader =

Passing object from cpe to collection reader

2017-02-21 Thread Prerna Bhatia
Hi All, At the time of initialization of the CPE, I am passing list of objects to CPE. I want these objects to be used by collection reader to prepare the documents and run AAE on it. How can this be done? Thanks in advance, Prerna