Crate spellcheck[][src]

A spell-checker based on the statistical algorithm described by Peter Norvig in http://norvig.com/spell-correct.html

This is a port of the JavaScript implementation of the algorithm from https://github.com/past/speller

Usage requires a two-step process:

  1. call speller.train() one or more times with a large text to train the language model
  2. call speller.correct(word) to retrieve the correction for the specified word

Structs

Speller