emotions.RdA dataset containing approximately 1500 words classified into six emotion categories: anger, disgust, fear, joy, sadness, and surprise.
data(emotions)
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/
# READ THE CSV data <- read.csv(system.file("data/emotions.csv.gz",package="sentimentBR")) # ALTERNATIVELY, USE THE data() FUNCTION data(emotions)