public class RegexSpotter
extends fr.univnantes.lina.uima.tkregex.ae.TokenRegexAE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHARACTER_FOOTPRINT_TERM_FILTER |
static java.lang.String |
CONTEXTUALIZE |
static java.lang.String |
LOG_OVERLAPPING_RULES |
static java.lang.String |
STOP_WORD_FILTER |
Constructor and Description |
---|
RegexSpotter() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterRuleProcessing(org.apache.uima.jcas.JCas jCas) |
protected void |
allRulesFailed(org.apache.uima.jcas.JCas jCas) |
protected void |
beforeRuleProcessing(org.apache.uima.jcas.JCas jCas) |
void |
initialize(org.apache.uima.UimaContext context) |
void |
ruleMatched(org.apache.uima.jcas.JCas jCas,
fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence) |
void |
watchCharacterFiltered(org.apache.uima.jcas.JCas jCas,
fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence,
java.lang.String groupingKey) |
void |
watchOccurrence(org.apache.uima.jcas.JCas jCas,
fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence,
java.lang.String groupingKey) |
void |
watchStopWordFiltered(org.apache.uima.jcas.JCas jCas,
fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence,
java.lang.String groupingKey) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final java.lang.String LOG_OVERLAPPING_RULES
public static final java.lang.String CONTEXTUALIZE
public static final java.lang.String CHARACTER_FOOTPRINT_TERM_FILTER
public static final java.lang.String STOP_WORD_FILTER
protected void beforeRuleProcessing(org.apache.uima.jcas.JCas jCas)
beforeRuleProcessing
in class fr.univnantes.lina.uima.tkregex.ae.TokenRegexAE
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 ruleMatched(org.apache.uima.jcas.JCas jCas, fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence)
ruleMatched
in class fr.univnantes.lina.uima.tkregex.ae.TokenRegexAE
public void watchOccurrence(org.apache.uima.jcas.JCas jCas, fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence, java.lang.String groupingKey)
public void watchStopWordFiltered(org.apache.uima.jcas.JCas jCas, fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence, java.lang.String groupingKey)
public void watchCharacterFiltered(org.apache.uima.jcas.JCas jCas, fr.univnantes.lina.uima.tkregex.RegexOccurrence occurrence, java.lang.String groupingKey)
protected void allRulesFailed(org.apache.uima.jcas.JCas jCas)
allRulesFailed
in class fr.univnantes.lina.uima.tkregex.ae.TokenRegexAE
protected void afterRuleProcessing(org.apache.uima.jcas.JCas jCas)
afterRuleProcessing
in class fr.univnantes.lina.uima.tkregex.ae.TokenRegexAE