Description Usage Format Source Examples
A dataset containing approximately 1500 words classified into six emotion categories: anger, disgust, fear, joy, sadness, and surprise.
1 |
A data.frame
containing two columns.
1. word
- A word from the WordNet database.
2. emotion
- The emotion it is classified under (e.g. anger, disgust, fear, joy, sadness, surprise).
Carlo Strapparava and Alessandro Valitutti, "WordNet-Affect: an affective extension of WordNet". In Proceedings of the 4th International Conference on Language Resources and Evaluation (LREC 2004), Lisbon, May 2004, pp. 1083-1086. http://www.cse.unt.edu/~rada/affectivetext/
1 2 3 4 | # READ THE CSV
data <- read.csv(system.file("data/emotions.csv.gz",package="sentiment"))
# ALTERNATIVELY, USE THE data() FUNCTION
data(emotions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.