Description Usage Arguments Value Examples
View source: R/text_stem_words.R
Stem words before analysis
1 | text_stem_words(unnest_data, word_col = "word")
|
unnest_data |
dataframe with unnested free text data (a row per word, eg. as prepared by tidytext::unnest_tokens) |
word_col |
column name containing word tokens |
dataframe with words replaced with their porter stemmed version
1 | text_stem_words(data.frame(doc_id = c(1, 2, 3, 4), word = c('test', 'testing', 'tester', 'word')), word_col = 'word')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.