📄 test-decode.sh.in
字号:
#!/bin/shtmpout="test-decode.out"echo "DECODE TEST"echo "YOU SHOULD SEE THE RECOGNITION RESULT 'P I T T S B U R G H'"sh @abs_top_builddir@/libtool --mode=execute @abs_top_builddir@/src/programs/decode \-mdef @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/hub4opensrc.6000.mdef \-fdict @abs_top_srcdir@/model/lm/an4/filler.dict \-dict @abs_top_srcdir@/model/lm/an4/an4.dict \-mean @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/means \-var @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/variances \-mixw @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mixture_weights \-tmat @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/transition_matrices \-lm @abs_top_srcdir@/model/lm/an4/an4.ug.lm.DMP \-ctl @abs_top_srcdir@/model/lm/an4/an4.ctl \-cepdir @abs_top_srcdir@/model/lm/an4/ \-agc none \-varnorm no \-cmn current \-subvqbeam 1e-02 \-epl 4 \-fillprob 0.02 \-feat 1s_c_d_dd \-lw 9.5 \-maxwpf 1 \-beam 1e-40 \-pbeam 1e-30 \-wbeam 1e-20 \-maxhmmpf 1500 \-wend_beam 1e-1 \-ci_pbeam 1e-5 \-ds 2 > $tmpout 2>&1grep "FWDVIT" $tmpoutgrep "FWDXCT" $tmpoutif(grep "FWDVIT" $tmpout |grep "P I T T S B U R G H" > /dev/null 2>&1); \then echo "DECODE test PASSED" ; else \echo "DECODE test FAILED" ; fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -