trinker / sentimentr

Dictionary based sentiment analysis that considers valence shifters
Other
426 stars 84 forks source link

Transparency for lexicon::hash_sentiment_jockers_rinker #125

Closed GabriellaS-K closed 2 years ago

GabriellaS-K commented 3 years ago

In the news file it says:

NEW FEATURES

The default sentiment sentiment lookup table used within sentimentr is now lexicon::hash_sentiment_jockers_rinker, a combined and augmented version of lexicon::hash_sentiment_jockers (Jockers, 2017) & Rinker's augmented lexicon::hash_sentiment_huliu (Hu & Liu, 2004) sentiment lookup tables.

I'm looking for some transparency and information on lexicon::hash_sentiment_jockers_rinker. How were the two lexicons combined, please?

trinker commented 2 years ago

I don't recall but you can go to the lexicon package and compasre lexicon::hash_sentiment_jockers (Jockers, 2017) & Rinker's augmented lexicon::hash_sentiment_huliu (Hu & Liu, 2004) usinf anti joins on the words to see how they differ. Closing as this doesn't appear to be a code based issue.