From 01db041b4527b9f8c20cce9dbec4469e34faf670 Mon Sep 17 00:00:00 2001 From: Marcin Junczys-Dowmunt Date: Sat, 25 Nov 2017 15:24:17 +0000 Subject: [PATCH] fix wrong detok --- training-basics/scripts/validate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/training-basics/scripts/validate.sh b/training-basics/scripts/validate.sh index 967b918..aa46232 100755 --- a/training-basics/scripts/validate.sh +++ b/training-basics/scripts/validate.sh @@ -3,6 +3,6 @@ cat $1 \ | sed 's/\@\@ //g' \ | ../tools/moses-scripts/scripts/recaser/detruecase.perl 2> /dev/null \ - | ../tools/moses-scripts/scripts/tokenizer/detokenizer.perl -l ro 2>/dev/null \ + | ../tools/moses-scripts/scripts/tokenizer/detokenizer.perl -l en 2>/dev/null \ | ../tools/moses-scripts/scripts/generic/multi-bleu-detok.perl data/newsdev2016.en \ | sed -r 's/BLEU = ([0-9.]+),.*/\1/'