A pure JavaScript system, which runs totally on the browser, it can be trained to understand limited vocabulary, and after the training, the system will try to guess the spoken word from the vocabulary.
https://medium.com/@q.shawkat/javascript-trained-system-for-voice-commands-recognition-3c44c8401ed
https://shawkatq.github.io/voice-commands-demo/
In the project directory, you can run: