Web platform features explorer

Speech recognition grammar

This feature is discouraged — Advancements in speech recognition mean that speech grammars are not needed to achieve low error rates.

For more information, see: WebAudio/web-speech-api/pull/117 (GitHub)

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.

Status

Discouraged

Browser support

  • Chrome
  • Chrome Android
  • Edge
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS