Android离线语音识别 [英] Android offline voice recognition
问题描述
我已经使用HTK(隐马尔可夫模型工具套件)来识别特定命令 曾经用来控制我的Android应用程序,但是在这种情况下,我需要将一些语音数据传递到服务器,这可能会花费更多时间.
I already use HTK (Hidden Markov Model Tool Kit) for recognizing specific commands used to control my Android application, but in this case I need to pass some voice data to a server and that may consume more time.
为防止这种延迟,我正在考虑使用 pocketsphinx 来本地识别语音数据使用Android应用程序,这样我就无需将音频传递到服务器.
To prevent this latency, I am thinking about using pocketsphinx to recognize the voice data locally with the Android application so that I won't need to pass that audio to the server.
如果这是一个好主意,是否容易从头开始学习Pocketsphinx?另外,这两种技术(基于服务器的语音识别和本地语音识别)的优缺点分别是什么?
If this is a good idea, is it easy to learn pocketsphinx from scratch? Also, what are advantages and disadvantages of both techniques (server-based and local voice recognition), and which one is better?
推荐答案
CMUSphinx绝对是一个好主意,它比HTK具有许多优点:
CMUSphinx is definitely a great idea, it has a number of advantages over HTK:
- 更好的许可
- 在Android上离线工作
- 快速
- 开箱即用地支持多种语言
- 更易于使用和学习
您绝对应该尝试使用Pocketsphinx,有关更多信息,请参见
You definitely should try Pocketsphinx, for more information see
http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/
这篇关于Android离线语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!