SpeechRecognition worked great for me on Chrome for years until Google probably banned me for sending so many request. It would be cool with a completely offline SpeechRecognition... The trick with SpeechRecognition is to use grammars; if there are only a few words to choose from, it will more likely get it correct vs a random sentence.