cmusphinx / pocketsphinx

A small speech recognizer
Other
3.93k stars 717 forks source link

Revert incorrect optimizations to JSGF compiler (fixes #53) #305

Closed dhdaines closed 2 years ago

dhdaines commented 2 years ago

Also verify the correctness of the test grammars, with a new utility function that does this.

The optimization was, in theory, a good idea, perhaps it can be done correctly, now that we can properly verify the correctness of the resulting grammars.