cleanup
This commit is contained in:
parent
ec497fbd2f
commit
7a624ec2cf
2
concordia-aligner/.gitignore
vendored
Normal file
2
concordia-aligner/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
corpora/**/*.lem
|
||||||
|
corpora/**/*.norm
|
@ -10,9 +10,9 @@ ENV LC_ALL pl_PL.UTF-8
|
|||||||
|
|
||||||
RUN apt-get install -y git cmake g++ python3 python3-pip
|
RUN apt-get install -y git cmake g++ python3 python3-pip
|
||||||
RUN pip3 install requests
|
RUN pip3 install requests
|
||||||
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-server.git
|
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-aligner.git
|
||||||
RUN git clone https://github.com/clab/fast_align
|
RUN git clone https://github.com/clab/fast_align
|
||||||
RUN cd fast_align && mkdir build && cd build && cmake .. && make && cp fast_align ../../concordia-server/fast-aligner
|
RUN cd fast_align && mkdir build && cd build && cmake .. && make && cp fast_align ../../concordia-aligner/
|
||||||
|
|
||||||
|
|
||||||
#CMD cd concordia-server/fast-aligner/ && make SRC_LANG=pl TRG_LANG=en CORPUS_NAME=opensubtitles_sample
|
#CMD cd concordia-server/fast-aligner/ && make SRC_LANG=pl TRG_LANG=en CORPUS_NAME=opensubtitles_sample
|
@ -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-server/fast-aligner/corpora,type=bind concordia-aligner:Dockerfile
|
docker run -it --rm --name=concordia-aligner --network=concordia-docker_default --mount src="$(pwd)"/corpora,target=/concordia-aligner/corpora,type=bind concordia-aligner:Dockerfile
|
Loading…
Reference in New Issue
Block a user