Class NgramProbabilityRule

java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.ngrams.NgramProbabilityRule

@Experimental public class NgramProbabilityRule extends Rule
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. Also see http://wiki.languagetool.org/finding-errors-using-n-gram-data.
Since:
3.2