Learn R Programming

spell.replacer (version 1.0.1)

Probabilistic Spelling Correction in a Character Vector

Description

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)" .

Copy Link

Version

Install

install.packages('spell.replacer')

Monthly Downloads

115

Version

1.0.1

License

MIT + file LICENSE

Maintainer

David Brown

Last Published

September 3rd, 2025

Functions in spell.replacer (1.0.1)

spell_replace

Probabilistic Spelling Correction
spell.replacer-package

spell.replacer: Probabilistic Spelling Correction
correct

Correct a Single Misspelled Word
coca_list

COCA Word List