开发者

Exception from HRESULT: 0x80045003

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 grammar file to the speech engine. But it shows me the error. How I can resolve this problem?

My XML grammar loading code is

grammar.CmdLoadFromFile(appPath + FileName, SpeechLib.SpeechLoadOption.SL开发者_StackOverflow社区OStatic);
//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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜