pocketsphinx icon indicating copy to clipboard operation
pocketsphinx copied to clipboard

JSGF compiler produces copious epsilons

Open dhdaines opened this issue 2 years ago • 0 comments

This isn't, in itself, a problem, as it is necessary in order to produce correct grammars, but it becomes one because the epsilon closure that's done in fsg_model.c is quite inefficient.

Either we need to do epsilon removal on the output of the JSGF compiler, or simply do it instead of epsilon closure for all FSGs. The algorithm is pretty simple and extremely well documented...

dhdaines avatar Oct 19 '22 19:10 dhdaines