Tabular parsing and algebraic transformations

Tabular parsing is described by means of two homomorphic algebras. In this setting, the parsing problem is described as the computation of the inverse image of an input string with respect to the homomorphism. Tabulation is obtained by constructing a quotient of the first algebra and using a finite subalgebra of the second algebra. The valid parse items are the elements generated by the variable-free terms in the product of these two algebras. This yields an algebraic construction method for tabular algorithms. We demonstrate the method by constructing a tabular bottom-up head-corner algorithm for context-free grammars. We then use the algebraic description of this algorithm to construct a tabular algorithm for linear indexed grammars, using a correctness-preserving algebraic transformation. This transformation is a formalization of the idea of an efficient representation of the unbounded LIG stacks that is stated only informally in previous constructions of LIG algorithms. The main feature of this method is the modularity of the construction, by allowing simpler tabular algorithms to be reused for the construction of more complex ones.

[1]  Martin Kay,et al.  Guides and Oracles for Linear-Time Parsing , 2000, IWPT.

[2]  Bernard Lang,et al.  RECOGNITION CAN BE HARDER THAN PARSING , 1994, Comput. Intell..

[3]  Mark-Jan Nederhof,et al.  Linguistic parsing and program transformations , 1994 .

[4]  Stuart M. Shieber,et al.  Principles and Implementation of Deductive Parsing , 1994, J. Log. Program..

[5]  David H. D. Warren,et al.  Parsing as Deduction , 1983, ACL.

[6]  Klaas Sikkel,et al.  Parsing Schemata and Correctness of Parsing Algorithms , 1998, Theor. Comput. Sci..

[7]  David J. Weir,et al.  Polynomial Parsing of Extensions of Context-Free Grammars , 1991 .

[8]  David J. Weir,et al.  The equivalence of four extensions of context-free grammars , 1994, Mathematical systems theory.

[9]  Schmidt Jürgen A homomorphism theorem for partial algebras , 1970 .

[10]  Klaas Sikkel,et al.  Parsing Schemata , 1997, Texts in Theoretical Computer Science An EATCS Series.

[11]  Gerald Gazdar,et al.  Applicability of Indexed Grammars to Natural Languages , 1988 .

[12]  A characterization of strong homomorphisms , 1973 .

[13]  U. Montanari,et al.  On the Foundations of Dynamic Programming , 1975 .

[14]  Miguel A. Alonso,et al.  Tabulation of Automata for Tree-Adjoining Languages , 2000, Grammars.

[15]  Uwe Reyle,et al.  Natural Language Parsing and Linguistic Theories , 1988 .

[16]  Dan Gusfield Algorithms on Strings, Trees, and Sequences - Computer Science and Computational Biology , 1997 .

[17]  Aravind K. Joshi,et al.  Tree-Adjoining Grammars , 1997, Handbook of Formal Languages.

[18]  David J. Weir,et al.  Parsing Some Constrained Grammar Formalisms , 1993, Comput. Linguistics.

[19]  Stuart M. Shieber,et al.  Evidence against the context-freeness of natural language , 1985 .

[20]  김동규,et al.  [서평]「Algorithms on Strings, Trees, and Sequences」 , 2000 .

[21]  Masaru Tomita Current Issues in Parsing Technology , 1990 .

[22]  George Gratzer,et al.  Universal Algebra , 1979 .