Expand description
MDL/Occam minimization for inferred grammars.
The minimizer is deterministic and conservative. It greedily accepts transformations that reduce a two-part MDL score while preserving recall on the supplied positive examples and rejecting sampled strings that the input grammar did not accept beyond the configured precision budget.
Structs§
- Mdl
- Two-part Minimum Description Length cost in bits. Lower is better.
- Minimize
Options - Options for
minimize. - Minimize
Report - Counts and rejection reasons recorded during minimization.
- Minimize
Result - Minimized grammar and before/after accounting.