From daec0a8a16f431727e1a777649e5fc21025e8e93 Mon Sep 17 00:00:00 2001 From: Lili Gasser <gasserli@ethz.ch> Date: Thu, 7 Feb 2019 09:56:59 +0000 Subject: [PATCH] Update Dockerfile (add nltk stopwords and punkt) --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eccc0209..e51294d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,7 @@ RUN sudo apt-get install -y vim # install spacy models RUN python -m spacy download de_core_news_sm RUN python -m spacy download fr_core_news_sm -RUN python -m spacy download xx_ent_wiki_sm \ No newline at end of file +RUN python -m spacy download xx_ent_wiki_sm + +# install nltk stopwords and punkt +RUN python -m nltk.downloader punkt && python -m nltk.downloader stopwords \ No newline at end of file -- GitLab