From 999045776a9be2d49a33a4684519eb857594b799 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Tue, 23 Aug 2016 17:51:04 +0200 Subject: [PATCH] Added install script nltk.vader --- README.md | 10 ---------- installing_deps.sh | 3 ++- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 30fc6a46..95398f3b 100644 --- a/README.md +++ b/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. -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 -------------------------- diff --git a/installing_deps.sh b/installing_deps.sh index 805818e1..6af62795 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -83,5 +83,6 @@ pushd tlsh/py_ext python setup.py build python setup.py install -# Download the necessary NLTK corpora +# Download the necessary NLTK corpora and sentiment vader HOME=$(pwd) python -m textblob.download_corpora +python -m nltk.downloader vader_lexicon