Training acoustic model for CMU Sphinx using Finite state grammar (JSGF)

随声附和 提交于 2019-12-23 02:21:16

问题


I need to train my own acoustic model. On the official wiki, this process is described for ngramm models in DMP format, but I need to use a (grammar) language model provided in JSGF format. Is there a such possibility? And if so, could you give a tutorial on this subject?


回答1:


Modifications are minimial. Open psdecode.pl script in the installed location or in scripts and change

-lm => $ST::DEC_CFG_LANGUAGEMODEL,

to

-jsgf => "/full/path/to/jsgf/file",


来源:https://stackoverflow.com/questions/11260151/training-acoustic-model-for-cmu-sphinx-using-finite-state-grammar-jsgf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!