From 68853aff9ccdb0790c1f6e24bd7d0de9b02864e0 Mon Sep 17 00:00:00 2001 From: alvations Date: Wed, 2 May 2018 18:01:57 +0800 Subject: [PATCH] Use the nltk.downloader without piping python code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7b772f..252dab7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ pip3 install --user https://github.com/explosion/spacy-models/releases/download/en_core_web_md-1.2.1/en_core_web_md-1.2.1.tar.gz python3 -m spacy link en_core_web_md en_default pip3 install --user nltk - printf 'import nltk; nltk.download("wordnet")' | python3 + python3 -m nltk.downloader wordnet pip3 install --user tensorflow-gpu pip3 install --user docopt