diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-11-11 21:52:07 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-11-11 21:52:07 +0300 |
commit | c86c7e379f9e28fd314a6b58054e016792dd5ab9 (patch) | |
tree | ac7aacbf5d55cfe702755a3bf13dad86262f351f /tests/training/basics/setup.sh | |
parent | 8c2718e49e8890d1a11f4f7947e809ff9606a56b (diff) |
Clean tests in training/basics
Diffstat (limited to 'tests/training/basics/setup.sh')
-rw-r--r-- | tests/training/basics/setup.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/training/basics/setup.sh b/tests/training/basics/setup.sh index 6088de5..1bcb2f9 100644 --- a/tests/training/basics/setup.sh +++ b/tests/training/basics/setup.sh @@ -2,3 +2,8 @@ test -f $MRT_DATA/europarl.de-en/corpus.bpe.en || exit 1 test -f $MRT_DATA/europarl.de-en/corpus.bpe.de || exit 1 test -f $MRT_DATA/europarl.de-en/toy.bpe.en || exit 1 test -f $MRT_DATA/europarl.de-en/toy.bpe.de || exit 1 + +test -s vocab.de.yml || $MRT_MARIAN/build/marian-vocab < $MRT_DATA/europarl.de-en/corpus.bpe.de > vocab.de.yml +test -s vocab.en.yml || $MRT_MARIAN/build/marian-vocab < $MRT_DATA/europarl.de-en/corpus.bpe.en > vocab.en.yml +test -s vocab.de.yml +test -s vocab.en.yml |