stemCompletion(object, words, type = c("prevalent", "first"))
Arguments
object
a Corpus to be searched for possible completions.
words
a character vector of stems to be completed.
type
a character naming the heuristics to be
used. prevalent is default and takes the most frequent match as
completion, whereas first takes the first found completion.