Generalized Predictive Shift-Reduce Parsing for Hyperedge Replacement Graph Grammars

8Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Parsing for graph grammars based on hyperedge replacement (HR) is in general NP-hard, even for a particular grammar. The recently developed predictive shift-reduce (PSR) parsing is efficient, but restricted to a subclass of unambiguous HR grammars. We have implemented a generalized PSR parsing algorithm that applies to all HR grammars, and pursues severals parses in parallel whenever decision conflicts occur. We compare GPSR parsers with the Cocke-Younger-Kasami parser and show that a GPSR parser, despite its exponential worst-case complexity, can be much faster.

Cite

CITATION STYLE

APA

Hoffmann, B., & Minas, M. (2019). Generalized Predictive Shift-Reduce Parsing for Hyperedge Replacement Graph Grammars. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 11417 LNCS, pp. 233–245). Springer Verlag. https://doi.org/10.1007/978-3-030-13435-8_17

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free