Description Usage Arguments Value Author(s) Examples
View source: R/out_of_vocabulary.R
out_of_vocabulary replaces words that are not included in a given vocabulary.
1 | out_of_vocabulary(text, v = vocabulary, replacement = "oov")
|
text |
The text variable. |
v |
Character vector of words. |
replacement |
Character string replacing the out of vocabulary words. |
Returns a character vector with out of vocabulary words replaced.
Achilleas Passias
1 2 | out_of_vocabulary(text)
out_of_vocabulary(text, replacement = "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.