Package org.languagetool.rules.ngrams
-
Class Summary Class Description ConfusionProbabilityRule LanguageTool's homophone confusion check that uses ngram lookups to decide which word in a confusion set (fromconfusion_sets.txt
) suits best.GoogleToken A token as tokenized in the Google ngram index.GoogleTokenUtil LanguageModelUtils NgramProbabilityRule LanguageTool's probability check that uses ngram lookups to decide if an ngram of the input text is so rare in our ngram index that it should be considered an error.NgramProbabilityRule.AdvancedReplacement NgramProbabilityRule.Replacement Probability Probability, but doesn't check for a range of 0 to 1.