public final class CpePipeline extends Object
Modifier and Type | Method and Description |
---|---|
static void |
runPipeline(CollectionReaderDescription readerDesc,
AnalysisEngineDescription... descs)
Run the CollectionReader and AnalysisEngines as a multi-threaded pipeline.
|
public static void runPipeline(CollectionReaderDescription readerDesc, AnalysisEngineDescription... descs) throws UIMAException, SAXException, CpeDescriptorException, IOException
readerDesc
- The CollectionReader that loads the documents into the CAS.descs
- Primitive AnalysisEngineDescriptions that process the CAS, in order. If you have a mix
of primitive and aggregate engines, then please create the AnalysisEngines yourself
and call the other runPipeline method.UIMAException
SAXException
CpeDescriptorException
IOException
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.