iPhone speech recognition API? [duplicate]

与世无争的帅哥 提交于 2019-11-26 10:33:49

问题


This question already has an answer here:

  • iPhone App › Add voice recognition? [closed] 4 answers

The new iPhone 3GS has support for voice commands, stuff like \"call Bill\" or \"play music by the strokes\" and whatnot.

I was looking through the iPhone SDK, but I cannot find any references to this capability. All of the search keywords I choose seem to only find the new voice chat functionality.

Does anyone know whether Apple has added voice command APIs to the SDK, or whether it\'s yet another forbidden API? If it does exist, could someone point a particular class out to me?


回答1:


The SDK does not support either voice recognition or text to speech. Voice recognition is only available through the Voice control app, and text to speech is only available through the accessibility APIs when accessibility is turned on.




回答2:


OpenEars is a really nice Objective-C API for CMU Sphinx. Worth checking out if you want to incorporate CMU Sphinx in your app.




回答3:


One could try to bundle poketsphinx speech recognition library from the CMU Sphinx project. It is a open source large vocabulary, speaker-independent continuous speech recognition engine. Chech the README to see how to set up in XCode.



来源:https://stackoverflow.com/questions/1121548/iphone-speech-recognition-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!