Description Usage Arguments Author(s) References See Also Examples
Calculates emotion scores in texts using a bag-of-words approach. The default lexicon was compiled by Araque, Gatti, Staiano, and Guerini (2018).
1 |
text |
A dataframe containing texts to be scored (one text per row). |
lexicon |
The lexicon used to score the words. The default is the |
exclude |
A vector listing terms that should be excluded from the lexicon.
Words specified in |
Tara Valladares <tls8vx at virginia.edu>, Hudson F. Golino <hfg9s at virginia.edu>
Araque, O., Gatti, L., Staiano, J., and Guerini, M. (2018). DepecheMood++: a Bilingual Emotion Lexicon Built Through Simple Yet Powerful Techniques. ArXiv preprint is available at https://arxiv.org/abs/1810.03660.
emotions
, where we describe how we modified the original DepecheMood++ lexicon.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.