I'have generated the lat.1.gz after a decoding stage using kaldi.
The best WER is obtained using : beam=17,lattice_beam=8.0,acoustic scale=0.0883 and lmwt=11.
I would like to convert this lattice to ctm (the best path) with score confidence.
The code is the following:
$cmd $dir/scoring/logctm/get_ctm.5.log \
set -o pipefail '&&' mkdir -p $dir/score_5/ '&&' \
lattice-to-ctm-conf --decode-mbr=true --inv-acoustic-scale=5 "ark:gunzip -c $dir/lat.*.gz|" - \| \
utils/
int2sym.pl -f 5 $lang/words.txt \
'>' $dir/score_5/5.ctm || exit 1;
But the WER is not like generated from rescoring the lattice with the cite parameters.
How can I perform best WER using lattice-to-ctm-conf ??