⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test-align.sh.in

📁 CMU大名鼎鼎的SPHINX-3大词汇量连续语音识别系统
💻 IN
字号:
#!/bin/shecho "ALIGN TEST simple"tmpout="test-align.out"#Simple testsh @abs_top_builddir@/libtool --mode=execute @abs_top_builddir@/src/programs/align \-logbase 1.0003 \-mdef @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/hub4opensrc.6000.mdef \-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 \-feat 1s_c_d_dd \-topn 1000 \-beam 1e-80 \-senmgau .cont. \-fdict @abs_top_srcdir@/model/lm/an4/filler.dict \-dict @abs_top_srcdir@/model/lm/an4/an4.dict \-ctl @abs_top_srcdir@/model/lm/an4/an4.ctl \-cepdir @abs_top_srcdir@/model/lm/an4/ \-insent @abs_top_srcdir@/model/lm/an4/align.correct \-outsent $tmpout \-wdsegdir ./ \-phsegdir ./ if (diff $tmpout  @abs_top_srcdir@/model/hmm//hub4_cd_continuous_8gau_1s_c_d_dd/test.align.out > /dev/null 2>&1); \then echo "ALIGN simple output test PASSED"; else \echo "ALIGN simple output test FAILED"; fi if (diff `head -1 @abs_top_srcdir@/model/lm/an4/an4.ctl`.wdseg @abs_top_srcdir@/model/hmm//hub4_cd_continuous_8gau_1s_c_d_dd/test.align.wdseg > /dev/null 2>&1); \then echo "ALIGN simple wdseg test PASSED"; else \echo "ALIGN simple wdseg test FAILED"; fi if (diff `head -1 @abs_top_srcdir@/model/lm/an4/an4.ctl`.phseg @abs_top_srcdir@/model/hmm//hub4_cd_continuous_8gau_1s_c_d_dd/test.align.phseg > /dev/null 2>&1 ); \then echo "ALIGN simple phseg test PASSED"; else \echo "ALIGN simple phseg test FAILED"; fi echo "ALIGN TEST cepext"#test for extensionsh @abs_top_builddir@/libtool --mode=execute @abs_top_builddir@/src/programs/align \-logbase 1.0003 \-mdef @abs_top_srcdir@/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/hub4opensrc.6000.mdef \-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 \-feat 1s_c_d_dd \-topn 1000 \-beam 1e-80 \-senmgau .cont. \-fdict @abs_top_srcdir@/model/lm/an4/filler.dict \-dict @abs_top_srcdir@/model/lm/an4/an4.dict \-ctl @abs_top_srcdir@/model/lm/an4/an4.ctl \-cepdir @abs_top_srcdir@/model/lm/an4/ \-cepext .abcd \-insent @abs_top_srcdir@/model/lm/an4/align.correct \-outsent $tmpout \-wdsegdir ./ \-phsegdir ./ if (diff test-align.out  @abs_top_srcdir@/model/hmm//hub4_cd_continuous_8gau_1s_c_d_dd/test.align.out > /dev/null 2>&1); \then echo "ALIGN cepext output test PASSED"; else \echo "ALIGN cepext output test FAILED"; fi if (diff `head -1 @abs_top_srcdir@/model/lm/an4/an4.ctl`.wdseg @abs_top_srcdir@/model/hmm//hub4_cd_continuous_8gau_1s_c_d_dd/test.align.wdseg > /dev/null 2>&1); \then echo "ALIGN cepext wdseg test PASSED"; else \echo "ALIGN cepext wdseg test FAILED"; fi if (diff `head -1 @abs_top_srcdir@/model/lm/an4/an4.ctl`.phseg @abs_top_srcdir@/model/hmm//hub4_cd_continuous_8gau_1s_c_d_dd/test.align.phseg > /dev/null 2>&1 ); \then echo "ALIGN cepext phseg test PASSED"; else \echo "ALIGN cepext phseg test FAILED"; fi 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -