是否可以在 Android 项目之外使用 Android API?
更具体地说,非 Android Java 应用程序是否可以使用 Android 的语音识别功能。我想我可以使用 cmu sphinx 或类似的东西,但是将语音输入发送到进行真正识别并返回字符串数组的服务器的整个过程似乎更容易设置,并减少了项目的大小。此外,如果可能的话,该项目将能够使用谷歌的(巨大的)语音语料库。
More specifically, is it possible for an non-android Java application to use android's speech recognition. I figured I could use cmu sphinx or something similar, but the whole sending voice input to a server that does the real recognition and returns an array of strings seems to be much easier to set up an reduces the size of the project. Also, if this is possible, the project will be able to use Google's (ginormous) speech corpus.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,据我所知,它不是开源的。
No. AFAIK, it is not open source.
请参阅https://stackoverflow.com/questions/5613167 /source-code-for-the-googles-voice-search-activity/5621683#5621683
从该线程:
我不知道 Android 源是否可用,但 Google 确实升级了 Chrome 以包含语音识别和这些来源都是可用的。我认为 Google 不希望人们直接调用此服务,如果这样做,它可能会违反某些地方的服务条款,但请查看 http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/ 查看该服务我怀疑 Chrome 语音识别背后的原理与 Android 类似。
正如那篇文章所说:
另请参阅 Google 的语音搜索语音识别服务 - 它可能有一些有用的链接信息。
或者,也可以使用商业语音识别服务,请参阅 http://yapme.com/speech-cloud.html< /a>、Nuance、http://www.ispeech.org/developers 以及其他列出的服务器端语音识别。
See https://stackoverflow.com/questions/5613167/source-code-for-the-googles-voice-search-activity/5621683#5621683
From that thread:
I don't know if the Android sources are available, but Google did upgrade Chrome to include speech recognition and those sources are available. I don't think that Google wants people to call this service directly, and it likely violates some terms of service somewhere if you do, but check out http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/ to see the service behind Chrome speech recognition which I suspect is similar to Android.
As that article says:
Also, see Google's voice search speech recognition service - it might have some useful links to information.
Alternatively, there are commercial speech recognition services available see http://yapme.com/speech-cloud.html, Nuance, http://www.ispeech.org/developers, and others listed at Server-side Voice Recognition.