Description Usage Arguments Details Value Examples
View source: R/string_stem_group.R
Take a character vector of groups of words, and stem all words in each group.
The results are collapsed back into the original grouping, with words
separated by a single whitespace. This function wraps
SnowballC::wordStem()
which can only handle single words as input.
1 | string_stem_group(string, language)
|
string |
A character vector containing strings of 1 or more words. |
language |
Passed to |
Designed to take cleaned strings (see string_clean()
) as input.
string
, with all individual words stemmed, collapsed back into
the original groups of words
1 | string_stem_group(c("The coolest words", "Will all be stemmed"), "english")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.