public final class CpePipeline extends Object
Modifier and Type | Method and Description |
---|---|
static void |
runPipeline(org.apache.uima.collection.CollectionReaderDescription readerDesc,
org.apache.uima.analysis_engine.AnalysisEngineDescription... descs)
Run the CollectionReader and AnalysisEngines as a multi-threaded pipeline.
|
public static void runPipeline(org.apache.uima.collection.CollectionReaderDescription readerDesc, org.apache.uima.analysis_engine.AnalysisEngineDescription... descs) throws org.apache.uima.UIMAException, SAXException, org.apache.uima.collection.metadata.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.SAXException
- if there was a XML-related problem materializing the component descriptors that are
referenced from the CPE descriptorIOException
- if there was a I/O-related problem materializing the component descriptors that are
referenced from the CPE descriptororg.apache.uima.collection.metadata.CpeDescriptorException
- if there was a problem configuring the CPE descriptororg.apache.uima.UIMAException
- if there was a problem initializing or running the CPE.Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.