Parsing of Context-Free Languages

Parsing is the process of assigning structure to sentences. The structure is obtained from the grammatical description of the language. Both in Computer Science and in Computational Linguistics, context-free grammars and associated parsing algorithms are among the most useful tools. Numerous parsing algorithms have been developed. Special subclasses of the context-free grammars have been introduced in order to allow and induce efficient parsing algorithms. Special superclasses of the context-free grammars have been introduced in order to allow use of variants of efficient parsing methods that had been developed for context-free grammars. At first sight many parsing algorithms seem to be different, but nevertheless related. Some unifying approaches have been attempted in the past, but none survived the changing field. This report introduces a unifying approach at a level between grammars and algorithms, introducing so-called parsing schemata. In the parsing schemata framework the essentials of different parsing algorithms can be compared and it can be shown how to derive an algorithm from another one. The insight that is obtained this way also allows the derivation of new algorithms and it allows less tedious observations about correctness than usual. The framework can also be applied to grammar formalisms beyond the context-free grammars.

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

[2]  Martin Kay,et al.  Parsing in functional unification grammar , 1986 .

[3]  Hozumi Tanaka,et al.  A New Parallel Algorithm for Generalized LR Parsing , 1990, COLING.

[4]  Mark-Jan Nederhof,et al.  Increasing the Applicability of LR Parsing , 1993, IWPT.

[5]  Stuart M. Shieber,et al.  Constraint-based grammar formalisms - parsing and type inference for natural and computer languages , 1992 .

[6]  Stuart M. Shieber,et al.  An Introduction to Unification-Based Approaches to Grammar , 1986, CSLI Lecture Notes.

[7]  J. Rekers,et al.  Parser Generation for Interactive Environments , 1992 .

[8]  Martin Kay,et al.  Algorithm schemata and data structures in syntactic processing , 1986 .

[9]  Bob Carpenter,et al.  The logic of typed feature structures , 1992 .

[10]  Eelco Visser,et al.  Using Filters for the Disambiguation of Context-free Grammars , 1994 .

[11]  Wojciech Rytter On the recognition of context-free languages , 1984, Symposium on Computation Theory.

[12]  Ivan A. Sag,et al.  Book Reviews: Head-driven Phrase Structure Grammar and German in Head-driven Phrase-structure Grammar , 1996, CL.

[13]  Mark Moll,et al.  Parsing in Dialogue Systems Using Typed Feature Structures , 1995, IWPT.

[14]  Masaaki Nagata,et al.  An Empirical Study on Rule Granularity and Unification Interleaving Toward an Efficient Unification-Based Parsing System , 1992, COLING.

[15]  Geoffrey K. Pullum,et al.  Generalized Phrase Structure Grammar , 1985 .

[16]  Anton Nijholt (Generalized) LR parsing: From Knuth to Tomita , 1991 .

[17]  Klaas Sikkel,et al.  A Parallel Bottom-up Tomita Parser , 1992, KONVENS.

[18]  Hiroaki Numazaki,et al.  Parallel Generalized LR Parsing based on Logic Programming , 1989, IWPT.

[19]  Frank Morawietz A Unification-Based ID/LP Parsing Schema , 1995, IWPT.

[20]  Mark-Jan Nederhof,et al.  Generalized Left-Corner Parsing , 1993, EACL.

[21]  Mark Moll,et al.  Head-Corner Parsing using Typed Feature Structures , 1999 .

[22]  Daniel J. Rosenkrantz,et al.  Deterministic Left Corner Parsing (Extended Abstract) , 1970, SWAT.

[23]  M. G. Wallace,et al.  Language as a cognitive process, vol I: Syntax, Terry Winograd, Addison‐Wesley, 1983. No. of pages: 640. ISBN 0 201 08571 2 , 1983 .

[24]  Anton Nijholt Deterministic top-down and bottom-up parsing: historical notes and bibliographies , 1983 .

[25]  Ronald M. Kaplan,et al.  The Interface between Phrasal and Functional Constraints , 1993, CL.

[26]  David J. Weir,et al.  The convergence of mildly context-sensitive grammar formalisms , 1990 .

[27]  Walter L. Ruzzo,et al.  An Improved Context-Free Recognizer , 1980, ACM Trans. Program. Lang. Syst..

[28]  Hans de Vreught,et al.  Slow and Fast Parallel Recognition , 1991, IWPT.

[29]  Antinus Nijholt,et al.  Parallel approaches to context-free language parsing , 1994 .

[30]  Wojciech Rytter,et al.  Efficient parallel algorithms , 1988 .

[31]  Alfred V. Aho,et al.  Compilers: Principles, Techniques, and Tools , 1986, Addison-Wesley series in computer science / World student series edition.

[32]  F. L. Deremer,et al.  Practical translators for LR(k) languages , 1969 .

[33]  Ivan A. Sag,et al.  Information-based syntax and semantics , 1987 .

[34]  Klaas Sikkel,et al.  Predictive Head-Corner Chart Parsing , 1993, IWPT.

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

[36]  Sergei Nirenburg,et al.  Review of Language as a cognitive process: volume 1 syntax by T. Winograd. Addison-Wesley 1983. , 1983 .

[37]  David H. D. Warren,et al.  Definite Clause Grammars for Language Analysis - A Survey of the Formalism and a Comparison with Augmented Transition Networks , 1980, Artif. Intell..

[38]  Giorgio Satta,et al.  Head-Driven Bidirectional Parsing: A Tabular Method , 1989, IWPT.

[39]  Eelco Visser,et al.  A Case Study in Optimizing Parsing Schemata by Disambiguation Filters , 1997, IWPT.

[40]  Daniel H. Younger,et al.  Recognition and Parsing of Context-Free Languages in Time n^3 , 1967, Inf. Control..

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

[42]  Donald E. Knuth,et al.  On the Translation of Languages from Left to Right , 1965, Inf. Control..

[43]  Masaru Tomita,et al.  Efficient parsing for natural language , 1985 .

[44]  Klaas Sikkel Parallel On-Line Parsing in Constant Time per Word , 1993, Theor. Comput. Sci..

[45]  Terry Winograd,et al.  Language as a Cognitive Process , 1983, CL.

[46]  Gertjan van Noord,et al.  Head-driven Parsing for Lexicalist Grammars: Experimental Results , 1993, EACL.

[47]  Martin Kay,et al.  Head-Driven Parsing , 1989, IWPT.

[48]  Franklin L. DeRemer,et al.  Simple LR(k) grammars , 1971, Commun. ACM.

[49]  Jay Earley,et al.  An efficient context-free parsing algorithm , 1970, Commun. ACM.

[50]  Michael Dixon,et al.  Compose-Reduce Parsing , 1991, ACL.