Uses of Class
org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
Packages that use DisambiguationPatternRule
Package
Description
-
Uses of DisambiguationPatternRule in org.languagetool.rules
Methods in org.languagetool.rules that return types with arguments of type DisambiguationPatternRuleModifier and TypeMethodDescriptionRule.getAntiPatterns()
Overwrite this to avoid false alarms by ignoring these patterns - note that yourRule.match(AnalyzedSentence)
method needs to callRule.getSentenceWithImmunization(org.languagetool.AnalyzedSentence)
for this to be used and you need to checkAnalyzedTokenReadings.isImmunized()
protected List<DisambiguationPatternRule>
Rule.makeAntiPatterns
(List<List<PatternToken>> patternList, Language language) Helper for implementingRule.getAntiPatterns()
. -
Uses of DisambiguationPatternRule in org.languagetool.rules.patterns
Fields in org.languagetool.rules.patterns with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprotected final List<DisambiguationPatternRule>
AbstractPatternRule.antiPatterns
private final List<DisambiguationPatternRule>
PatternRuleHandler.ruleAntiPatterns
private final List<DisambiguationPatternRule>
PatternRuleHandler.rulegroupAntiPatterns
Methods in org.languagetool.rules.patterns that return types with arguments of type DisambiguationPatternRuleModifier and TypeMethodDescriptionfinal List<DisambiguationPatternRule>
AbstractPatternRule.getAntiPatterns()
Method parameters in org.languagetool.rules.patterns with type arguments of type DisambiguationPatternRuleModifier and TypeMethodDescriptionvoid
AbstractPatternRule.setAntiPatterns
(List<DisambiguationPatternRule> antiPatterns) Set up the list of antipatterns used to immunize tokens, i.e., make them non-matchable by the current rule. -
Uses of DisambiguationPatternRule in org.languagetool.rules.spelling
Fields in org.languagetool.rules.spelling with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate List<DisambiguationPatternRule>
SpellingCheckRule.antiPatterns
Methods in org.languagetool.rules.spelling that return types with arguments of type DisambiguationPatternRule -
Uses of DisambiguationPatternRule in org.languagetool.tagging.disambiguation.rules
Fields in org.languagetool.tagging.disambiguation.rules with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate final List<DisambiguationPatternRule>
XmlRuleDisambiguator.disambiguationRules
private List<DisambiguationPatternRule>
DisambiguationRuleHandler.ruleAntiPatterns
private List<DisambiguationPatternRule>
DisambiguationRuleHandler.rulegroupAntiPatterns
private final List<DisambiguationPatternRule>
DisambiguationRuleHandler.rules
Methods in org.languagetool.tagging.disambiguation.rules that return types with arguments of type DisambiguationPatternRuleModifier and TypeMethodDescription(package private) List<DisambiguationPatternRule>
DisambiguationRuleHandler.getDisambRules()
final List<DisambiguationPatternRule>
DisambiguationRuleLoader.getRules
(InputStream stream) protected List<DisambiguationPatternRule>
XmlRuleDisambiguator.loadPatternRules
(String filename) Load disambiguation rules from an XML file.Constructors in org.languagetool.tagging.disambiguation.rules with parameters of type DisambiguationPatternRuleModifierConstructorDescription(package private)