So uimafit 2.0 has updated the JCasIterable constructor to only take
(CollectionReader|AnalysisEngine)Description objects and not
CollectionReaders or AnalysisEngines directly. In cleartk we have the
Evaluation_ImplBase class whose abstract methods (train,test) take a
CollectionReader. Now a typical thing in our experiments in cTAKES was
to build an aggregate pipeline in train/test and iterate over documents
using JCasIterable with the CollectionReader and the pipeline. So is
there a way to get from a CollectionReader object to its
CollectionReaderDescription object so I can adapt this code which uses a
JCasIterable? Or is there a new/different way to iterate through jcas
using the CollectionReader object? (The new
SimplePipeline.iteratePileline() method looks useful but also only takes
Description objects.)
Thanks
--
Tim Miller
Instructor
Boston Children's Hospital and Harvard Medical School
timothy...@childrens.harvard.edu
617-919-1223