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.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.Probability Probability, but doesn't check for a range of 0 to 1.