Package org.languagetool.rules.ngrams
package org.languagetool.rules.ngrams
-
ClassesClassDescriptionLanguageTool's homophone confusion check that uses ngram lookups to decide which word in a confusion set (from
confusion_sets.txt
) suits best.A token as tokenized in the Google ngram index.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, but doesn't check for a range of 0 to 1.