-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING CHANGE: Drop grammars #58
base: main
Are you sure you want to change the base?
Conversation
grammars are underspecified - they lack a format, so they are kinda useless... so removes grammars attribute, drops SpeechGrammarList, and SpeechGrammar.
What's the implementation status on Chrome? What does it support? |
I'd like to hold off on removing this from the spec until I understand a bit better why this was added and if it ever worked, or perhaps still works on some platform. |
@foolip I'd speculate that when the spec was initially written, many years ago now, the production STT engines were not able to handle LVCSR and required grammars to get reasonable results. Things have changed somewhat now. |
Noting also that Although well intentioned, fetching such grammars should really be done with |
@marcoscaceres there's no argument that the spec defines this well enough for interoperable implementation, and doing nothing wouldn't resolve #57. I've poked some more in #57 (comment) and my only concern with dropping this is what then happens with the implementation in Chromium, since I can't guess yet what the impact of removing it would be. Would you be OK with waiting for usage numbers before we axe it from the spec, to avoid flip-flopping? I'd of course not expect anyone to try implementing it in the interim, and warnings to that effect would be fine. |
Yes, absolutely: no objection and no rush :) |
Any update? Does Chrome support SpeechGrammarList? |
The WebSpeech API implementation in Chrome supports SpeechGrammarList. However, the backend speech recognition service does not so they don't actually do anything. I'm in favor of dropping this from the spec. |
grammars are underspecified - they lack a format, so they are kinda useless... so removes grammars attribute, drops SpeechGrammarList, and SpeechGrammar.
Closes #32
Closes #57
Preview | Diff