Web Speech API

39 views
Skip to first unread message

Fariz Kahfi

unread,
Jun 16, 2015, 3:44:53 AM6/16/15
to chromiu...@chromium.org
hello, my name is fariz kahfi

i have some troubles using this API.. i've already set the default language to Deutsch which means i customized the code into this

select_language.selectedIndex = 5;
updateCountry();
select_dialect.selectedIndex = 0;
showInfo('info_start');

as you see, the number 5 above is the index number of the langs variable (Deutsch) and 0 is for the dialect (de-DE), but when i test it, i can input both german and english language..

did i do something wrong? how i can only input german language from the default selected?

thank you

Glen Shires

unread,
Jun 16, 2015, 11:55:13 AM6/16/15
to Fariz Kahfi, chromiu...@chromium.org
Fariz,
It appears to be working as intended. Because some users sometimes speak a mix of German and English words, the German recognizer is capable of also recognizing some English words. There is currently no way to turn this feature off. This should not affect the proper recognition of German words.

/Glen Shires

--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-html...@chromium.org.
To post to this group, send email to chromiu...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages