How to change speech recognition language

Feb 10 2010 12:32 PM
(sry for my English)

Hi everybody, I'm currently using WinXP, visual 2k5 + SAPI 5.1

While developing program using Speech SDK, I wouldn't find out way to change the current speech recognition language although I can get the list of languages supported.

  //SpSharedRecoContext RC = new SpSharedRecoContext();
foreach (ISpeechObjectToken t
in RC.Recognizer.GetRecognizers(string.Empty, string.Empty))
{
string a = t.GetDescription(0);
if (a == "Microsoft Japanese Recognizer v5.1")
{
//I want to put the code that change the current language recognition here
}
comboBox1.Items.Add(a);
}



I've searched in the internet for the solving my problem but I couldn't get the answer. Anyone help me?
Thanks in advance .





Answers (5)