【发布时间】:2016-01-03 06:46:27
【问题描述】:
我不能使用 pocketsphinx api 编译decoder_test.py时:
from pocketsphinx.pocketsphinx import *
ImportError: No module named pocketsphinx
我已按照文档中的说明正确安装了 pocketsphinx 和 sphinxbase
import pocketsphinx 完美运行。
但是在调用Decoder 函数时出现AttributeError: 'module' object has no attribute 'Decoder' 错误
【问题讨论】:
-
很难提供帮助,因为没有关于您阅读的文档以及安装方法的信息。
-
这是我的问题,我安装了旧的 pocketsphinx 并使用了新的对象调用。
标签: python cmusphinx pocketsphinx