The browser/library support for speech is not great in my experiments:
- Chrome 70
- Firefox 96.0
- Oculus browser
- Brave 100.1
I had zero consistent results with the following API's/libs:
- WebSpeechAPI (the unified api which should render the libraries below obsolete)
- https://github.com/TalAter/annyang (in-browser)
- https://github.com/zzmp/juliusjs (in-browser)
- https://github.com/syl22-00/pocketsphinx.js (in-browser)
I remember this not being the case some years ago (when WebSpeechAPI came out)
- the W3C tests mentioned in the draft date from 3-4 years ago: https://github.com/web-platform-tests/wpt/tree/master/speech-api
Maybe there wasn't much developer focus on speech-api after some point.