We propose an algebraic method for the design of tabular parsing algorithms which uses parsing schemata [7] . The parsing strategy is expressed in a tree algebra. A parsing schema is derived from the tree algebra by means of algebraic operations such as homomorphic images, direct products, subalgebras and quotient algebras. The latter yields a tabular interpretation of the parsing strategy. The proposed method allows simpler and more elegant correctness proofs by using general theorems and is not limited to left-right parsing strategies, unlike current automaton-based approaches. Furthermore, it allows to derive parsing schemata for linear indexed grammars (LIG) from parsing schemata for context-free grammars by means of a correctness preserving algebraic transformation. A new bottom-up head corner parsing schema for LIG is constructed to demonstrate the method.
[1]
Gerald Gazdar,et al.
Applicability of Indexed Grammars to Natural Languages
,
1988
.
[2]
Desmond Fearnley-Sander,et al.
Universal Algebra
,
1982
.
[3]
Miguel A. Alonso,et al.
Tabulation of Automata for Tree-Adjoining Languages
,
2000,
Grammars.
[4]
David J. Weir,et al.
Parsing Some Constrained Grammar Formalisms
,
1993,
Comput. Linguistics.
[5]
Klaas Sikkel,et al.
Parsing Schemata and Correctness of Parsing Algorithms
,
1998,
Theor. Comput. Sci..
[6]
David J. Weir,et al.
Polynomial Parsing of Extensions of Context-Free Grammars
,
1991
.