Data Mining Algorithms In R/Packages/RWeka/Weka stemmers

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

R interfaces to Weka stemmers.

Usage[edit | edit source]

IteratedLovinsStemmer(x, control = NULL) LovinsStemmer(x, control = NULL)

Arguments[edit | edit source]

x, a character vector with words to be stemmed.

control, an object of class Weka_control, or a character vector of control options, or NULL (default).

Details[edit | edit source]

The R interface to Weka’s Snowball stemmers is available as function SnowballStemmer in package Snowball.

Value[edit | edit source]

A character vector with the stemmed words.