Package: spell.replacer 1.0.1
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/>.
Authors:
spell.replacer_1.0.1.tar.gz
spell.replacer_1.0.1.zip(r-4.7)spell.replacer_1.0.1.zip(r-4.6)spell.replacer_1.0.1.zip(r-4.5)
spell.replacer_1.0.1.tgz(r-4.6-any)spell.replacer_1.0.1.tgz(r-4.5-any)
spell.replacer_1.0.1.tar.gz(r-4.7-any)spell.replacer_1.0.1.tar.gz(r-4.6-any)
spell.replacer_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
spell.replacer/json (API)
| # Install 'spell.replacer' in R: |
| install.packages('spell.replacer', repos = c('https://browndw.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/browndw/spell.replacer/issues
- coca_list - COCA Word List
Last updated from:1421d58ea8. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 121 | ||
| source / vignettes | OK | 204 | ||
| linux-release-x86_64 | OK | 133 | ||
| macos-release-arm64 | OK | 115 | ||
| macos-oldrel-arm64 | OK | 82 | ||
| windows-devel | OK | 104 | ||
| windows-release | OK | 128 | ||
| windows-oldrel | OK | 71 | ||
| wasm-release | OK | 113 |
Exports:correctspell_replace
Dependencies:clicpp11data.tabledigestdplyrdttenglishgenericsgluehunspelllatticelexiconlifecyclemagrittrmgsubNLPpillarpkgconfigpurrrqdapRegexR6Rcpprlangslamstringdiststringistringrsyuzhettextcleantextshapetibbletidyrtidyselectutf8vctrswithrzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| COCA Word List | coca_list |
| Correct a Single Misspelled Word | correct |
| Probabilistic Spelling Correction | spell_replace |
