Added install script nltk.vader

This commit is contained in:
Mokaddem 2016-08-23 17:51:04 +02:00
parent 3e6932e2ad
commit 999045776a
2 changed files with 2 additions and 11 deletions

View file

@ -77,16 +77,6 @@ linux based distributions, you can replace it with [installing_deps_archlinux.sh
There is also a [Travis file](.travis.yml) used for automating the installation that can be used to build and install AIL on other systems. There is also a [Travis file](.travis.yml) used for automating the installation that can be used to build and install AIL on other systems.
Concerning the sentiment module, nltk.sentiment.vader must be installed manually.
In your AIL virtualenv, type
```
python
import nltk
nltk.download()
```
and then install the sentiment.vader module
Starting AIL web interface Starting AIL web interface
-------------------------- --------------------------

View file

@ -83,5 +83,6 @@ pushd tlsh/py_ext
python setup.py build python setup.py build
python setup.py install python setup.py install
# Download the necessary NLTK corpora # Download the necessary NLTK corpora and sentiment vader
HOME=$(pwd) python -m textblob.download_corpora HOME=$(pwd) python -m textblob.download_corpora
python -m nltk.downloader vader_lexicon