I am using C#.Net to develop the Speech recognition engine to develop speech to text in bangla. I have tried several times to load the grammer file to the speechengine. But it shows me the error. How I can resolve this problem.
My XML grammer loading code is
grammar.CmdLoadFromFile(appPath + FileName, SpeechLib.SpeechLoadOption.SLOStatic);
//grammar.CmdLoadFromFile("E:\\Speech RecognitionByp\\SpeechRecognitionByp@bengaliGramme.xml",SpeechLib.SpeechLoadOption.SLODynamic);
grammar.CmdSetRuleIdState(0, SpeechRuleState.SGDSActive);
The error means SPERR_UNSUPPORTED_FORMAT - this can only be resolved by correcting the format of your file...
User contributions licensed under CC BY-SA 3.0