-
Notifications
You must be signed in to change notification settings - Fork 263
Acoustic and language models
Pocketsphinx.js ships with a default acoustic model, but any acoustic model compatible with Pocketsphinx can be used. There is no default language models. Grammars can be added at runtime and statistical language models can be packaged inside pocketsphinx.js
and loaded at init time.
Here are a few pointers to tools and resources about acoustic and language models:
Although, features extracted by the recognizer should not depend on the signal characteristics (sample rate and resolution, at least at my understanding), it seems that acoustic models depend on these characteristics. The recorder included in pocketsphinx.js
uses 16kHz and 16 bits, so you'll probably want to make sure your model was trained with this type of audio.
By default, pocketsphinx.js
ships with and loads a model trained with the RM1 corpus, with 200 senones, semi-continuous.
Refer to the tutorial on CMU Sphinx's website: