unStemmer: The Un-Stemmer

Description Usage Arguments Value

View source: R/unStemmer.R

Description

Returns root words that match the stems

Usage

1
2
3
4
5
6
7
8
unStemmer(
  vocab,
  texts,
  wstem = "all",
  ngrams = 1,
  language = "english",
  stop.words = TRUE
)

Arguments

vocab

a character vector of stemmed words.

texts

a character vector of texts.

Value

a matrix of feature counts


myeomans/DTMtools documentation built on March 2, 2020, 8:57 p.m.