.update_env_lookup | R Documentation |
When we look up a word and that word isn't in the existing lookup, we add it to the lookup.
.update_env_lookup(word, morphemes, use_lookup)
word |
The word that has been processed. |
morphemes |
The processed morphemes to save in the cache. |
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. |
The morphemes, with any post-processing that's needed on all morphemes (right now, removing duplicate hyphens).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.