Package: spell.replacer Title: Probabilistic Spelling Correction in a Character Vector Version: 1.0.1 Authors@R: person(given = "David", family = "Brown", role = c("aut", "cre"), email = "dwb2@andrew.cmu.edu", comment = c(ORCID = "0000-0001-7745-6354")) 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)" . License: MIT + file LICENSE Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Depends: R (>= 2.10) Imports: hunspell, stringr, stringdist, textclean Suggests: rmarkdown, knitr, testthat (>= 3.0.0) VignetteBuilder: knitr Config/testthat/edition: 3 Config/pak/sysreqs: libicu-dev Repository: https://browndw.r-universe.dev Date/Publication: 2025-08-29 19:06:05 UTC RemoteUrl: https://github.com/browndw/spell.replacer RemoteRef: HEAD RemoteSha: 1421d58ea87d93d691549eead4666bf7afb908db NeedsCompilation: no Packaged: 2026-10-09 12:28:08 UTC; root Author: David Brown [aut, cre] (ORCID: ) Maintainer: David Brown