| pr_stem_words | R Documentation |
Implementation of the SnowballC stemmer. Note that punctuation and capitals letters
are also removed.
pr_stem_words(df, col, language = "french")
df |
the data.frame containing the sentences |
col |
the column with the sentences |
language |
the language of the words Defaut is french. See SnowballC::getStemLanguages() function for a list of supported languages. |
a tibble
a <- data.frame(words = c("matin", "heure", "fatigué","sonné","lois", "tests","fusionner"))
pr_stem_words(a, words)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.