Right now this module only wrap what is actually offered (and a bit less) by SpeechRecognition API. Now what seems like a natural addition is the capability to define commands like annyang does. Now I'm not sure if we should keep it minimalistic or got for the commands API.
If we go to, it should be like this
// <command name with named parameters>, callback the listened parameters
emit('stt:set-command', 'command :name', callback(name))
The callback will run when a listened speech fits in the command definition
Right now this module only wrap what is actually offered (and a bit less) by SpeechRecognition API. Now what seems like a natural addition is the capability to define commands like annyang does. Now I'm not sure if we should keep it minimalistic or got for the commands API.
If we go to, it should be like this
The callback will run when a listened speech fits in the command definition