我有一些System.Speech.Recognition
工作正常的简单代码:
using (var recognizer = new SpeechRecognitionEngine(new CultureInfo("en-US")))
{
recognizer.LoadGrammar(new DictationGrammar());
recognizer.SpeechRecognized += recognizer_SpeechRecognized;
recognizer.SetInputToDefaultAudioDevice();
recognizer.RecognizeAsync(RecognizeMode.Multiple);
}
private void recognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
{
textBox1.Text = "Recognized text: " + e.Result.Text;
}
使用 Windows 7 时,我在"Control Panel" -> "Speech Recognition" -> "Train your computer to better understand you"
.
我的程序是否会自动利用已完成的任何培训?培训收益是基于用户还是基于机器?可以(轻松地)移动这些语音“配置文件”吗?