Package org.languagetool.rules.en
Class EnglishNgramProbabilityRule
- java.lang.Object
-
- org.languagetool.rules.Rule
-
- org.languagetool.rules.ngrams.NgramProbabilityRule
-
- org.languagetool.rules.en.EnglishNgramProbabilityRule
-
public class EnglishNgramProbabilityRule extends org.languagetool.rules.ngrams.NgramProbabilityRule
- Since:
- 3.2
-
-
Field Summary
Fields Modifier and Type Field Description private org.languagetool.tokenizers.WordTokenizer
tokenizer
-
Constructor Summary
Constructors Constructor Description EnglishNgramProbabilityRule(java.util.ResourceBundle messages, org.languagetool.languagemodel.LanguageModel languageModel, org.languagetool.Language language)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.languagetool.tokenizers.WordTokenizer
getGoogleStyleWordTokenizer()
-
Methods inherited from class org.languagetool.rules.ngrams.NgramProbabilityRule
acceptMatch, getDescription, getId, match, setMinProbability
-
Methods inherited from class org.languagetool.rules.Rule
addExamplePair, estimateContextForSureMatch, 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
-
-