pr_stem_sentences: Stem a dataframe containing a column with sentences

Description Usage Arguments Value Examples

View source: R/pr_stem.R

Description

Implementation of the SnowballC stemmer. Note that punctuation and capital letters are removed when processing.

Usage

1

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

1
2
a <- proustr::laprisonniere[1:10,]
pr_stem_sentences(a, text)

proustr documentation built on May 2, 2019, 5:08 a.m.