cjhutto / vaderSentiment

VADER Sentiment Analysis. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media, and works well on texts from other domains.
MIT License
4.46k stars 1k forks source link

Using own lexicon #49

Closed shah0150 closed 6 years ago

shah0150 commented 6 years ago

Hello,

Is there a way we can use our own lexicon in Vader sentiment? If so how can one achieve this task?

We are focusing on Sports based lexicon.

cjhutto commented 6 years ago

Yes - there absolutely is a way to either add your own data to the existing lexicon set, or to have your own completely separate lexicon set. If you want to be rigorous, follow the methods discussed in the paper that is referenced on the home page... if you just want to add more items and scores to the existing lexicon, you simply insert them into (your own local or forked copy) of the lexicon text file, using a tab to delimit the term and it's sentiment valence...

senjed commented 5 years ago

Hi, I have a list of positive and negative domain specific lexicon. I noticed that I need to have a valance score associated with them in order to add them to the existing Vader lexicon file. Can you please let me know how I can compute those scores?