Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartContinuousRecognitionAsync : NoMatch #115

Open
itltf512116 opened this issue Nov 23, 2023 · 2 comments
Open

StartContinuousRecognitionAsync : NoMatch #115

itltf512116 opened this issue Nov 23, 2023 · 2 comments

Comments

@itltf512116
Copy link

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
Copy link
Member

@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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants