Russian language recognition in Microsoft Speech APISAPI identifying more than 2 propertiesMicrosoft Speech Recognition SpeedFree-form text with custom SRGS based GrammarMicrosoft Speech Recognition Custom TrainingUse hindi or kannada language for microsoft speech sdkCan Microsoft Speech SDK 5.4 recognize russian language?Microsoft Speech API (SAPI) UserTraining syntaxMicrosoft Speech Recognition defaults vs APIDoes Microsoft SAPI support speech recognition on offline mode just like system.speech api?SAPI rule enumerationDoes the MS Speech Platform 11 Recognizer support ARPA compiled grammars?

Should I put programming books I wrote a few years ago on my resume?

Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM?

A Salute to Poetry

Flight compensation with agent

Do empty drive bays need to be filled?

Can there be absolute velocity?

What is the Leave No Trace way to dispose of coffee grounds?

Difference between prepositions in "...killed during/in the war"

Wizard clothing for warm weather

What would be the way to say "just saying" in German? (Not the literal translation)

Is the Keras Embedding layer dependent on the target label?

Rail-to-rail op-amp only reaches 90% of VCC, works sometimes, not everytime

How durable are silver inlays on a blade?

What are the unintended or dangerous consequences of allowing spells that target and damage creatures to also target and damage objects?

Why did Intel abandon unified CPU cache?

How can one's career as a reviewer be ended?

Is it okay to have a sequel start immediately after the end of the first book?

Is there a DSLR/mirorless camera with minimal options like a classic, simple SLR?

Are the guests in Westworld forbidden to tell the hosts that they are robots?

Oil draining out shortly after turbo hose detached/broke

Do you need to let the DM know when you are multiclassing?

Make Gimbap cutter

Does the Nuka-Cola bottler actually generate nuka cola?

What is the logic behind charging tax _in the form of money_ for owning property when the property does not produce money?



Russian language recognition in Microsoft Speech API


SAPI identifying more than 2 propertiesMicrosoft Speech Recognition SpeedFree-form text with custom SRGS based GrammarMicrosoft Speech Recognition Custom TrainingUse hindi or kannada language for microsoft speech sdkCan Microsoft Speech SDK 5.4 recognize russian language?Microsoft Speech API (SAPI) UserTraining syntaxMicrosoft Speech Recognition defaults vs APIDoes Microsoft SAPI support speech recognition on offline mode just like system.speech api?SAPI rule enumerationDoes the MS Speech Platform 11 Recognizer support ARPA compiled grammars?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I would like to play a little bit with Microsoft Speech API. I have found this answer and it works! I have tried to adopt it to recognize Russian language. The grammar file look like this:



<GRAMMAR LANGID="419">
<DEFINE>
<ID NAME="TEST" VAL="1"/>
</DEFINE>
<RULE NAME="TEST" TOPLEVEL="ACTIVE">
<L>
<P>Привет</P>
<P>Пока</P>
</L>
</RULE>
</GRAMMAR>


The code is taken from the mentioned answer. But I get an error: the line



HRESULT hr = cpRecoGram->LoadCmdFromFile(L"D:\data\test\reco_ru.cfg", SPLO_STATIC);


returns 0x80045052 (-2147200942): An attempt to load a CFG grammar with a LANGID different than other loaded grammars.



Is it possible to set up a program and/or an environment to use grammar files for Russian?



Environment: Windows 10 Home, Visual Studio 2017










share|improve this question
























  • Is that hexadecimal or decimal error number? What was the associated message? What was the HRESULT value?

    – Ben
    Mar 24 at 21:49












  • @Ben The HRESULT value is -2147200942. The associated message is got with _com_error: IDispatch error #20050,please, read carefully. I do not know what does it mean and which type of numbers is used.

    – Lex Sergeev
    Mar 24 at 22:17






  • 1





    SPERR_LANGID_MISMATCH 0x80045052 -2147200942 An attempt to load a CFG grammar with a LANGID different than other loaded grammars docs.microsoft.com/en-us/previous-versions/office/developer/…

    – Ben
    Mar 24 at 22:25











  • Probably you need to initialise a fresh engine with the Russian language.

    – Ben
    Mar 24 at 22:25






  • 1





    You would need a Russian language speech recognizer. Microsoft doesn't ship one, and as far as I know, no such recognition engine exists.

    – Eric Brown
    Mar 25 at 22:02

















0















I would like to play a little bit with Microsoft Speech API. I have found this answer and it works! I have tried to adopt it to recognize Russian language. The grammar file look like this:



<GRAMMAR LANGID="419">
<DEFINE>
<ID NAME="TEST" VAL="1"/>
</DEFINE>
<RULE NAME="TEST" TOPLEVEL="ACTIVE">
<L>
<P>Привет</P>
<P>Пока</P>
</L>
</RULE>
</GRAMMAR>


The code is taken from the mentioned answer. But I get an error: the line



HRESULT hr = cpRecoGram->LoadCmdFromFile(L"D:\data\test\reco_ru.cfg", SPLO_STATIC);


returns 0x80045052 (-2147200942): An attempt to load a CFG grammar with a LANGID different than other loaded grammars.



Is it possible to set up a program and/or an environment to use grammar files for Russian?



Environment: Windows 10 Home, Visual Studio 2017










share|improve this question
























  • Is that hexadecimal or decimal error number? What was the associated message? What was the HRESULT value?

    – Ben
    Mar 24 at 21:49












  • @Ben The HRESULT value is -2147200942. The associated message is got with _com_error: IDispatch error #20050,please, read carefully. I do not know what does it mean and which type of numbers is used.

    – Lex Sergeev
    Mar 24 at 22:17






  • 1





    SPERR_LANGID_MISMATCH 0x80045052 -2147200942 An attempt to load a CFG grammar with a LANGID different than other loaded grammars docs.microsoft.com/en-us/previous-versions/office/developer/…

    – Ben
    Mar 24 at 22:25











  • Probably you need to initialise a fresh engine with the Russian language.

    – Ben
    Mar 24 at 22:25






  • 1





    You would need a Russian language speech recognizer. Microsoft doesn't ship one, and as far as I know, no such recognition engine exists.

    – Eric Brown
    Mar 25 at 22:02













0












0








0








I would like to play a little bit with Microsoft Speech API. I have found this answer and it works! I have tried to adopt it to recognize Russian language. The grammar file look like this:



<GRAMMAR LANGID="419">
<DEFINE>
<ID NAME="TEST" VAL="1"/>
</DEFINE>
<RULE NAME="TEST" TOPLEVEL="ACTIVE">
<L>
<P>Привет</P>
<P>Пока</P>
</L>
</RULE>
</GRAMMAR>


The code is taken from the mentioned answer. But I get an error: the line



HRESULT hr = cpRecoGram->LoadCmdFromFile(L"D:\data\test\reco_ru.cfg", SPLO_STATIC);


returns 0x80045052 (-2147200942): An attempt to load a CFG grammar with a LANGID different than other loaded grammars.



Is it possible to set up a program and/or an environment to use grammar files for Russian?



Environment: Windows 10 Home, Visual Studio 2017










share|improve this question
















I would like to play a little bit with Microsoft Speech API. I have found this answer and it works! I have tried to adopt it to recognize Russian language. The grammar file look like this:



<GRAMMAR LANGID="419">
<DEFINE>
<ID NAME="TEST" VAL="1"/>
</DEFINE>
<RULE NAME="TEST" TOPLEVEL="ACTIVE">
<L>
<P>Привет</P>
<P>Пока</P>
</L>
</RULE>
</GRAMMAR>


The code is taken from the mentioned answer. But I get an error: the line



HRESULT hr = cpRecoGram->LoadCmdFromFile(L"D:\data\test\reco_ru.cfg", SPLO_STATIC);


returns 0x80045052 (-2147200942): An attempt to load a CFG grammar with a LANGID different than other loaded grammars.



Is it possible to set up a program and/or an environment to use grammar files for Russian?



Environment: Windows 10 Home, Visual Studio 2017







sapi microsoft-speech-api






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 7:33







Lex Sergeev

















asked Mar 24 at 21:44









Lex SergeevLex Sergeev

1881114




1881114












  • Is that hexadecimal or decimal error number? What was the associated message? What was the HRESULT value?

    – Ben
    Mar 24 at 21:49












  • @Ben The HRESULT value is -2147200942. The associated message is got with _com_error: IDispatch error #20050,please, read carefully. I do not know what does it mean and which type of numbers is used.

    – Lex Sergeev
    Mar 24 at 22:17






  • 1





    SPERR_LANGID_MISMATCH 0x80045052 -2147200942 An attempt to load a CFG grammar with a LANGID different than other loaded grammars docs.microsoft.com/en-us/previous-versions/office/developer/…

    – Ben
    Mar 24 at 22:25











  • Probably you need to initialise a fresh engine with the Russian language.

    – Ben
    Mar 24 at 22:25






  • 1





    You would need a Russian language speech recognizer. Microsoft doesn't ship one, and as far as I know, no such recognition engine exists.

    – Eric Brown
    Mar 25 at 22:02

















  • Is that hexadecimal or decimal error number? What was the associated message? What was the HRESULT value?

    – Ben
    Mar 24 at 21:49












  • @Ben The HRESULT value is -2147200942. The associated message is got with _com_error: IDispatch error #20050,please, read carefully. I do not know what does it mean and which type of numbers is used.

    – Lex Sergeev
    Mar 24 at 22:17






  • 1





    SPERR_LANGID_MISMATCH 0x80045052 -2147200942 An attempt to load a CFG grammar with a LANGID different than other loaded grammars docs.microsoft.com/en-us/previous-versions/office/developer/…

    – Ben
    Mar 24 at 22:25











  • Probably you need to initialise a fresh engine with the Russian language.

    – Ben
    Mar 24 at 22:25






  • 1





    You would need a Russian language speech recognizer. Microsoft doesn't ship one, and as far as I know, no such recognition engine exists.

    – Eric Brown
    Mar 25 at 22:02
















Is that hexadecimal or decimal error number? What was the associated message? What was the HRESULT value?

– Ben
Mar 24 at 21:49






Is that hexadecimal or decimal error number? What was the associated message? What was the HRESULT value?

– Ben
Mar 24 at 21:49














@Ben The HRESULT value is -2147200942. The associated message is got with _com_error: IDispatch error #20050,please, read carefully. I do not know what does it mean and which type of numbers is used.

– Lex Sergeev
Mar 24 at 22:17





@Ben The HRESULT value is -2147200942. The associated message is got with _com_error: IDispatch error #20050,please, read carefully. I do not know what does it mean and which type of numbers is used.

– Lex Sergeev
Mar 24 at 22:17




1




1





SPERR_LANGID_MISMATCH 0x80045052 -2147200942 An attempt to load a CFG grammar with a LANGID different than other loaded grammars docs.microsoft.com/en-us/previous-versions/office/developer/…

– Ben
Mar 24 at 22:25





SPERR_LANGID_MISMATCH 0x80045052 -2147200942 An attempt to load a CFG grammar with a LANGID different than other loaded grammars docs.microsoft.com/en-us/previous-versions/office/developer/…

– Ben
Mar 24 at 22:25













Probably you need to initialise a fresh engine with the Russian language.

– Ben
Mar 24 at 22:25





Probably you need to initialise a fresh engine with the Russian language.

– Ben
Mar 24 at 22:25




1




1





You would need a Russian language speech recognizer. Microsoft doesn't ship one, and as far as I know, no such recognition engine exists.

– Eric Brown
Mar 25 at 22:02





You would need a Russian language speech recognizer. Microsoft doesn't ship one, and as far as I know, no such recognition engine exists.

– Eric Brown
Mar 25 at 22:02












1 Answer
1






active

oldest

votes


















1














Windows 10 does not ship a SAPI-compatible Russian recognizer as part of the OS. (There are en-US, en-GB, fr-FR, de-DE, ja-JP, zh-CHS, and zh-CHT SAPI recognizers available.)



However, if you're willing to use the Server recognizers (AKA the MS Speech Platform 11), you can find Russian recognizers at http://www.microsoft.com/en-us/download/details.aspx?id=27224.



You want the MSSpeech_SR_ru-RU_TELE.msi download.



The Server recognizers have a similar API, but don't support a number of features that the SAPI 5.4 recognizers support (namely, dictation).






share|improve this answer

























  • Could you please provide a list of available languages?

    – Lex Sergeev
    Mar 26 at 5:06











  • @LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

    – Eric Brown
    Mar 26 at 16:28











  • Ok, let it be the answer )

    – Lex Sergeev
    Mar 28 at 9:42












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55328874%2frussian-language-recognition-in-microsoft-speech-api%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Windows 10 does not ship a SAPI-compatible Russian recognizer as part of the OS. (There are en-US, en-GB, fr-FR, de-DE, ja-JP, zh-CHS, and zh-CHT SAPI recognizers available.)



However, if you're willing to use the Server recognizers (AKA the MS Speech Platform 11), you can find Russian recognizers at http://www.microsoft.com/en-us/download/details.aspx?id=27224.



You want the MSSpeech_SR_ru-RU_TELE.msi download.



The Server recognizers have a similar API, but don't support a number of features that the SAPI 5.4 recognizers support (namely, dictation).






share|improve this answer

























  • Could you please provide a list of available languages?

    – Lex Sergeev
    Mar 26 at 5:06











  • @LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

    – Eric Brown
    Mar 26 at 16:28











  • Ok, let it be the answer )

    – Lex Sergeev
    Mar 28 at 9:42
















1














Windows 10 does not ship a SAPI-compatible Russian recognizer as part of the OS. (There are en-US, en-GB, fr-FR, de-DE, ja-JP, zh-CHS, and zh-CHT SAPI recognizers available.)



However, if you're willing to use the Server recognizers (AKA the MS Speech Platform 11), you can find Russian recognizers at http://www.microsoft.com/en-us/download/details.aspx?id=27224.



You want the MSSpeech_SR_ru-RU_TELE.msi download.



The Server recognizers have a similar API, but don't support a number of features that the SAPI 5.4 recognizers support (namely, dictation).






share|improve this answer

























  • Could you please provide a list of available languages?

    – Lex Sergeev
    Mar 26 at 5:06











  • @LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

    – Eric Brown
    Mar 26 at 16:28











  • Ok, let it be the answer )

    – Lex Sergeev
    Mar 28 at 9:42














1












1








1







Windows 10 does not ship a SAPI-compatible Russian recognizer as part of the OS. (There are en-US, en-GB, fr-FR, de-DE, ja-JP, zh-CHS, and zh-CHT SAPI recognizers available.)



However, if you're willing to use the Server recognizers (AKA the MS Speech Platform 11), you can find Russian recognizers at http://www.microsoft.com/en-us/download/details.aspx?id=27224.



You want the MSSpeech_SR_ru-RU_TELE.msi download.



The Server recognizers have a similar API, but don't support a number of features that the SAPI 5.4 recognizers support (namely, dictation).






share|improve this answer















Windows 10 does not ship a SAPI-compatible Russian recognizer as part of the OS. (There are en-US, en-GB, fr-FR, de-DE, ja-JP, zh-CHS, and zh-CHT SAPI recognizers available.)



However, if you're willing to use the Server recognizers (AKA the MS Speech Platform 11), you can find Russian recognizers at http://www.microsoft.com/en-us/download/details.aspx?id=27224.



You want the MSSpeech_SR_ru-RU_TELE.msi download.



The Server recognizers have a similar API, but don't support a number of features that the SAPI 5.4 recognizers support (namely, dictation).







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 26 at 16:27

























answered Mar 25 at 22:04









Eric BrownEric Brown

12.8k52464




12.8k52464












  • Could you please provide a list of available languages?

    – Lex Sergeev
    Mar 26 at 5:06











  • @LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

    – Eric Brown
    Mar 26 at 16:28











  • Ok, let it be the answer )

    – Lex Sergeev
    Mar 28 at 9:42


















  • Could you please provide a list of available languages?

    – Lex Sergeev
    Mar 26 at 5:06











  • @LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

    – Eric Brown
    Mar 26 at 16:28











  • Ok, let it be the answer )

    – Lex Sergeev
    Mar 28 at 9:42

















Could you please provide a list of available languages?

– Lex Sergeev
Mar 26 at 5:06





Could you please provide a list of available languages?

– Lex Sergeev
Mar 26 at 5:06













@LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

– Eric Brown
Mar 26 at 16:28





@LexSergeev rewrote the answer to clarify the distinction between SAPI 5.4 and MS Speech Platform 11.

– Eric Brown
Mar 26 at 16:28













Ok, let it be the answer )

– Lex Sergeev
Mar 28 at 9:42






Ok, let it be the answer )

– Lex Sergeev
Mar 28 at 9:42




















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55328874%2frussian-language-recognition-in-microsoft-speech-api%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript