android - 无法在 Windows 上安装 sphinxbase(离线语音识别器)

标签 android offline voice-recognition

我正在尝试在 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/

相关文章:

android - SpeechRecognizer - 时间限制

java - 适用于 Android 的语音生物识别技术

Android:录音和保存音频

android - 如何在android中的计时器选择器对话框中禁用过去时间

Android ViewBinding 错误 : Cannot access class 'android.widget.no_name_in_PSI_3d19d79d_1ba9_4cd0_b7f5_b46aa3cd5d40'

android - 如何安全地从另一个进程可能正在使用的数据库中读取?

Android 应用程序可以离线和在线工作吗?我应该以哪种方式同步数据?

html - 下载 html 页面供离线使用

web - 为不支持的浏览器实现带有 appcache 回退的 Service Workers

Galaxy s10 和 note10 上的 Android Webview 崩溃报告