emotions: a dataset containing words categorized into six emotion...

Description Usage Format Source Examples

Description

A dataset containing approximately 1500 words classified into six emotion categories: anger, disgust, fear, joy, sadness, and surprise.

Usage

1

Format

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).

Source

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/

Examples

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)

abhy/sentiment documentation built on May 10, 2019, 4:10 a.m.