【发布时间】:2016-08-14 10:44:51
【问题描述】:
我将树莓派与pocketsphinx python 一起使用,并找到了一个示例here。从该脚本中,我使用与脚本中描述的相同的路径。当我尝试运行此脚本时,它给了我一个错误:
ERROR: "acmod.c", line 83: Folder 'deps/pocketsphinx/model/en-us/en-us' does not contain acoustic model definition 'mdef'
Traceback (most recent call last):
File "test.py", line 15, in <module>
decoder = ps.Decoder(config)
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 271, in __init__
this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1
有谁知道问题出在哪里?
【问题讨论】:
标签: python pocketsphinx