From 257929b63d1ddf4818fa57922e396d2a9cfb229d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Jaworski?= Date: Thu, 6 Jun 2019 14:17:54 +0200 Subject: [PATCH] instalation of nltk --- concordia-preprocessor/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/concordia-preprocessor/Dockerfile b/concordia-preprocessor/Dockerfile index 87674ae..d348035 100644 --- a/concordia-preprocessor/Dockerfile +++ b/concordia-preprocessor/Dockerfile @@ -9,8 +9,9 @@ ENV LANGUAGE pl_PL:pl ENV LC_ALL pl_PL.UTF-8 RUN add-apt-repository 'deb http://sgjp.pl/apt/ubuntu-xenial xenial main' && apt-get update -RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2 +RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2 python3-nltk RUN pip3 install flask flask_restful gunicorn requests +RUN python3 -c "import nltk;nltk.download('wordnet')" COPY python3-morfeusz2_0.4.0-1_amd64.deb / RUN dpkg -i python3-morfeusz2_0.4.0-1_amd64.deb