Description Usage Arguments Value Note
Replace all misspelled words with either the suggested replacement or the specified replacement
1 2 | spellReplace(txt, keepWords = NULL, replaceWords = NULL,
spellcheck = TRUE)
|
txt |
a character or character vector to be spell checked |
keepWords |
a character vector of words to not replace with the inferred best word |
replaceWords |
a character vector of the same length as |
spellcheck |
logical, defaults to |
A list with two fields: text
, a character or character vector with only single spaces, and replacements
, a dataframe documenting each word replaced and what it was replaced by.
This will sometimes remove some/all punctuation and other times may add punctuation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.