Description Usage Arguments Details Value Author(s) Examples
Correct the spelling of a given word in the english language.
1 |
wd |
Character. The word to be spell corrected. |
maxedit |
Integer. The maximum number of edits allowed to reach the correct word. Max allowed is 3. |
dictionary |
Character Vector of eligible words to be considered. Repeated words will get more weightage. |
This is based on Peter Norvig's spell correct algorithm http://norvig.com/spell.py. But this one is modified to handle upto three edits.
The corrected word.
Selva Prabhakaran selva86@gmail.com
1 2 3 |
[1] "scarlet"
[1] "believe"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.