title: Error while implementing vader.py of NLTK
body: <p>Vader.py of NLTK is a bit different from the &quot;updated&quot; version of Vader itself (<a href="https://github.com/cjhutto/vaderSentiment/blob/master/vaderSentiment/vaderSentiment.py" rel="nofollow noreferrer">https://github.com/cjhutto/vaderSentiment/blob/master/vaderSentiment/vaderSentiment.py</a>). I have been trying to add the pieces of code that are missing, but I'm having issues with this specific function:</p>
  <pre><code>    def __init__(self, lexicon_file=&quot;vader_lexicon.zip/vader_lexicon/vader_lexicon.txt&quot;, emoji_lexicon=&quot;emoji_utf8_lexicon.txt&quot;):
          _this_module_file_path_ = os.path.abspath(getsourcefile(lambda: 0))
          lexicon_full_filepath = os.path.join(os.path.dirname(_this_module_file_path_), lexicon_file)
          with codecs.open(lexicon_full_filepath, encoding='utf-8') as f:
              self.lexicon_full_filepath = f.read()
          self.lexicon = self.make_lex_dict()
  
          emoji_full_filepath = os.path.join(os.path.dirname(_this_module_file_path_), emoji_lexicon)
          with codecs.open(emoji_full_filepath, encoding='utf-8') as f:
              self.emoji_full_filepath = f.read()
          self.emojis = self.make_emoji_dict()
  </code></pre>
  <p>The error says <code>FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\annas\\PycharmProjects\\fine-grained-sentiment-master\\venv\\lib\\site-packages\\nltk\\sentiment\\vader_lexicon.zip/vader_lexicon/vader_lexicon.txt'</code>, but I checked and it's there. What am I doing wrong?</p>