I am trying to find a Speech Recognition Javascript API ( preferably offline ) where I can set some hardcoded words like 'play', 'pause', etc and get a probability about what word a user said. i.e {word: 'play', probability: '0.72'}
I've used a simmilar API when I was programming with a Kinect device and I would like to use the same functionality into my Javascript App.
I've already done my research about suchlike API's and the only thing I've found is a speech to text service. Of course, I can compare the text strings in order to have a probability of the word but the Kinect way seemed to be more correct.
Thanks for your help :)