Nice work. Can it return confidence scores? Say I want to load 3 commands in my page:
1. Click blue button
2. Scroll down in the yellow text area
3. Expand image of man
I feed those to the engine, and when somebody speaks, I get a confidence score on each word so I can determine with a level of configurable certainty that the user is using the command:
{click: 0.9878 confidence,
blue: 0.8789 confidence,
button: 0.1889 confidence)
It does post them back from the worker, but the Julius interface doesn't expose them (yet). The way that Julius deals with confidence scores is also a little different (they're not fractional), so you'd need to account for that.
I'll be sure to include them soon - it's probably just a few more lines of code, so you can expect them in the onrecognition function this afternoon.