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.
Browser support
- Chrome Not supported
- Chrome Android Not supported
- Edge Not supported
- Firefox Not supported
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
MDN documentation
- SpeechGrammar
- SpeechGrammar: src property
- SpeechGrammar: weight property
- SpeechGrammarList
- SpeechGrammarList: SpeechGrammarList() constructor
- SpeechGrammarList: addFromString() method
- SpeechGrammarList: addFromURI() method
- SpeechGrammarList: item() method
- SpeechGrammarList: length property
- SpeechRecognition: grammars property
Specifications
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist