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

Change speech recognition language to de-de #87

Open
nils-fl opened this issue Mar 14, 2019 · 0 comments
Open

Change speech recognition language to de-de #87

nils-fl opened this issue Mar 14, 2019 · 0 comments

Comments

@nils-fl
Copy link

nils-fl commented Mar 14, 2019

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

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

1 participant