How to give an input wav file to pocket sphinx

社会主义新天地 提交于 2019-12-08 16:29:14

问题


Is there some command line utility of pocket sphinx or cmu sphinx to convert a .wav file to text?

pocketsphinx_continuous -hmm -lm -dict will do. But I don't want to keep speaking the same sentence again and again.


回答1:


pocketsphinx_continuous starting from version 0.8 has option -infile which you can use to decode a file. File must be in a specific format: 16khz 16bit mono wav file

 pocketsphinx_continuous -infile file.wav


来源:https://stackoverflow.com/questions/20303092/how-to-give-an-input-wav-file-to-pocket-sphinx

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