When the code is first setup in a new environment, it will crash and complain that NLTK hasn't downloaded vader_lexicon yet.
This is a hidden dependency. Mostly we use the requirements.txt for dependencies, but in this case it's not a module, but some piece of code we need to run:
nltk.download('vader_lexicon')
We need to have some code somewhere that checks for that and downloads it if necessary. I forgot when getting this up and running on a new server, and I will inevitably forget the next time, too.
When the code is first setup in a new environment, it will crash and complain that NLTK hasn't downloaded vader_lexicon yet.
This is a hidden dependency. Mostly we use the requirements.txt for dependencies, but in this case it's not a module, but some piece of code we need to run:
We need to have some code somewhere that checks for that and downloads it if necessary. I forgot when getting this up and running on a new server, and I will inevitably forget the next time, too.