6 releases
| 0.2.3 | Jan 16, 2020 |
|---|---|
| 0.2.2 | Jan 15, 2020 |
| 0.1.1 | Jan 15, 2020 |
#18 in #typo
2.5MB
241 lines
spelling-corrector
A simple command line utility / library to correct typos. Based on Peter Norvig's excellent article.
Example usage:
use spelling_corrector::corrector;
let correct = corrector::SimpleCorrector::default();
let words = correct.correct_sentence("the architexture is inconcievable");
assert_eq!(words, "the architecture is inconceivable")
spelling_corrector
A simple command line utility / library to correct typos (and an excuse for me to learn some rust ;)). Based on Peter Norvig's excellent article.
Example usage:
use spelling_corrector::corrector;
let correct = corrector::SimpleCorrector::default();
let words = correct.correct_sentence("the architexture is inconcievable");
assert_eq!(words, "the architecture is inconceivable")
Dependencies
~6–10MB
~181K SLoC