lightweight lemmatizer
This commit is contained in:
parent
1b967bf1e5
commit
b6e1f47557
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
docker run -it --rm --name=concordia-aligner --network=concordia-docker_default --mount src="$(pwd)"/corpora,target=/concordia-aligner/corpora,type=bind concordia-aligner:Dockerfile cd concordia-aligner && make clean && make
|
docker run -it --rm --name=concordia-aligner --network=concordiadocker_default --mount src="$(pwd)"/corpora,target=/concordia-aligner/corpora,type=bind concordia-aligner:Dockerfile cd concordia-aligner && make clean && make
|
@ -8,14 +8,10 @@ ENV LANG pl_PL.UTF-8
|
|||||||
ENV LANGUAGE pl_PL:pl
|
ENV LANGUAGE pl_PL:pl
|
||||||
ENV LC_ALL pl_PL.UTF-8
|
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 -y git python3 python3-pip
|
||||||
RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2
|
|
||||||
RUN pip3 install flask flask_restful gunicorn requests spacy
|
RUN pip3 install flask flask_restful gunicorn requests spacy
|
||||||
RUN python3 -m spacy download en
|
RUN python3 -m spacy download en
|
||||||
|
|
||||||
COPY python3-morfeusz2_0.4.0-1_amd64.deb /
|
|
||||||
RUN dpkg -i python3-morfeusz2_0.4.0-1_amd64.deb
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
CMD cd concordia-preprocessor && ./start_concraft_server.sh && ./start_concordia_preprocessor.sh
|
CMD cd concordia-preprocessor && ./start_concordia_preprocessor.sh
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
version: '3.1'
|
version: '2.0'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user