Compute sentiment scores given tokens.
compute_sent_summ_facet_at(data = NULL, token = NULL, feature = NULL, facet = NULL, lexicon = "bing", ...) compute_sent_summ_facet(..., token, feature, facet) compute_sent_summ_at(data = NULL, facet = NULL, ...) compute_sent_summ(..., token, feature, facet)
data | data.frame. Must already be in 'tidy' format. |
---|---|
token | bare for NSE; character for SE. Name of column in |
feature | bare for NSE; character for SE. Name of column in |
facet | bare for NSE; character for SE. Name of column in |
lexicon | character. Specifies lexicon to use. Must be a lexicon available in the |
... | dots. Parameters to pass to |
data.frame.
Heavily influenced by Text Mining with R. Creates output columns 'sentiment' and 'score'.
Don't have an explicit url.