1

有人可以帮助我在 Windows 中构建 Pocketsphinx 语音识别。我很难理解 sphinx 在 ths page中提供的说明。

我想开发一个语音控制的计算机自动化应用程序,我正在使用 Python。我不知道如何安装 sphinx,以便可以像这样在 Python 环境中导入它:

import pocketsphinx as ps

但不能从中看出什么。我可以在 Ubuntu 中使用

sudo apt-get install sphinx*

但是,Windows 没有运气。任何帮助,将不胜感激。

4

1 回答 1

1

视窗解决方案

Christoph Gohlke 好心地将 Pocketsphinx 的编译版本添加到他的非官方扩展库中。

如果您运行的是 Python 3.5(32 位),请下载:“pocketsphinx-0.0.9-cp35-cp35m-win32.whl”

这里:http ://www.lfd.uci.edu/~gohlke/pythonlibs/#pocketsphinx

然后运行: pip3 install "pocketsphinx-0.0.9-cp35-cp35m-win32.whl"

于 2016-03-22T21:57:22.987 回答