title: Is it possible to edit NLTK's vader sentiment lexicon?
body: <p>I would like to add words to the <code>vader_lexicon.txt</code> to specify polarity scores to a word. What is the right way to do so?</p>
  
  <p>I saw this file in <code>AppData\Roaming\nltk_data\sentiment\vader_lexicon</code>. The file consists of the word, its polarity, intensity, and an array of 10 intensity scores given by "10 independent human raters". [1] However, when I edited it, nothing changed in the results of the following code:</p>
  
  <pre><code>from nltk.sentiment.vader import SentimentIntensityAnalyzer
  sia = SentimentIntensityAnalyzer()
  s = sia.polarity_scores("my string here")
  </code></pre>
  
  <p>I think that this text file is accessed by my code when I called SentimentIntensityAnalyzer's constructor. [2] Do you have any ideas on how I can edit a pre-made lexicon?</p>
  
  <p>Sources:</p>
  
  <p>[1] <a href="https://github.com/cjhutto/vaderSentiment" rel="noreferrer">https://github.com/cjhutto/vaderSentiment</a></p>
  
  <p>[2] <a href="http://www.nltk.org/api/nltk.sentiment.html" rel="noreferrer">http://www.nltk.org/api/nltk.sentiment.html</a></p>