Hello,
I am making application that will take several words and run appropriate code.
Everything works fine, but I have very annoying problem.
Every time I run application on a fresh PC (that never used speech recognition) that speech tutorial activates where a user must speak a sentence so it can calibrate. I do not need that calibration, since I will used simple words and several numbers.
How do I skip it and activate engine right away?
Also, I was thinking to terminate speech engine this way. It works fine, but I am wondering is this the right way to do it? Is there better way?
string processName = "sapisvr";
Process[] processes = Process.GetProcessesByName(processName);
foreach (Process process in processes) {
process.Kill();
}
|