Learn R Programming

textstem (version 0.1.4)

stem_words: Stem a Vector of Words

Description

Stem a vector of words.

Usage

stem_words(x, language = "porter", ...)

Arguments

x

A vector of words.

language

The name of a recognized language (see wordStem).

ignored.

Value

Returns a vector of stemmed words.

See Also

stem_strings

Examples

Run this code
# NOT RUN {
x <- c("the", 'doggies', ',', 'well', 'they', "aren\'t", 'Joyfully', 'running', '.')
stem_words(x)
# }

Run the code above in your browser using DataLab