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

📄 test-wsj5k-fwdflat.sh

📁 WinCE平台上的语音识别程序
💻 SH
字号:
#!/bin/sh. ../testfuncs.shbn=`basename $0 .sh`echo "Test: $bn"run_program pocketsphinx_batch \    -hmm $model/hmm/wsj0 \    -lm $data/wsj/wlist5o.nvp.lm.DMP \    -dict $data/wsj/wlist5o.nvp.dict \    -ctl $data/wsj/test5k.s1.ctl \    -ctlcount 2 \    -cepdir $data/wsj \    -hyp $bn.match \    -fwdtree FALSE \    -fwdflat TRUE \    -bestpath FALSE \    > $bn.log 2>&1# Test whether it actually completedif [ $? = 0 ]; then    pass "run"else    fail "run"fi# Check the decoding resultsgrep AVERAGE $bn.loghead -n2  $data/wsj/test5k.s1.lsn | $tests/word_align.pl -i - $bn.match | grep 'TOTAL Percent'compare_table "match" $data/wsj/$bn.match $bn.match

⌨️ 快捷键说明

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