Web Speech API - SpeechGrammar

So, I was browsing the Web Speech API documentation and I came across this

https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#speechreco-speechgrammar

Is it possible to use the SpeechGrammar object as a dictionary of words that api understands?

+2
webspeech-api
source share
1 answer

Yes. This is exactly what. MDN has a description of recognition methods here:

https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition

And a few open source examples that also contain great starter code:

https://github.com/mdn/web-speech-api

+1
source share

All Articles