Uses of Class
org.languagetool.tagging.disambiguation.rules.DisambiguationPatternRule
-
Packages that use DisambiguationPatternRule Package Description org.languagetool.rules org.languagetool.rules.patterns org.languagetool.rules.spelling org.languagetool.tagging.disambiguation.rules -
-
Uses of DisambiguationPatternRule in org.languagetool.rules
Methods in org.languagetool.rules that return types with arguments of type DisambiguationPatternRule Modifier and Type Method Description java.util.List<DisambiguationPatternRule>
Rule. 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 java.util.List<DisambiguationPatternRule>
Rule. makeAntiPatterns(java.util.List<java.util.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 DisambiguationPatternRule Modifier and Type Field Description protected java.util.List<DisambiguationPatternRule>
AbstractPatternRule. antiPatterns
private java.util.List<DisambiguationPatternRule>
PatternRuleHandler. ruleAntiPatterns
private java.util.List<DisambiguationPatternRule>
PatternRuleHandler. rulegroupAntiPatterns
Methods in org.languagetool.rules.patterns that return types with arguments of type DisambiguationPatternRule Modifier and Type Method Description java.util.List<DisambiguationPatternRule>
AbstractPatternRule. getAntiPatterns()
Method parameters in org.languagetool.rules.patterns with type arguments of type DisambiguationPatternRule Modifier and Type Method Description void
AbstractPatternRule. setAntiPatterns(java.util.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 DisambiguationPatternRule Modifier and Type Field Description private java.util.List<DisambiguationPatternRule>
SpellingCheckRule. antiPatterns
Methods in org.languagetool.rules.spelling that return types with arguments of type DisambiguationPatternRule Modifier and Type Method Description java.util.List<DisambiguationPatternRule>
SpellingCheckRule. getAntiPatterns()
-
Uses of DisambiguationPatternRule in org.languagetool.tagging.disambiguation.rules
Fields in org.languagetool.tagging.disambiguation.rules with type parameters of type DisambiguationPatternRule Modifier and Type Field Description private java.util.List<DisambiguationPatternRule>
XmlRuleDisambiguator. disambiguationRules
private java.util.List<DisambiguationPatternRule>
DisambiguationRuleHandler. ruleAntiPatterns
private java.util.List<DisambiguationPatternRule>
DisambiguationRuleHandler. rulegroupAntiPatterns
private java.util.List<DisambiguationPatternRule>
DisambiguationRuleHandler. rules
Methods in org.languagetool.tagging.disambiguation.rules that return types with arguments of type DisambiguationPatternRule Modifier and Type Method Description (package private) java.util.List<DisambiguationPatternRule>
DisambiguationRuleHandler. getDisambRules()
java.util.List<DisambiguationPatternRule>
DisambiguationRuleLoader. getRules(java.io.InputStream stream)
protected java.util.List<DisambiguationPatternRule>
XmlRuleDisambiguator. loadPatternRules(java.lang.String filename)
Load disambiguation rules from an XML file.Constructors in org.languagetool.tagging.disambiguation.rules with parameters of type DisambiguationPatternRule Constructor Description DisambiguationPatternRuleReplacer(DisambiguationPatternRule rule)
-