From 2855410054841c147bf5d7f014fc94891a38a9b3 Mon Sep 17 00:00:00 2001 From: Roman Grundkiewicz Date: Tue, 26 Sep 2017 20:06:14 +0000 Subject: Add basic test for translation --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4352405..bbd423e 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ THREADS=16 GIT_MARIAN=http://github.com/marian-nmt/marian-dev.git GIT_MOSES_SCRIPTS=http://github.com/marian-nmt/moses-scripts.git +GIT_SUBWORD_NMT=http://github.com/rsennrich/subword-nmt.git URL_MODELS= @@ -10,10 +11,16 @@ URL_MODELS= .SECONDARY: -install: marian/build/marian +install: marian/build/marian tools -download: - test $(URL_MODELS) && wget -q --show-progress $(URL_MODELS) +tools: + mkdir -p $@ + cd $@ && git clone $(GIT_MOSES_SCRIPTS) + cd $@ && git clone $(GIT_SUBWORD_NMT) + +models: + mkdir -p $@ + cd $@ && bash download_wmt16.sh ##################################################################### -- cgit v1.2.3