mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
Added install script nltk.vader
This commit is contained in:
parent
3e6932e2ad
commit
999045776a
2 changed files with 2 additions and 11 deletions
10
README.md
10
README.md
|
@ -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
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue