Mac OS X speech to text API. Howto?

前端 未结 4 993
时光取名叫无心
时光取名叫无心 2020-12-14 05:20

I have a program that receives an audio (mono) stream of bits from TCP/IP. I am wondering whether the speech (speech-recognition) API in Mac OS X would be able to do a speec

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 05:32

    There's a number of examples that get copied under /Developer/Examples/Speech/Recognition when you install XCode.

    Cocoa class for speech recognition is NSSpeechRecognizer. I've not used it but as far as I know speech recognition requires you to build a grammar to help the engine choose from a number of choices rather then allowing you to pass free-form input. This is all explained in the examples referred above.

提交回复
热议问题