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

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

Description[edit]

R interfaces to Weka stemmers.

Usage[edit]

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

Arguments[edit]

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]

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

Value[edit]

A character vector with the stemmed words.