Around Context-Free Grammars -- a Normal Form, a Representation Theorem, and a Regular Approximation
Liliana Cojocaru

TL;DR
This paper introduces Dyck normal form for context-free grammars, providing a new representation, a normal form, and a method to approximate context-free languages with regular languages using graphical techniques.
Contribution
It presents a novel normal form for context-free grammars, a representation theorem linking these languages to Dyck languages, and a method for regular approximation.
Findings
Dyck normal form is a syntactical restriction of Chomsky normal form.
Every context-free language can be represented via a homomorphism from a Dyck language.
A regular language approximation can be effectively constructed for context-free languages.
Abstract
We introduce a normal form for context-free grammars, called Dyck normal form. This is a syntactical restriction of the Chomsky normal form, in which the two nonterminals occurring on the right-hand side of a rule are paired nonterminals. This pairwise property allows to define a homomorphism from Dyck words to words generated by a grammar in Dyck normal form. We prove that for each context-free language L, there exist an integer K and a homomorphism h such that L=h(D'_K), where D'_K is a subset of the one-sided Dyck language over K letters. Through a transition-like diagram for a context-free grammar in Dyck normal form, we effectively build a regular language R that satisfies the Chomsky-Schutzenberger theorem. Using graphical approaches we refine R such that the Chomsky-Schutzenberger theorem still holds. Based on this readjustment we sketch a transition diagram for a regular grammar…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Natural Language Processing Techniques · Algorithms and Data Compression
