Friday, November 14, 2025

Grammar Generator (Generates a Context-free grammar out of a seed poem)

Poem → CFG

Poem → POS CFG

Strict 1:1 tokens→POS, poem-only terminals, NN/NNS, be/det agreement locks, modal→VB, plural stability.
Generated CFG

No comments:

Post a Comment