Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.88k stars 1.85k forks source link

appear garbled characters when recorize chinese #2645

Open cjdxhjj opened 1 day ago

cjdxhjj commented 1 day ago

IN ORDER TO ASSIST YOU, PLEASE PROVIDE THE FOLLOWING:

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:

  1. ... 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

Additional context

cjdxhjj commented 1 day ago

another question: The recognition speed is extremely slow. It takes about 20 seconds.