Pocketsphinx error reading hub4.5000.DMP

时间:2016-04-04 17:25:00

标签: pocketsphinx

I have configured pocketsphinx to work in ubuntu 14.04 and works in pocketsphinx_continous -inmic yes. I am working on a python program that records a .wav file using pyaudio and reads the wav file to decode the recording to text. I have used the latest version of pocketsphinx and has already installed all dependencies.

My python code:http://pastebin.com/kqLs34dC I have posted my error: http://pastebin.com/NEG0RjGj

Thanks

2 个答案:

答案 0 :(得分:1)

模型hub4.5000.DMP已损坏,最初被破坏了。您需要使用cmusphinx存储库中的最新模型,它们才能正常工作。

答案 1 :(得分:1)

我得到了自己问题的答案。 “print hypothesis.hypstr”将检测到的关键字打印到stdout。