Learn R Programming

doc2concrete (version 0.5.2)

gramstem: Stemmer

Description

background function to load.

Usage

gramstem(text, wstem = "all", ngrams = 1, language = "english")

Arguments

text

character vector of strings to clean.

wstem

character Which words should be stemmed? Defaults to "all".

ngrams

numeric Vector of ngram lengths to be included. Default is 1 (i.e. unigrams only).

language

Language for stemming. Default is "english".

Value

Sentence of stemmed words.