Скачать открытый исходный код бота Либре общий выпуск и установите бот Libre на свой собственный сервер
SDK and Web API : Speak recognition with Javascript SDK

RE: Speak recognition with Javascript SDK

по admin опубликовано Dec 12 2016, 10:19

If you use the bot's embed code it will automatically add speech recognition in the WebChatBotListener createBox() function.

To add speech recogntion yourself you can call the,

SDK.startSpeechRecognition();

To start speech recognition, and,

SDK.stopSpeechRecognition();

to stop speech recognition.

Use all need to call,

SDK.registerSpeechRecognition(input, button);

To register for the speech events.

Speech recognition is only supported in browsers that support HTML5 Speech, such as Chrome.

See,
https://www.botlibre.com/forum-post?id=11672958


Идентификатор: 14899093
Опубликовано: Dec 12 2016, 10:19
Ответы: 0
Вид: 3547, сегодня: 2, неделю: 19, месяц: 47
0 0 0.0/5