public abstract class ReplacementFrequencyNormalizer_ImplBase extends FrequencyNormalizer_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_MIN_FREQUENCY_THRESHOLD |
protected Map<String,String> |
replacementMap |
FREQUENCY_PROVIDER, frequencyProvider
Constructor and Description |
---|
ReplacementFrequencyNormalizer_ImplBase() |
Modifier and Type | Method and Description |
---|---|
protected Map<Integer,List<SofaChangeAnnotation>> |
createSofaChangesMap(org.apache.uima.jcas.JCas jcas) |
protected Map<Integer,Boolean> |
createTokenReplaceMap(org.apache.uima.jcas.JCas jcas,
AlignedString as) |
protected abstract Map<String,String> |
getReplacementMap() |
void |
initialize(org.apache.uima.UimaContext context) |
process
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_MIN_FREQUENCY_THRESHOLD
public ReplacementFrequencyNormalizer_ImplBase()
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
protected abstract Map<String,String> getReplacementMap() throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
protected Map<Integer,List<SofaChangeAnnotation>> createSofaChangesMap(org.apache.uima.jcas.JCas jcas)
createSofaChangesMap
in class Normalizer_ImplBase
protected Map<Integer,Boolean> createTokenReplaceMap(org.apache.uima.jcas.JCas jcas, AlignedString as) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
createTokenReplaceMap
in class Normalizer_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2011–2015. All rights reserved.