jasperproject/jasper-client — pull request #148 by alexsiri7 (2014-08-31 16:49:50+00:00)
Title: Handle all Google Speech options

Google Speech API returns multiple options for the recognition of the audio file sent. Jasper was taking just the first option, and discarding all others.

With this change all options are checked against the modules, so that if Google got it wrong with the first option, but another one was the correct one, it uses it.

I added a new method on the Mic interface, but kept he activeListen one for compatibility (which discards other options, as before).