Commit bbeb4078 authored by Abdelwahab HEBA's avatar Abdelwahab HEBA
Browse files

<UNK> token used

parent 0474456a
......@@ -55,7 +55,7 @@ done
for wip in $(echo $word_ins_penalty | sed 's/,/ /g'); do
$cmd LMWT=$min_lmwt:$max_lmwt $dir/scoring/log/score.LMWT.$wip.log \
cat $dir/scoring/LMWT.$wip.tra \| \
utils/int2sym.pl -f 2- $symtab \| sed 's:\<unk\>::g' \| \
utils/int2sym.pl -f 2- $symtab \| sed 's:\<UNK\>::g' \| \
compute-wer --text --mode=present \
ark:$dir/scoring/test_filt.txt ark,p:- ">&" $dir/wer_LMWT_$wip || exit 1;
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment