Hacker News new | ask | show | jobs
by bubee 4275 days ago
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)

Something like that...

1 comments

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.

OK it's done! Not well documented yet - that will wait for another day - but you can now access the score through the `onrecognition` event.
Wow, awesome! I will start playing with it today. Thanks!
Fantastic project and response time. Congrats on this.
I'm literally sitting here hitting refresh. Thanks.