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