Uses of Class
org.languagetool.rules.patterns.Match
-
Packages that use Match Package Description org.languagetool.rules.patterns org.languagetool.tagging.disambiguation.rules -
-
Uses of Match in org.languagetool.rules.patterns
Fields in org.languagetool.rules.patterns declared as Match Modifier and Type Field Description private Match
MatchState. match
private Match
PatternToken. tokenReference
The reference to another element in the pattern.protected Match
XMLRuleHandler. tokenReference
Fields in org.languagetool.rules.patterns with type parameters of type Match Modifier and Type Field Description protected java.util.List<Match>
AbstractPatternRule. suggestionMatches
protected java.util.List<Match>
XMLRuleHandler. suggestionMatches
protected java.util.List<Match>
AbstractPatternRule. suggestionMatchesOutMsg
protected java.util.List<Match>
XMLRuleHandler. suggestionMatchesOutMsg
Methods in org.languagetool.rules.patterns that return Match Modifier and Type Method Description Match
MatchState. getMatch()
Match
PatternToken. getMatch()
Methods in org.languagetool.rules.patterns that return types with arguments of type Match Modifier and Type Method Description protected @Nullable java.util.List<Match>
XMLRuleHandler. addLegacyMatches(java.util.List<Match> existingSugMatches, java.lang.String messageStr, boolean inMessage)
Adds Match objects for all references to tokens (including '\1' and the like).(package private) java.util.List<Match>
AbstractPatternRule. getSuggestionMatches()
(package private) java.util.List<Match>
AbstractPatternRule. getSuggestionMatchesOutMsg()
Methods in org.languagetool.rules.patterns with parameters of type Match Modifier and Type Method Description void
AbstractPatternRule. addSuggestionMatch(Match m)
Add formatted suggestion elements.void
AbstractPatternRule. addSuggestionMatchOutMsg(Match m)
Add formatted suggestion elements outside message.void
PatternToken. setMatch(Match match)
Sets the reference to another token.Method parameters in org.languagetool.rules.patterns with type arguments of type Match Modifier and Type Method Description protected @Nullable java.util.List<Match>
XMLRuleHandler. addLegacyMatches(java.util.List<Match> existingSugMatches, java.lang.String messageStr, boolean inMessage)
Adds Match objects for all references to tokens (including '\1' and the like).private java.lang.String[]
PatternRuleMatcher. concatMatches(int start, int index, int tokenIndex, AnalyzedTokenReadings[] tokens, int nextTokenPos, java.util.List<Match> suggestionMatches)
Concatenates the matches, and takes care of phrases (including inflection using synthesis).private boolean
PatternRuleMatcher. matchPreservesCase(java.util.List<Match> suggestionMatches, java.lang.String msg)
Checks if the suggestion starts with a match that is supposed to preserve case.Constructors in org.languagetool.rules.patterns with parameters of type Match Constructor Description MatchState(Match match, Synthesizer synthesizer)
-
Uses of Match in org.languagetool.tagging.disambiguation.rules
Fields in org.languagetool.tagging.disambiguation.rules declared as Match Modifier and Type Field Description private Match
DisambiguationPatternRule. matchElement
private Match
DisambiguationRuleHandler. posSelector
Methods in org.languagetool.tagging.disambiguation.rules that return Match Modifier and Type Method Description @Nullable Match
DisambiguationPatternRule. getMatchElement()
Constructors in org.languagetool.tagging.disambiguation.rules with parameters of type Match Constructor Description DisambiguationPatternRule(java.lang.String id, java.lang.String description, Language language, java.util.List<PatternToken> patternTokens, java.lang.String disambiguatedPOS, Match posSelect, DisambiguationPatternRule.DisambiguatorAction disambAction)
-