Learn R Programming

sentimentr (version 0.0.1)

polarity_table: Polarity Lookup Key

Description

A data.table dataset containing an augmented version of Hu & Liu's (2004) positive/negative word list as sentiment lookup values.

Usage

data(polarity_table)

Arguments

Format

A data frame with 6781 rows and 2 variables

Details

  • x. Words
  • y. Sentiment values (+1, -1)

References

Hu, M., & Liu, B. (2004). Mining opinion features in customer reviews. National Conference on Artificial Intelligence.

http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html