pr_stem_words

0th

Percentile

Stem a dataframe containing a column with words

Implementation of the SnowballC stemmer. Note that punctuation and capitals letters are also removed.

Usage
pr_stem_words(df, col, language = "french")
Arguments
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.

Value

a tibble

Aliases
  • pr_stem_words
Examples
# NOT RUN {
a <- data.frame(words = c("matin", "heure", "fatigu<U+00E9>","sonn<U+00E9>","lois", "tests","fusionner"))
pr_stem_words(a, words)

# }
Documentation reproduced from package proustr, version 0.2.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.