How Google Voice Search works? Is there an API for that?

前端 未结 3 1909
广开言路
广开言路 2020-12-23 10:17

I\'m not sure if this is the right site for this question, but I was wondering how the voice activated search on Google\'s homepage works. Does it use Flash, some kind of pl

3条回答
  •  北海茫月
    2020-12-23 10:50

    A nice wrapper for the Web Speech API is available here: talater.com/annyang.

    This library allows you to easily bind functions to voice commands, eg:

    annyang.init({
        "help": function() {$("#help").show();}
    });
    annyang.start();
    

提交回复
热议问题