TLANG=ru
MOSES_SCRIPT=${path}/mosesdecoder-RELEASE-2.1.1/scripts
RIBES=${path}/RIBES-1.02.4
mkdir tests.tok
mkdir results.tok
Moses tokenizer for file in tests results; do
cat ${file}.org/test.${TLANG} | \
${MOSE_SCRIPT}/tokenizer/tokenizer.perl -l ru | \
> ${file}.tok/test.${TLANG}
done
BLEU perl ${MOSES_SCRIPT}/generic/multi-bleu.perl tests.tok/test.${TLANG} < results.tok/test.${TLANG}
RIBES python3 ${RIBES}/RIBES.py -c -r tests.tok/test.${TLANG} results.tok/test.${TLANG}
JST (Japan Science and Technology Agency)
NICT (National Institute of Information and Communications Technology)
Kyoto University
Last Modified: 2019-07-26