The problem will be that it has to work with phonegap. I found this article that might be interesting:
http://devgirl.org/2016/01/08/speaking-with-cordova/
And on Github there is a phonegap plugin:
https://github.com/poiuytrez/SpeechRecognizer
I do wonder what the results will be. Keep us posted about your end result.
Regards,
Ronald
This widget will probably help you out.
https://github.com/FlockOfBirds/phonegap-audio-recorder
I've used it on a few projects and works quite well.