stemDocument

0th

Percentile

Stem Words

Stem words in a text document using Porter's stemming algorithm.

Usage
"stemDocument"(x, language = meta(x, "language"))
Arguments
x
A text document.
language
A character giving the language for stemming.
Details

The argument language is passed over to wordStem as the name of the Snowball stemmer.

Aliases
  • stemDocument
  • stemDocument.PlainTextDocument
Examples
data("crude")
crude[[1]]
stemDocument(crude[[1]])
Documentation reproduced from package tm, version 0.6-2, License: GPL-3

Community examples

Looks like there are no examples yet.