public class JCasIterable extends Object implements Iterable<JCas>
Constructor and Description |
---|
JCasIterable(CollectionReaderDescription aReader,
AnalysisEngineDescription... aEngines)
Iterate over the documents loaded by the CollectionReader, running the AnalysisEngine on each
one before yielding them.
|
public JCasIterable(CollectionReaderDescription aReader, AnalysisEngineDescription... aEngines)
aReader
- The CollectionReader for loading documents.aEngines
- The AnalysisEngines for processing documents.public JCasIterator iterator()
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.