subjectivity: a dataset containing a list of positive and negative...

Description Usage Format Source Examples

Description

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

Usage

1

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

1
2
3
4
# READ THE CSV
data <- read.csv(system.file("data/subjectivity.csv.gz",package="sentiment"))
# ALTERNATIVELY, USE THE data() FUNCTION
data(subjectivity)

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