Stvad
Stvad

Reputation: 380

Training acoustic model for CMU Sphinx using Finite state grammar (JSGF)

I need to train my own acoustic model. On the official wiki, this process is described for ngramm models in DMP format, but I need to use a (grammar) language model provided in JSGF format. Is there a such possibility? And if so, could you give a tutorial on this subject?

Upvotes: 1

Views: 1290

Answers (1)

Nikolay Shmyrev
Nikolay Shmyrev

Reputation: 25220

Modifications are minimial. Open psdecode.pl script in the installed location or in scripts and change

-lm => $ST::DEC_CFG_LANGUAGEMODEL,

to

-jsgf => "/full/path/to/jsgf/file",

Upvotes: 1

Related Questions