pr_stem_sentences: Stem a dataframe containing a column with sentences

View source: R/pr_stem.R

pr_stem_sentencesR Documentation

Stem a dataframe containing a column with sentences

Description

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

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


proustr documentation built on Sept. 3, 2026, 5:09 p.m.