public class Contextualizer
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
TermOccurrence
s within Document
s so as
to make method TermOccurrence
AnalysisComponent_ImplBase.getContext()
invokable.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASSOCIATION_RATE |
static java.lang.String |
CO_TERMS_TYPE |
static java.lang.String |
COMPUTE_CONTEXTS_FOR_ALL_TERMS |
static java.lang.String |
MINIMUM_COOCC_FREQUENCY_THRESHOLD |
static java.lang.String |
NORMALIZE_ASSOC_RATE |
static java.lang.String |
SCOPE |
static java.lang.String |
USE_TERM_CLASSES |
Constructor and Description |
---|
Contextualizer() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete() |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final java.lang.String SCOPE
public static final java.lang.String NORMALIZE_ASSOC_RATE
public static final java.lang.String ASSOCIATION_RATE
public static final java.lang.String MINIMUM_COOCC_FREQUENCY_THRESHOLD
public static final java.lang.String CO_TERMS_TYPE
public static final java.lang.String USE_TERM_CLASSES
public static final java.lang.String COMPUTE_CONTEXTS_FOR_ALL_TERMS
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
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void collectionProcessComplete() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
collectionProcessComplete
in interface org.apache.uima.analysis_component.AnalysisComponent
collectionProcessComplete
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException