df2tm_corpus(text.var, grouping.var = NULL, demographic.vars, ...)tm2qdap(x)tm_corpus2wfm(tm.corpus, col1 = "docs", col2 = "text", ...)tm_corpus2df(tm.corpus, col1 = "docs", col2 = "text", sent.split = TRUE, ...)tdm(text.var, grouping.var = NULL, vowel.check = TRUE, ...)dtm(text.var, grouping.var = NULL, vowel.check = TRUE, ...)polarity_frame(positives, negatives, pos.weights = 1, neg.weights = -1)
wfm
object.NULL
generates
one word list for all text. Also takes a single grouping variable or a list
of 1 or more grouping variables.Corpus
.TermDocumentMatrix
/DocumentTermMatrix
.Corpus
object.TRUE
the text variable sentences will
be split into individual rows.postives
or length 1 (if 1 weight
will be recycled).negatives
or length 1 (if 1 weight
will be recycled).sentSplit
.df2tm_corpus
- Convert a qdap dataframe to a tm package
Corpus
.
tm2qdap
- Convert the tm package's
TermDocumentMatrix
/DocumentTermMatrix
to
wfm
.
tm_corpus2wfm
- Convert a Corpus
package corpus to a
wfm
.
tm_corpus2df
- Convert a tm package corpus to a dataframe.
tdm
- Create term document matrices from raw text or
wfm
for use with other text analysis packages.
dtm
- Create document term matrices from raw text or
wfm
for use with other text analysis packages.
polarity_frame
- Generate a polarity lookup hash key
for use with the polarity.frame
argument in the polarity
function.
df2tm_corpus
- function is deprecated. It will be
removed in a subsequent version of qdap. Use as.Corpus
instead.
tm2qdap
- function is deprecated. It will be
removed in a subsequent version of qdap. Use as.wfm
instead.
tm_corpus2wfm
- function is deprecated. It will be
removed in a subsequent version of qdap. Use as.wfm
instead.
tm_corpus2df
- function is deprecated. It will be
removed in a subsequent version of qdap. Use as.data.frame
instead.
tdm
- function is deprecated. It will be
removed in a subsequent version of qdap. Use as.tdm
instead.
dtm
- function is deprecated. It will be
removed in a subsequent version of qdap. Use as.dtm
instead.
polarity_frame
- function is deprecated. It will be
removed in a subsequent version of qdap. Use sentiment_frame
instead.