pr_stem_sentences
From proustr v0.4.0
by Colin FAY
Stem a dataframe containing a column with sentences
Implementation of the SnowballC stemmer. Note that punctuation and capital letters are removed when processing.
Usage
pr_stem_sentences(df, col, language = "french")
Arguments
- df
the data.frame containing the text
- col
the column with the text
- language
the language of the text. Defaut is french. See SnowballC::getStemLanguages() function for a list of supported languages.
Value
a tibble
Examples
# NOT RUN {
a <- proustr::laprisonniere[1:10,]
pr_stem_sentences(a, text)
# }
Community examples
Looks like there are no examples yet.