stemDocument {tm} | R Documentation |
Stem words in a text document using Porter's stemming algorithm.
## S3 method for class 'PlainTextDocument' stemDocument(x, language = meta(x, "language"))
x |
A text document. |
language |
A character giving the language for stemming. |
The argument language
is passed over to
wordStem
as the name of the Snowball stemmer.
data("crude") crude[[1]] stemDocument(crude[[1]])