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 TypeMethodDescriptionprotected static Supplier<List<DisambiguationPatternRule>> Rule.cacheAntiPatterns(Language language, List<List<PatternToken>> antiPatterns) 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 static List<DisambiguationPatternRule> Rule.makeAntiPatterns(List<List<PatternToken>> patternList, Language language) Helper for implementingRule.getAntiPatterns(). -
Uses of DisambiguationPatternRule in org.languagetool.rules.ca
Fields in org.languagetool.rules.ca with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate final Supplier<List<DisambiguationPatternRule>> CatalanRepeatedWordsRule.antiPatternsMethods in org.languagetool.rules.ca that return types with arguments of type DisambiguationPatternRule -
Uses of DisambiguationPatternRule in org.languagetool.rules.de
Fields in org.languagetool.rules.de with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate static final List<DisambiguationPatternRule> GermanCompoundRule.ANTI_PATTERNSprivate static final List<DisambiguationPatternRule> MissingCommaRelativeClauseRule.ANTI_PATTERNSprivate final Supplier<List<DisambiguationPatternRule>> AgreementRule.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> AgreementRule2.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> CaseRule.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> CompoundInfinitivRule.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> GermanWordRepeatRule.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> SubjectVerbAgreementRule.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> VerbAgreementRule.antiPatternsMethods in org.languagetool.rules.de that return types with arguments of type DisambiguationPatternRuleModifier and TypeMethodDescriptionAgreementRule.getAntiPatterns()AgreementRule2.getAntiPatterns()CaseRule.getAntiPatterns()CompoundInfinitivRule.getAntiPatterns()GermanCompoundRule.getAntiPatterns()GermanWordRepeatRule.getAntiPatterns()MissingCommaRelativeClauseRule.getAntiPatterns()SubjectVerbAgreementRule.getAntiPatterns()VerbAgreementRule.getAntiPatterns() -
Uses of DisambiguationPatternRule in org.languagetool.rules.en
Fields in org.languagetool.rules.en with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate static final List<DisambiguationPatternRule> CompoundRule.ANTI_PATTERNSprivate final Supplier<List<DisambiguationPatternRule>> EnglishRepeatedWordsRule.antiPatternsprivate final Supplier<List<DisambiguationPatternRule>> UpperCaseNgramRule.antiPatternsMethods in org.languagetool.rules.en that return types with arguments of type DisambiguationPatternRuleModifier and TypeMethodDescriptionCompoundRule.getAntiPatterns()EnglishRepeatedWordsRule.getAntiPatterns()UpperCaseNgramRule.getAntiPatterns() -
Uses of DisambiguationPatternRule in org.languagetool.rules.es
Fields in org.languagetool.rules.es with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate final Supplier<List<DisambiguationPatternRule>> SpanishRepeatedWordsRule.antiPatternsMethods in org.languagetool.rules.es that return types with arguments of type DisambiguationPatternRule -
Uses of DisambiguationPatternRule in org.languagetool.rules.fr
Fields in org.languagetool.rules.fr with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate final Supplier<List<DisambiguationPatternRule>> QuestionWhitespaceRule.antiPatternsMethods in org.languagetool.rules.fr that return types with arguments of type DisambiguationPatternRule -
Uses of DisambiguationPatternRule in org.languagetool.rules.ngrams
Fields in org.languagetool.rules.ngrams with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprivate final List<DisambiguationPatternRule> ConfusionProbabilityRule.antiPatternsMethods in org.languagetool.rules.ngrams that return types with arguments of type DisambiguationPatternRule -
Uses of DisambiguationPatternRule in org.languagetool.rules.patterns
Fields in org.languagetool.rules.patterns with type parameters of type DisambiguationPatternRuleModifier and TypeFieldDescriptionprotected List<DisambiguationPatternRule> AbstractPatternRule.antiPatternsprivate final List<DisambiguationPatternRule> PatternRuleHandler.ruleAntiPatternsprivate final List<DisambiguationPatternRule> PatternRuleHandler.rulegroupAntiPatternsMethods 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 TypeMethodDescriptionvoidAbstractPatternRule.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.antiPatternsMethods 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 List<DisambiguationPatternRule> DisambiguationRuleHandler.ruleAntiPatternsprivate List<DisambiguationPatternRule> DisambiguationRuleHandler.rulegroupAntiPatternsprivate final List<DisambiguationPatternRule> DisambiguationRuleHandler.rulesMethods 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, Language language, String xmlPath) protected List<DisambiguationPatternRule> XmlRuleDisambiguator.loadPatternRules(String filename, Language language) Load disambiguation rules from an XML file.Constructors in org.languagetool.tagging.disambiguation.rules with parameters of type DisambiguationPatternRuleModifierConstructorDescription(package private)