sentiment_frame
- Generate a sentiment lookup hash table
for use with the xxx.frame
argument of various sentiment functions.
1 | sentiment_frame(positives, negatives, pos.weights = 1, neg.weights = -1)
|
positives |
A character vector of positive words. |
negatives |
A character vector of negative words. |
pos.weights |
A vector of weights to weight each positive word by.
Length must be equal to length of |
neg.weights |
A vector of weights to weight each negative word by.
Length must be equal to length of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.