Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSGF compiler produces copious epsilons #317

Open
dhdaines opened this issue Oct 19, 2022 · 0 comments
Open

JSGF compiler produces copious epsilons #317

dhdaines opened this issue Oct 19, 2022 · 0 comments

Comments

@dhdaines
Copy link
Contributor

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant