syl22-00 / pocketsphinx.js

Speech recognition in JavaScript and WebAssembly
1.49k stars 261 forks source link

Demo doesn't work #1

Closed codersquare-com closed 10 years ago

codersquare-com commented 11 years ago

Hi, Great stuff. But I tried the digits and OSes on the demo page but it doesn't work. It often recognizes one as four , and many redundant digits I thought I'd just let you know. This kinda prevents me from using the library when the demo doesn't work well

syl22-00 commented 11 years ago

Thanks for giving it a try.

Speech recognition accuracy and ways to improve it is a vast topic. To start with, Pocketsphinx.js should give you the same accuracy as PocketSphinx, and strategies to obtain good performance are the same. For instance, the library ships with a very small and rough acoustic model from which you should not expect too much. To build a serious speech app from open source software you should consider training your own acoustic model and carefully build language models.

A few pointers:

I hope that helps.

codersquare-com commented 11 years ago

Thanks for ur explanation, looks like I have a lot to learn first

syl22-00 commented 11 years ago

Yes, building a decent speech app is tough, that's why there are not that many of them...

One tip: confusions are much less likely with longer words. That's why there are less errors in the Cities demo.

jergason commented 11 years ago

Is there a place to get standard language and acoustic models to avoid having to construct your own?

syl22-00 commented 11 years ago

Here are a few pointers:

robertjchristian commented 10 years ago

Very cool. Curious as to whether this could be used practically, ie one hour of spoken English conversation.