.check_misspelling | R Documentation |
Checks the wikitext to see if this is a misspelling of another word.
.check_misspelling( wt, word, sight_words, use_lookup, current_depth, max_depth, stop_at )
wt |
Character; wikitext of a word |
word |
Character; the word, to make sure we don't loop. |
sight_words |
Character vector; words to not break down further.
Defaults to the included |
use_lookup |
Logical; whether to use a cached lookup table (if available) or always process the word from scratch. If the word is not available in the lookup, processing (and likely a call to the Wiktionary API) will still occur. You might want to set this value to FALSE if you've made recent edits to Wiktionary or otherwise want to see if something has changed recently. |
current_depth |
Integer; current recursion depth. |
max_depth |
Integer; maximum recursion depth. |
stop_at |
Character; a word to stop processing at. Used to help prevent loops. |
Character; the better spelling of the word.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.