We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
normalize!
grammar = @cfgrammar begin Number = |(1:2) Number = x Number = Number + Number Number = Number * Number end
The text was updated successfully, but these errors were encountered:
Why should it fail on non-probabilistic grammars? Shouldn't it return the grammar, unchanged?
Sorry, something went wrong.
No branches or pull requests
normalize!
is not exported but is crucial when handling probabilities.normalize!
should throw an error, e.g. for the following grammar:The text was updated successfully, but these errors were encountered: