Speech recognition grammar
Discouraged
This feature is discouraged. For the rationale, see:
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. This feature has been removed due to advancements in speech recognition.
Learn more
- 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
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist