开发者

Exception from HRESULT: 0x80045003

开发者 https://www.devze.com 2023-03-29 08:37 出处:网络
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.

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

精彩评论

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