Limited Availability
Speech
id: speech-recognition-grammar
Speech recognition grammar
The
SpeechRecognition.grammars property of the Web Speech API represents a set of words or patterns of words that the recognition service should recognize, used for when the recognition service's accuracy is low.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
—
Unsupported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
—
Unsupported
Mobile Browser Engine Support
Chrome Android
—
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.SpeechGrammar ↗
api.SpeechGrammar.src ↗
api.SpeechGrammar.weight ↗
api.SpeechGrammarList ↗
api.SpeechGrammarList.SpeechGrammarList ↗
api.SpeechGrammarList.addFromString ↗
api.SpeechGrammarList.addFromURI ↗
api.SpeechGrammarList.item ↗
api.SpeechGrammarList.length ↗
api.SpeechRecognition.grammars ↗