stemmer(text.var, rm.bracket = TRUE, capitalize = TRUE, warn = TRUE, char.keep = "~~", ...)stem_words(...)stem2df(dataframe, text.var, stem.name = NULL, ...)
stemmer
this is a
vector text string. For stem2df
this is a character
vector of length one naming the text column.TRUE
brackets are removed from the text.TRUE
selected terms are capitalized.TRUE
warns about rows not ending with
standard qdap punctuation endmarks.NULL
defaults to "stem.text"
.stemmer
- Other arguments passed to
capitalizer
stem_words
- Words or terms.
stem2df
- Other arguments passed to
stemmer
stemmer
- returns a character vector with stemmed text.
stem_words
- returns a vector of individually stemmed words.
stem2df
- returns a dataframe with a character vector with
stemmed text.
stemmer
- Stems a vector of text strings (A wrapper for the pkgtm
package's stemDocument
.
stem_words
- Wrapper for stemmer that stems a vector of words.
stem2df
- Wrapper for stemmer that stems a vector of text strings
and returns a dataframe with the vector added..
## <strong>Not run</strong>: # #stemmer EXAMPLE: # stemmer(DATA$state) # out1 <- stemmer(raj$dialogue) # htruncdf(out1, 20, 60) # # #stem_words EXAMPLE: # stem_words(doggies, jumping, swims) # # #stem2df EXAMPLE: # out2 <- stem2df(DATA, "state", "new") # truncdf(out2, 30) # ## <strong>End(Not run)</strong>
capitalizer