mirror of
https://github.com/Helsinki-NLP/OPUS-MT-train.git
synced 2024-10-03 23:57:47 +03:00
Add more aligners
This commit is contained in:
parent
a759e50d2f
commit
07dfd31259
@ -6,7 +6,8 @@ RUN apt update && \
|
||||
doxygen graphviz libblas-dev libopenblas-dev \
|
||||
libz-dev libssl-dev zlib1g-dev libbz2-dev liblzma-dev \
|
||||
libprotobuf9v5 protobuf-compiler libprotobuf-dev \
|
||||
python3-dev python3-numpy python3-setuptools
|
||||
python3-dev python3-numpy python3-setuptools \
|
||||
cython3
|
||||
RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB && \
|
||||
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB && \
|
||||
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB && \
|
||||
@ -32,6 +33,12 @@ RUN cd / && \
|
||||
cd opustools_pkg && \
|
||||
python3 setup.py build && \
|
||||
python3 setup.py install
|
||||
RUN cd / && \
|
||||
git clone https://github.com/robertostling/eflomal.git && \
|
||||
cd eflomal && \
|
||||
git checkout 7b97f19 && \
|
||||
make install && \
|
||||
python3 setup.py install
|
||||
RUN cd / && \
|
||||
git clone https://github.com/marian-nmt/marian-dev && \
|
||||
cd marian-dev && \
|
||||
@ -49,3 +56,9 @@ RUN cd / && \
|
||||
git clone --depth 1 https://github.com/moses-smt/mosesdecoder.git && \
|
||||
cd /mosesdecoder && \
|
||||
./bjam -j8
|
||||
RUN cd / && \
|
||||
git clone https://github.com/clab/fast_align.git && \
|
||||
cd fast_align && \
|
||||
git checkout cab1e9a && \
|
||||
cmake . && \
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user