Have produceResource for CollectionReaders operate like other Analysis Engines
with respect to setup of type system
-------------------------------------------------------------------------------------------------------------------
Key: UIMA-554
URL: https://issues.apache.org/jira/browse/UIMA-554
Project: UIMA
Issue Type: Improvement
Components: Core Java Framework
Affects Versions: 2.2, 2.1
Reporter: Marshall Schor
Priority: Trivial
This code fails but works if you uncomment out line 3:
CollectionReader cr = UIMAFramework.produceCollectionReader(aSpecifier);
CasManager casManager = cr.getCasManager();
// casManager.addMetaData((ProcessingResourceMetaData)cr.getMetaData());
casManager.defineCasPool("pool", 2, null);
Other "produce" methods (i.e. for analysis engines) add their metadata to their
cas managers. Consider doing this for Collection Readers too (this is now
done during CPE initialization).
Use case: User found this while trying to test collection reader by itself.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.