hash_sentiment_nrc: NRC Sentiment Polarity Table

Description Usage Format Details License References Examples

Description

A data.table dataset containing a filtered version of Mohammad & Turney', P. D.'s (2010) positive/negative word list as sentiment lookup values.

Usage

1

Format

A data frame with 5468 rows and 2 variables

Details

License

The original authors note the data is available for non-commercial use: "If interested in commercial use of any of these lexicons, send email to Saif M. Mohammad (Senior Research Officer at NRC and creator of these lexicons): saif.mohammad@nrc-cnrc.gc.ca and Pierre Charron (Client Relationship Leader at NRC): Pierre.Charron@nrc-cnrc.gc.ca. A nominal one-time licensing fee may apply."

References

http://www.purl.com/net/lexicons

Mohammad, S. M. & Turney, P. D. (2010) Emotions evoked by common words and phrases: Using Mechanical Turk to create an emotion lexicon, In Proceeding of Workshop on Computational Approaches to Analysis and Generation of Emotion in Text, 26-34.

Examples

1
2
3
4
5
## Not run: 
library(data.table)
hash_sentiment_nrc[c('happy', 'angry')]

## End(Not run)

Example output

       x  y
1: happy  1
2: angry -1

lexicon documentation built on May 2, 2019, 1:42 p.m.