A dataset containing a list of positive and negative subjective words parsed from Janyce Wiebe's subjectivity lexicon.

data(subjectivitypt)

Format

A data.frame containing three columns.

1. word - A word from Janyce Wiebe's subjectivity lexicon.

2. subjectivity - A string indicating whether the word is strongly or weakly subjective.

3. polarity - A string indicating whether the word expresses a positive or negative sentiment.

Source

Riloff and Wiebe (2003). Learning extraction patterns for subjective expressions. EMNLP-2003. http://www.cs.pitt.edu/mpqa/#subj_lexicon

Examples

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