Tag: 微软语音平台

语法的语言与语音识别器的语言不匹配

美好的一天! 它是关于Microsoft Server Speech SDK v11.0(服务器版本)。 我在MSDN示例中运行了测试示例 。 所以英语短语-red,blue–很好。 但我也想识别俄语 – 安装微软语音识别语言-TELE(ru-RU)并运行我的app / 码: static void DoWork() { Thread.CurrentThread.CurrentCulture = new CultureInfo(“ru-RU”); Thread.CurrentThread.CurrentUICulture = new CultureInfo(“ru-RU”); // Create a new SpeechRecognitionEngine instance. SpeechRecognitionEngine sre = new SpeechRecognitionEngine(); // Configure the input to the recognizer. sre.SetInputToWaveFile(@”c:\Test\красный.wav”); // Create a simple grammar that recognizes “red”, “green”, or […]

微软语音识别平台

我使用System.Speech在C#中编写了一个用于语音识别的应用程序,它可以在Windows 7上正常工作。但是我创建了可以在Windows 2003(x86)上运行的相同应用程序。 我的编程环境:Windows 7 x64 Pro Visual Studio 2008 为了在我的编程环境中开发这个应用程序,我安装了: 1.Microsoft语音平台 – 服务器运行时(版本10.1)(x86) http://www.microsoft.com/downloads/details.aspx?FamilyID=674356C4-E742-4855-B3CC-FC4D5522C449&displaylang=en&displaylang=en 2.Microsoft语音平台 – 软件开发套件(SDK)(版本10.1)(x86) http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=4d36908b-3264-49ef-b154-f23bf7f44ef4 3.Microsoft语音平台 – 服务器运行时语言(版本10.1) (此处为en-GB安装了SR) http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=f704cd64-1dbf-47a7-ba49-27c5843a12d5 在我的程序而不是System.Speech中,我使用了Microsoft.Speech.Recognition; 从SDK文档中粘贴此代码: using Microsoft.Speech.Recognition; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public […]