The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

spell.replacer: 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) <doi:10.32614/RJ-2014-011>. The word frequency data is derived from Davies (2008-) "The Corpus of Contemporary American English (COCA)" <https://www.english-corpora.org/coca/>.

Version: 1.0.1
Depends: R (≥ 2.10)
Imports: hunspell, stringr, stringdist, textclean
Suggests: rmarkdown, knitr, testthat (≥ 3.0.0)
Published: 2025-09-03
DOI: 10.32614/CRAN.package.spell.replacer
Author: David Brown ORCID iD [aut, cre]
Maintainer: David Brown <dwb2 at andrew.cmu.edu>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: spell.replacer results

Documentation:

Reference manual: spell.replacer.html , spell.replacer.pdf
Vignettes: Getting Started with spell.replacer (source, R code)

Downloads:

Package source: spell.replacer_1.0.1.tar.gz
Windows binaries: r-devel: spell.replacer_1.0.1.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): spell.replacer_1.0.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): spell.replacer_1.0.1.tgz, r-oldrel (x86_64): spell.replacer_1.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=spell.replacer to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.