concordia preprocessor with nltk

This commit is contained in:
rjawor 2019-07-14 22:31:17 +02:00
parent 705acd6525
commit 423bf3f522

View File

@ -9,8 +9,7 @@ ENV LANGUAGE pl_PL:pl
ENV LC_ALL pl_PL.UTF-8 ENV LC_ALL pl_PL.UTF-8
RUN apt-get install -y git python3 python3-pip RUN apt-get install -y git python3 python3-pip
RUN pip3 install flask flask_restful gunicorn requests spacy RUN pip3 install flask flask_restful gunicorn requests nltk
RUN python3 -m spacy download en
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-preprocessor.git RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-preprocessor.git
RUN cd /concordia-preprocessor/dictionaries && ./generate_dict.py RUN cd /concordia-preprocessor/dictionaries && ./generate_dict.py