开发者

SSpeechRecognizer delegate to be called for any word spoke

I read about NSSpeechRecognizer and found that it can recognize a set of commands beings associated with it in delegate: -speechRecognizer:didRecognizeCommand: I have a simple question: can this delegate be called for any word spoken by user?? as I think.. only a开发者_开发问答 finite number of words can be associated with it!

Thanks,

Miraaj


It's exactly what it says on the tin: It's for recognizing commands. So, yes, you need to tell it up front what commands it should recognize.

It's not a dictation API. I would guess that if you tried to load up the command list with an English dictionary, you'd make recognition very processor-intensive, slow, and inaccurate.

If you want dictation, you should file an enhancement request to ask for it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜