Expand description
Delimiter-skeleton structural prior for positive grammar inference.
Structs§
- Byte
Span - Half-open byte span
[start, end)into the owning example string. - Prior
Options - Configuration for structural-prior construction.
- Seed
Tree - One positive example paired with its seed tree.
- Structural
Prior - A batch of seed trees plus the shared terminal alphabet.
Enums§
- Delimiter
- Delimiter family for a seed-tree group.
- Leaf
Kind - The kind of an opaque terminal leaf.
- Seed
Node - One node of a seed parse tree over a single example string.
- Whitespace
Policy - Whitespace policy for text leaves.
Functions§
- build_
structural_ prior - Builds the delimiter-skeleton structural prior for positive examples.