WinCE平台上的语音识别程序

源代码在线查看: test-wsj5k-simple.sh

软件大小: 5925 K
上传用户: flashlee2003200
关键词: WinCE 语音识别 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				#!/bin/sh								. ../testfuncs.sh								bn=`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 \				    -cepdir $data/wsj \				    -hyp $bn.match \				    > $bn.log 2>&1								# Test whether it actually completed				if [ $? = 0 ]; then				    pass "run"				else				    fail "run"				fi								# Check the decoding results				grep AVERAGE $bn.log				$tests/word_align.pl -i $data/wsj/test5k.s1.lsn $bn.match | grep 'TOTAL Percent'				compare_table "match" $data/wsj/$bn.match $bn.match							

相关资源