我一直在 Eclipse IDE 中使用 Sphinx4 创建用于语音识别的 Java 应用程序,效果很好!但现在,我有了一个想法,让该项目在 Android 平台上运行。
sphinx4 演示语音识别的代码运行良好。 Android 中的程序,但是当我尝试在设备上运行它时它崩溃了!说它“意外停止!” (强制关闭)
根据我在互联网上的调查,我听说 Sphinx 配置麦克风的方式与 dalvik 不兼容。
那么有什么方法可以让这两个东西一起工作吗?比如在 dalvik 设备中配置麦克风并使用 sphinx 来处理输入?
最佳答案
Sphinx4 不是为移动应用程序设计的。使用 pocketsphinx 代替:
http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/
关于android - 使用 Sphinx4.0 构建语音识别。安卓应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12068404/