Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2017-03-24 22:34:09 +0300
committerMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2017-03-24 22:34:09 +0300
commite78c5dde25184af7bcbe1dc7f99315840b538dc0 (patch)
treedeb115a5362e759951142303169845ce342ef094 /examples/training/scripts
parentd0d7010e87f765032857fde71cd1e970f35c01db (diff)
changed scripts
Diffstat (limited to 'examples/training/scripts')
-rwxr-xr-xexamples/training/scripts/validate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/training/scripts/validate.sh b/examples/training/scripts/validate.sh
index 992689de..7c60a487 100755
--- a/examples/training/scripts/validate.sh
+++ b/examples/training/scripts/validate.sh
@@ -9,9 +9,9 @@ ref=data/newsdev2016.tok.en
# decode
cat $dev | ../../build/amun -c $prefix.dev.npz.amun.yml -b 12 -n --mini-batch 10 --maxi-batch 100 2>/dev/null \
- | sed 's/\@\@ //g' | mosesdecoder/scripts/recaser/detruecase.perl > $dev.output.postprocessed.dev
+ | sed 's/\@\@ //g' | mosesdecoder/scripts/recaser/detruecase.perl > $dev.output.postprocessed
## get BLEU
-BLEU=`./mosesdecoder/scripts/generic/multi-bleu.perl $ref < $dev.output.postprocessed.dev | cut -f 3 -d ' ' | cut -f 1 -d ','`
+BLEU=`./mosesdecoder/scripts/generic/multi-bleu.perl $ref < $dev.output.postprocessed | cut -f 3 -d ' ' | cut -f 1 -d ','`
echo $BLEU