@PipeBitInfo(name="LVG Basetoken Annotator", description="Adds cononical form of Base Tokens.", dependencies={SECTION,BASE_TOKEN}) public class LvgBaseTokenAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_LEMMA_CACHE_FILE_LOCATION
Value is "LemmaCacheFileLocation".
|
static String |
PARAM_LEMMA_CACHE_FREQUENCY_CUTOFF
Value is "LemmaCacheFrequencyCutoff".
|
static String |
PARAM_POST_LEMMAS
Value is "PostLemmas".
|
static String |
PARAM_USE_LEMMA_CACHE
Value is "UseLemmaCache".
|
Constructor and Description |
---|
LvgBaseTokenAnnotator() |
Modifier and Type | Method and Description |
---|---|
protected void |
annotateRange(org.apache.uima.jcas.JCas jcas,
String text,
int rangeBegin,
int rangeEnd)
A utility method that annotates a given range.
|
void |
initialize(org.apache.uima.UimaContext aContext)
Performs initialization logic.
|
void |
process(org.apache.uima.jcas.JCas jcas)
Invokes this annotator's analysis logic.
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_POST_LEMMAS
public static final String PARAM_USE_LEMMA_CACHE
public static final String PARAM_LEMMA_CACHE_FILE_LOCATION
public static final String PARAM_LEMMA_CACHE_FREQUENCY_CUTOFF
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
BaseAnnotator.initialize(AnnotatorContext)
public void process(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
protected void annotateRange(org.apache.uima.jcas.JCas jcas, String text, int rangeBegin, int rangeEnd) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.