摘要:
.net 4.0 及 win7 以上 第一步 引用 System.Speech 或者 .net 4.0 及 win7 以下 则需要安装 speechsdk51安装包 引用 Interop.SpeechLib.dll 在网上搜索并下载 代码如下 using System; using System.C 阅读全文
posted @ 2023-08-18 17:17
海乐学习
阅读(2522)
评论(1)
推荐(1)
摘要:
.net 4.0 以上 第一步 引用System.Speech 代码如下 using System.Speech.Recognition;using System.Speech.Synthesis; using System.Globalization;using System.IO; privat 阅读全文
posted @ 2023-08-18 16:15
海乐学习
阅读(660)
评论(0)
推荐(0)
摘要:
在 .net 4.0 添加引用system.speech.dll using System.Speech.Recognition; //创建语音识别引擎 SpeechRecognitionEngine recognitionEngine = new SpeechRecognitionEngine() 阅读全文
posted @ 2023-08-18 11:07
海乐学习
阅读(794)
评论(0)
推荐(0)
摘要:
运行以下命令以确定已安装的识别器,断点/调试 foreach (RecognizerInfo ri in SpeechRecognitionEngine.InstalledRecognizers()){ System.Diagnostics.Debug.WriteLine(ri.Culture.Na 阅读全文
posted @ 2023-08-18 10:42
海乐学习
阅读(63)
评论(0)
推荐(0)