ailab icon indicating copy to clipboard operation
ailab copied to clipboard

Change speech recognition language to de-de

Open nils-fl opened this issue 6 years ago • 0 comments

I am not managing to make the chatbot recognize my speech input as German. I managed to change the text-to-speech to German, but when I talk into the mic the bot thinks I talk English. I saw that I can possibly change it via config.SpeechRecognitionLanguage = "de-de"; But honestly, I have no clue where to put it. Am I right that I have to change something in the SpeechModule.js?

I solved it by changing o = i.SpeechResultFormat.Simple, s = e.locale || "en-US" to o = i.SpeechResultFormat.Simple, s = "de-DE" in wwwroot/lib/CognitiveServices.js

nils-fl avatar Mar 14 '19 21:03 nils-fl