microsoft / cognitive-services-speech-sdk-go

Go bindings for the Microsoft Cognitive Services Speech SDK
MIT License
88 stars 29 forks source link

StartContinuousRecognitionAsync : NoMatch #115

Open itltf512116 opened 11 months ago

itltf512116 commented 11 months ago

Hello, I am using StartContinuousRecognitionAsync to process the audio, the ResultReason I get as a result of the processing (speechRecognizer.Recognized) is NoMatch, but I can't find any explanation about this code. The demo I referenced url:https://learn.microsoft.com/zh-cn/azure/ai-services/speech-service/get-started-speech-to-text?tabs=windows%2Cterminal& pivots=programming-language-go

session ID:7cc56084058c4e64851729a979c52582

image

image

What is the reason for this and how can I fix this? Thank you very much

jhakulin commented 11 months ago

@itltf512116 No Match can happen if you speak different language that has been configured. The default language is en-US if you have not set that specifically via SpeechConfig object. Could you please provide a trace for the issue? https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-use-logging

itltf512116 commented 11 months ago

@itltf512116 No Match can happen if you speak different language that has been configured. The default language is en-US if you have not set that specifically via SpeechConfig object. Could you please provide a trace for the issue? https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-use-logging

Hi jhakulin,thanks for you replay. The language code is en-US,and when I debug the code, everything works fine, but in production it fails! I've tried different audios and they all behave like this.