How to recognize a phrase from a voice file

后端 未结 3 1543
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 10:45

How to get the engine to successfully recognize a phrase from a voice file (wav/mp3/etc..)?

For example, if I\'ll have a voice file and a written text of the context

3条回答
  •  鱼传尺愫
    2020-12-18 11:10

    According to the MSDN article Getting Started with Speech Recognition.

    The steps you need to do are(from article). Note the create recognition grammer step. The article goes on to suggest using the GrammerBuilder or Choices Classes.

    A speech recognition application will typically perform the following basic operations:
    - Start the speech recognizer.
    - Create a recognition grammar.
    - Load the grammar into the speech recognizer.
    - Register for speech recognition event notification.
    - Create a handler for the speech recognition event.

提交回复
热议问题