• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
一蓑烟雨
C/C++,Linux,语音技术
博客园    首页    新随笔    联系   管理    订阅  订阅
an4与sphinxtrain搭建语音训练系统

1.    mkdir MyTrain

2.    从http://www.speech.cs.cmu.edu/databases/an4/an4_sphere.tar.gz. 下载 AN4 数据库,此数据库是一个字母、数字数据库。

3.    sudo cp –rf an_sphere.tar.gz SphinxTrain-1.0.tar.bz2  MyTrain

4.    cd MyTrain

5.    cd SphinxTrain

6.    ./configure

7.    make

8.    使用setup_tutorial.pl,训练出数据

cd MyTrain/SphinxTrain

perl scripts_pl/setup_tutorial.pl an4

9.    产生特征

cd MyTrain/an4

perl scripts_pl/make_feats.pl  -ctl etc/an4_train.fileids

10.最后生成声学模型

perl scripts_pl/RunAll.pl

 11.开始识别

cd model_parameters/

sudo cp -rf an4.cd_cont_1000 /usr/local/bin

cd etc/

sudo cp -rf an4.dic /usr/local/bin

sudo cp -rf an4.ug.lm.DMP /usr/local/bin

cd /usr/local/bin

pocketsphinx_continuous -hmm an4.cd_cont_1000 -lm an4.ug.lm.DMP -dict an4.dic

12.存在一定的识别错误

补充:解码,可以测试语音训练的质量

posted on 2011-09-20 16:04  lovemu  阅读(1975)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3