public class RunAE extends Object implements org.apache.uima.collection.StatusCallbackListener
CollectionProcessingEngine to drive the processing. For a simpler introduction to using
AEs in an application, see class ExampleApplication in the uimaj-examples project.
Usage: java org.apache.uima.examples.RunAE [OPTIONS]
<AE descriptor or JAR file name> <input dir>
[<output dir>]
If output dir is not specified, the analysis results will not be output. This can
be useful when only interested in performance statistics.
OPTIONS
-t <TagName> (XML Text Tag) - specifies the name of an XML tag, found within the input
documents, that contains the text to be analyzed. The text will also be detagged. If this option
is not specified, the entire document will be processed.
-l <ISO code> (Language) - specifies the ISO code for the language of the input documents.
Some AEs (e.g. PersonTitleAnnotator) require this.
-e <Encoding> - specifies character encoding of the input documents. The default is UTF-8.
-q (Quiet) - supresses progress messages that are normally printed as each document is processed.
-s<x> (Stats level) - determines the verboseness of performance statistics. s0=none,
s1=brief, s2=full. The default is brief.
-x - process input files as XCAS files.
| Modifier and Type | Method and Description |
|---|---|
void |
aborted()
Aborted.
|
void |
batchProcessComplete()
Batch process complete.
|
void |
collectionProcessComplete()
Collection process complete.
|
void |
entityProcessComplete(org.apache.uima.cas.CAS aCas,
org.apache.uima.collection.EntityProcessStatus aStatus)
Entity process complete.
|
void |
initializationComplete()
Initialization complete.
|
static void |
main(String[] args)
The main method.
|
void |
paused()
Paused.
|
void |
resumed()
Resumed.
|
public RunAE(String[] args)
args - the argspublic void initializationComplete()
initializationComplete in interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListenerBaseStatusCallbackListener.initializationComplete()public void entityProcessComplete(org.apache.uima.cas.CAS aCas,
org.apache.uima.collection.EntityProcessStatus aStatus)
entityProcessComplete in interface org.apache.uima.collection.StatusCallbackListeneraCas - the a casaStatus - the a statusStatusCallbackListener.entityProcessComplete(org.apache.uima.cas.CAS,
org.apache.uima.collection.EntityProcessStatus)public void aborted()
aborted in interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListenerBaseStatusCallbackListener.aborted()public void batchProcessComplete()
batchProcessComplete in interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListenerBaseStatusCallbackListener.batchProcessComplete()public void collectionProcessComplete()
collectionProcessComplete in interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListenerBaseStatusCallbackListener.collectionProcessComplete()public void paused()
paused in interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListenerBaseStatusCallbackListener.paused()public void resumed()
resumed in interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListenerBaseStatusCallbackListener.resumed()public static void main(String[] args)
args - the argumentsCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.