Chrome iOS webkit speech-recognition Chrome iOS webkit speech-recognition google-chrome google-chrome

Chrome iOS webkit speech-recognition


Chrome on iOS doesn't support Speech Recognition at the moment.

Google have to use iOS UIWebView that mean there is no special web interpretation feature that are not supported on Safari.

You may have a look to this link.


In case you want to recognize few simple commands you can look on Pocketsphinx.js

The code to recognize speech is simple:

var id = 0;recognizer.postMessage({command: 'initialize', callbackId: id});var keyphrase = "HELLO WORLD";recognizer.postMessage({command: 'addKeyword', data: keyphrase, callbackId: id});recognizer.postMessage({command: 'start', data: id});recognizer.postMessage({command: 'process', data: array});recognizer.postMessage({command: 'stop'});recognizer.onmessage = function(e) {     if (e.data.hasOwnProperty('hyp')) {           alert(e.data.hyp);     }};

For more details see also the full example here