public class CPERunner extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
batchSize |
protected Integer |
casPoolSize |
protected org.apache.uima.collection.CollectionProcessingEngine |
cpe |
protected org.apache.uima.collection.metadata.CpeDescription |
cpeDescription |
protected String |
descriptorPath
the descriptor file for the CPE;
|
protected boolean |
error |
protected Integer |
numbersOfDocuments |
protected org.apache.commons.cli.Options |
options |
protected Integer |
processingUnitThreadCount |
protected StatusCallbackListener |
statusCallbackListener |
| Constructor and Description |
|---|
CPERunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
createCPE() |
void |
createCPEDescription() |
Integer |
getCasPoolSize() |
org.apache.uima.collection.CollectionProcessingEngine |
getCpe() |
org.apache.uima.collection.metadata.CpeDescription |
getCpeDescription() |
String |
getDescriptorPath() |
Integer |
getNumbersOfDocuments() |
org.apache.commons.cli.Options |
getOptions() |
Integer |
getProcessingUnitThreadCount() |
StatusCallbackListener |
getStatusCallbackListener() |
boolean |
isError() |
static void |
main(String[] args) |
void |
parseArguments(String[] args) |
void |
process(String[] args) |
void |
run() |
protected void |
runCPE() |
void |
setError(boolean error) |
void |
showHelpText() |
protected String descriptorPath
protected org.apache.uima.collection.metadata.CpeDescription cpeDescription
protected org.apache.commons.cli.Options options
protected org.apache.uima.collection.CollectionProcessingEngine cpe
protected StatusCallbackListener statusCallbackListener
protected Integer processingUnitThreadCount
protected Integer casPoolSize
protected Integer numbersOfDocuments
protected Integer batchSize
protected boolean error
public static void main(String[] args)
public void parseArguments(String[] args)
public void createCPEDescription()
throws org.apache.uima.util.InvalidXMLException,
IOException,
org.apache.uima.collection.metadata.CpeDescriptorException,
PipelineIOException
org.apache.uima.util.InvalidXMLExceptionIOExceptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionPipelineIOExceptionpublic void createCPE()
throws org.apache.uima.util.InvalidXMLException,
IOException,
org.apache.uima.resource.ResourceInitializationException,
org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.util.InvalidXMLExceptionIOExceptionorg.apache.uima.resource.ResourceInitializationExceptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic boolean isError()
public void setError(boolean error)
public void showHelpText()
public void run()
throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationExceptionpublic void process(String[] args)
protected void runCPE()
public String getDescriptorPath()
public org.apache.uima.collection.metadata.CpeDescription getCpeDescription()
public org.apache.commons.cli.Options getOptions()
public org.apache.uima.collection.CollectionProcessingEngine getCpe()
public StatusCallbackListener getStatusCallbackListener()
public Integer getProcessingUnitThreadCount()
public Integer getCasPoolSize()
public Integer getNumbersOfDocuments()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.