On LR(k)-parsers of polynomial size
Norbert Blum

TL;DR
This paper introduces a method to construct extended LR(k) parsers of polynomial size that efficiently simulate all potential derivations, improving parser size bounds while maintaining practical parsing times.
Contribution
The paper presents a novel construction of extended LR(k) parsers with polynomial size, using graph manipulation and data structures to optimize parser efficiency.
Findings
Extended parsers of size O(|G| + LA|N|k^2) constructed
Parser size bounds improved to polynomial in grammar size
Achieved efficient one-pass parsing with manageable complexity
Abstract
Usually, a parser for an -grammar is a deterministic pushdown transducer which produces backwards the unique rightmost derivation for a given input string . The best known upper bound for the size of such a parser is where and are the sizes of the grammar and the terminal alphabet , respectively. If we add to a parser the possibility to manipulate a directed graph of size where is the length of the input then we obtain an extended parser. The graph is used for an efficient parallel simulation of all potential leftmost derivations of the current right sentential form such that the unique rightmost derivation of the input can be computed. Given an arbitrary -grammar , we show how to construct an extended parser of size where is…
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
TopicsAlgorithms and Data Compression · semigroups and automata theory · Natural Language Processing Techniques
