stem_words: Stem a Vector of Words

Description Usage Arguments Value See Also Examples

View source: R/stem.R

Description

Stem a vector of words.

Usage

1
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

1
2
x <- c("the", 'doggies', ',', 'well', 'they', "aren\'t", 'Joyfully', 'running', '.')
stem_words(x)

Example output

[1] "the"      "doggi"    ","        "well"     "thei"     "aren't"   "Joyfulli"
[8] "run"      "."       

textstem documentation built on May 2, 2019, 6:42 a.m.