textstem (version 0.1.4)

stem_strings: Stem a Vector of Strings

Description

Stem a vector of strings.

Usage

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

Arguments

x

A vector of strings.

language

The name of a recognized language (see wordStem).

Other arguments passed to split_token.

Value

Returns a vector of stemmed strings.

See Also

stem_words

Examples

Run this code
# NOT RUN {
x <- c(
    'the dirtier dog has eaten the pies',
    'that shameful pooch is tricky and sneaky',
    "He opened and then reopened the food bag",
    'There are skies of blue and red roses too!',
    NA,
    "The doggies, well they aren't joyfully running.",
    "The daddies are coming over...",
    "This is 34.546 above"
)
stem_strings(x)
# }

Run the code above in your browser using DataLab