A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
If relevant, a WAV file of your input audio.
Additional information as shown below
Describe the bug
A clear and concise description of what the bug is. If things are not working as you expect,
describe exactly what you are getting and why that is not what you expect.
For example, speech recognition "does not work" may mean you got a cancellation
event with a particular error message, or you did not get any recognition events,
or the recognition result you got contains text that does not match what was spoken.
To Reproduce
this->_recognizer->Recognized.Connect([](const SpeechRecognitionEventArgs& e) {
if (e.Result->Reason == ResultReason::RecognizedKeyword) {
Logger::info(" RecognizedKeyword:" + e.Result->Text);
} else if (e.Result->Reason == ResultReason::RecognizedSpeech) {
Logger::info(" RecognizedSpeech:" + e.Result->Text);
} else if (e.Result->Reason == ResultReason::NoMatch) {
Logger::info(" NoMatch");
}
});
Steps to reproduce the behavior:
... speck chinese
Expected behavior
A clear and concise description of what you expected to happen.
Version of the Cognitive Services Speech SDK
1.41.1
Which version of the SDK are you using.
Platform, Operating System, and Programming Language
IN ORDER TO ASSIST YOU, PLEASE PROVIDE THE FOLLOWING:
Speech SDK log taken from a run that exhibits the reported issue. See instructions on how to take logs.
A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
If relevant, a WAV file of your input audio.
Additional information as shown below
Describe the bug
A clear and concise description of what the bug is. If things are not working as you expect, describe exactly what you are getting and why that is not what you expect. For example, speech recognition "does not work" may mean you got a cancellation event with a particular error message, or you did not get any recognition events, or the recognition result you got contains text that does not match what was spoken.
To Reproduce this->_recognizer->Recognized.Connect([](const SpeechRecognitionEventArgs& e) { if (e.Result->Reason == ResultReason::RecognizedKeyword) { Logger::info(" RecognizedKeyword:" + e.Result->Text);
} else if (e.Result->Reason == ResultReason::RecognizedSpeech) {
Logger::info(" RecognizedSpeech:" + e.Result->Text);
} else if (e.Result->Reason == ResultReason::NoMatch) {
Logger::info(" NoMatch");
}
});
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Version of the Cognitive Services Speech SDK 1.41.1
Which version of the SDK are you using.
Platform, Operating System, and Programming Language
Additional context