语音识别系统C#实例

时间:2012-01-25 08:24:02
【文件属性】:

文件名称:语音识别系统C#实例

文件大小:689KB

文件格式:RAR

更新时间:2012-01-25 08:24:02

语音识别 C#

Speech Recognition This sample demonstrates the capabilities of the Speech API, which comes standard with Microsoft Windows XP Tablet PC Edition 2005. Although SAPI is less programmed for than other APIs, it's extremely rich and similar enough to the handwriting recognition APIs that it can be easily learned by those programming Microsoft Windows XP Tablet PC Edition 2005. You must create an Interop wrapper for the SAPI DLL. This can be done by using the "Add Reference..." capability, selecting the COM tab, and selecting the "Microsoft Speech Object Library." Once that's done, and the SpeechLib namespace is imported, things are quite similar to programming handwriting recognition using the Tablet PC Platform SDK. A recognizer is created (in this case, an in-process SpInProcRecognizer) and generates a context (type SpInProcRecoContext) that is associated with the particular recognition. Events associated with the recognition process are the Hypothesis, Recognition, and EndStream events. A large number of Hypothesis events will be generated while only one Recognition and EndStream events will be associated with a particular recognition attempt. The sample provides a standard file dialog to open a user-supplied .WAV file. Recognition occurs against this file, with the results placed in a RichTextEdit box. The technique for iterating over alternative possibilities is also shown, although that output is directed to the Debug console. This sample requires: Visual Studio 2005 Microsoft Windows XP Tablet PC Edition 2005


【文件预览】:
dmetaphone_demo.zip
dmetaphone_src.zip

网友评论

  • 只能将文本读出来,不能识别语音
  • 识别语音不可以吧~~~
  • 说句实话 这个东西 有点看不懂
  • 只有文字转语音,没有语音转文字。
  • 只能读英文
  • 只能将文本识别,不能识别语音.
  • 只能将文本读出来
  • 只能将文本读出来,不能识别语音
  • 只能将文本读出来,不能识别语音
  • 只能读,不能识别声音。 .