我正在尝试在 Android 上开发离线语音识别器。经过几次搜索,我发现 CMU Sphinx 就是用于此目的的。
我正在尝试在 Windows 上安装它, 以下是引用自其网页的说明:
Windows
In MS Windows (TM), under MS Visual Studio 2008 (or newer - we test with Visual C++ 2008 Express):
-load sphinxbase.sln located in sphinxbase directory
-compile all the projects in SphinxBase (from sphinxbase.sln)
-load pocketsphinx.sln in pocketsphinx directory
-compile all the projects in PocketSphinx
问题是,任何地方都没有sphinxbase.sln
!我理解错了吗?我不应该看到名为 sphinxbase.sln
的文件并执行它吗?或者我该怎么办?步骤是什么?
这个问题可能会帮助其他在安装 Sphinx 时遇到问题的人。
最佳答案
您不需要需要在 Windows 上编译 sphinxbase 才能为 Android 构建应用程序。你只需要打开它们。您可以按照此处的说明编译示例应用程序:
http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/
要在 Windows 上使用 sphixnbase,您可以在此处下载预编译库:
http://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.8/sphinxbase-0.8-win32.zip
要从源代码编译 Sphinxbase,请在此处下载源代码
http://sourceforge.net/projects/cmusphinx/files/sphinxbase/0.8/sphinxbase-0.8.tar.gz
并根据说明编译它们。解压源后,sphinxbase.sln 文件就在顶层文件夹中。可能您需要在资源管理器中启用扩展才能看到它。
关于android - 无法在 Windows 上安装 sphinxbase(离线语音识别器),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15360187/