Probabilistic Spelling Correction in a Character Vector

Automatically replaces "misspelled" words in a character vector based on their string distance from a list of words sorted by their frequency in a corpus. The default word list provided in the package comes from the Corpus of Contemporary American English. Uses the Jaro-Winkler distance metric for string similarity as implemented in van der Loo (2014) . The word frequency data is derived from Davies (2008-) "The Corpus of Contemporary American English (COCA)" < https://www.english-corpora.org/coca/>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spell.replacer")

1.0.1 by David Brown, a year ago


Browse source code at https://github.com/cran/spell.replacer


Authors: David Brown [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports hunspell, stringr, stringdist, textclean

Suggests rmarkdown, knitr, testthat


See at CRAN