efxtools.sample.ae
Class TT4jTagger

java.lang.Object
  extended by org.apache.uima.analysis_component.AnalysisComponent_ImplBase
      extended by org.apache.uima.analysis_component.Annotator_ImplBase
          extended by org.apache.uima.analysis_component.JCasAnnotator_ImplBase
              extended by efxtools.filtering.FilteringAnalysisEngine
                  extended by efxtools.sample.ae.TT4jTagger
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class TT4jTagger
extends FilteringAnalysisEngine

Wrapper for the part-of-speech tagger and lemmatizer of the tree tagger developed by Helmud Schmid of the University of Stuttgart.

Author:
Author of EfXTools

Field Summary
static java.lang.String PARAM_ENCODING
          The name of the encoding parameter
static java.lang.String PARAM_INPUT_DIR
          The name of the input directory parameter
static java.lang.String PARAM_MODEL
          The name of the model parameter
 
Constructor Summary
TT4jTagger()
           
 
Method Summary
 void destroy()
           
 void initialize(org.apache.uima.UimaContext aContext)
           
 
Methods inherited from class efxtools.filtering.FilteringAnalysisEngine
process, setResultSpecification
 
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, process
 
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, next
 
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, reconfigure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_INPUT_DIR

public static final java.lang.String PARAM_INPUT_DIR
The name of the input directory parameter

See Also:
Constant Field Values

PARAM_MODEL

public static final java.lang.String PARAM_MODEL
The name of the model parameter

See Also:
Constant Field Values

PARAM_ENCODING

public static final java.lang.String PARAM_ENCODING
The name of the encoding parameter

See Also:
Constant Field Values
Constructor Detail

TT4jTagger

public TT4jTagger()
Method Detail

initialize

public void initialize(org.apache.uima.UimaContext aContext)
                throws org.apache.uima.resource.ResourceInitializationException
Specified by:
initialize in interface org.apache.uima.analysis_component.AnalysisComponent
Overrides:
initialize in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException

destroy

public void destroy()
Specified by:
destroy in interface org.apache.uima.analysis_component.AnalysisComponent
Overrides:
destroy in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase