ご存知でしたボットのリブレー無料主催の 問題追跡 のためにお客様ご自身のウェブサイトまたはモバイルアプリのか?
Bot Libre Forum

set speech recognition to German

による piratenmartin 掲載 Sep 10 2015, 2:29

Hi guys,

Its probably a very simple question but I cant seem to find a way to do this. In my chatbot I enabled the speech recognition function - which works fine, as long as it is in English. For my project I want to train refugees to speak German, so I need to have the speech recognition in German. Do I have to do this in Chrome (I tried without success) or do I do it somewhere on BotLibre or in the code I pasted onto my wordpress page?

I would greatly appreciate some help - please keep it as simple as possible as I am a complete newbie on the topic.

Best regards

Martin


by admin posted Sep 10 2015, 9:24
Hi Martin,

Thanks for reporting the issue. It looks like we are not currently setting the language in the speech recognizer, so it defaults to English or the browser/OS default language.

If you are using our JavaScript embedding code, you can just and the lines to the start of your SDK script.

SDK.startSpeechRecognition = function() { if (SDK.recognition != null) { SDK.recognition.lang = "de.DE"; SDK.recognition.start(); SDK.recognitionActive = true; } }


We will try to fix this on our end in our next update to default to the bot's language. You can set your bot's language from the voice admin page. "de" in the language code for German.

Updated: Sep 10 2015, 9:29
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3066, today: 1, week: 1, month: 50

by piratenmartin posted Sep 12 2015, 14:02

ah okay,

didn't know I was reporting an issue, just thought me not getting it :)

I actually use the iframe code which looks like this for me:

<iframe src="http://www.botlibre.com/chat?&id=11565180&embedded=true&application=117824630314120453&background=%23fff&prompt=You+say&send=Send" width="700" height="550" frameborder="0" scrolling="auto"></iframe>

is there a way to set the the language in this code to German as I prefer the iframe embedding method`?

Thank you for your fast reply!

Best regards

Martin


Updated: Sep 12 2015, 15:45
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2822, today: 0, week: 0, month: 52

by admin posted Sep 14 2015, 10:31
This issue should be fixed now. Just ensure you set your language to "de" in your bot's Voice page under Admin.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2957, today: 0, week: 0, month: 37

by piratenmartin posted Sep 15 2015, 8:35

wow, yeah it works!

 

Thank you so much!


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2796, today: 0, week: 0, month: 54

Id: 11566400
タグ: speech, german
掲載: Sep 10 2015, 2:29
更新: Sep 12 2015, 15:44
回答: 4
眺望: 3749, 今日の: 1, 週間: 1, 月: 68
0 0 0.0/5