Class PortugueseConfusionProbabilityRule

java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.ngrams.ConfusionProbabilityRule
org.languagetool.rules.pt.PortugueseConfusionProbabilityRule

public class PortugueseConfusionProbabilityRule extends org.languagetool.rules.ngrams.ConfusionProbabilityRule
Since:
3.6
  • Field Summary

    Fields inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule

    MIN_COVERAGE, RULE_ID

    Fields inherited from class org.languagetool.rules.Rule

    messages
  • Constructor Summary

    Constructors
    Constructor
    Description
    PortugueseConfusionProbabilityRule(ResourceBundle messages, org.languagetool.languagemodel.LanguageModel languageModel, org.languagetool.Language language)
     
  • Method Summary

    Methods inherited from class org.languagetool.rules.ngrams.ConfusionProbabilityRule

    estimateContextForSureMatch, getDescription, getFilenames, getId, getMessage, getNGrams, isException, match, setConfusionPair

    Methods inherited from class org.languagetool.rules.Rule

    addExamplePair, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PortugueseConfusionProbabilityRule

      public PortugueseConfusionProbabilityRule(ResourceBundle messages, org.languagetool.languagemodel.LanguageModel languageModel, org.languagetool.Language language)