public class SentenceAdjuster
extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
org.apache.log4j.Logger |
iv_logger |
static String |
PARAM_IGNORE_WORDS
The list of words ("and" "&") to ignore in pattern matching.
|
static String |
PARAM_WORDS_IN_PATTERN
The list of words ("none", "no", etc) used in the pattern
|
Constructor and Description |
---|
SentenceAdjuster() |
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_IGNORE_WORDS
public static final String PARAM_WORDS_IN_PATTERN
public org.apache.log4j.Logger iv_logger
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
com.ibm.uima.analysis_engine.annotator.BaseAnnotator#initialize(UimaContext)
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.annotator.AnnotatorContextException
org.apache.uima.analysis_engine.annotator.AnnotatorContextException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.