public abstract class AbstractPatternRulePerformer extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractPatternRulePerformer.MatchConsumer |
Modifier and Type | Field and Description |
---|---|
protected boolean |
prevMatched |
protected AbstractTokenBasedRule |
rule |
protected AnalyzedTokenReadings[] |
unifiedTokens |
protected Unifier |
unifier |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPatternRulePerformer(AbstractTokenBasedRule rule,
Unifier unifier) |
Modifier and Type | Method and Description |
---|---|
protected void |
doMatch(AnalyzedSentence sentence,
AnalyzedTokenReadings[] tokens,
AbstractPatternRulePerformer.MatchConsumer consumer) |
protected boolean |
isInterpretPosTagsPreDisambiguation() |
protected boolean |
testAllReadings(AnalyzedTokenReadings[] tokens,
PatternTokenMatcher matcher,
PatternTokenMatcher prevElement,
int tokenNo,
int firstMatchToken,
int prevSkipNext) |
protected boolean prevMatched
protected AbstractTokenBasedRule rule
protected Unifier unifier
protected AnalyzedTokenReadings[] unifiedTokens
protected AbstractPatternRulePerformer(AbstractTokenBasedRule rule, Unifier unifier)
protected void doMatch(AnalyzedSentence sentence, AnalyzedTokenReadings[] tokens, AbstractPatternRulePerformer.MatchConsumer consumer) throws IOException
IOException
protected boolean isInterpretPosTagsPreDisambiguation()
protected boolean testAllReadings(AnalyzedTokenReadings[] tokens, PatternTokenMatcher matcher, PatternTokenMatcher prevElement, int tokenNo, int firstMatchToken, int prevSkipNext) throws IOException
IOException