?? test-tidigits-fsg.sh
字號:
#!/bin/sh. ../testfuncs.shbn=`basename $0 .sh`echo "Test: $bn"run_program pocketsphinx_batch \ -hmm $model/hmm/tidigits \ -fsg $model/lm/tidigits/test.digits.fsg \ -dict $model/lm/tidigits/tidigits.dic \ -ctl $data/tidigits/tidigits.ctl \ -cepdir $data/tidigits \ -hyp $bn.match \ > $bn.log 2>&1# Test whether it actually completedif [ $? = 0 ]; then pass "run"else fail "run"fi# Check the decoding resultsgrep AVERAGE $bn.log$tests/word_align.pl -i $data/tidigits/tidigits.lsn $bn.match | grep 'TOTAL Percent'compare_table "match" $data/tidigits/$bn.match $bn.match 10000
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -