Description Usage Arguments Value See Also Examples
Lemmatize a vector of words.
1 | lemmatize_words(x, dictionary = lexicon::hash_lemmas, ...)
|
x |
A vector of words. |
dictionary |
A dictionary of base terms and lemmas to use for
replacement. The first column should be the full word form in lower case
while the second column is the corresponding replacement lemma. The default
uses |
... |
ignored. |
Returns a vector of lemmatized words.
1 2 | x <- c("the", NA, 'doggies', ',', 'well', 'they', "aren\'t", 'Joyfully', 'running', '.')
lemmatize_words(x)
|
[1] "the" NA "doggy" "," "good" "they"
[7] "aren't" "Joyfully" "run" "."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.