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

emotionsR Documentation

a dataset containing words categorized into six emotion categories.

Description

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

Usage

data(emotions)

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

# READ THE CSV
data <- read.csv(system.file("data/emotions.csv.gz",package="sentimentBR"))
# ALTERNATIVELY, USE THE data() FUNCTION
data(emotions)

Jodavid/sentimentBR documentation built on Oct. 9, 2022, 8:37 a.m.