Direct parsing of ID/LP grammars
Author(s) -
Stuart M. Shieber
Publication year - 1984
Publication title -
linguistics and philosophy
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.888
H-Index - 51
eISSN - 1573-0549
pISSN - 0165-0157
DOI - 10.1007/bf00630810
Subject(s) - philosophy of language , parsing , rule based machine translation , computer science , natural language processing , programming language , artificial intelligence , s attributed grammar , phrase structure grammar , linguistics , context free grammar , philosophy , metaphysics , epistemology
The Immediate Dominance/Linear Precedence (ID/LP) formalism is a recent extension of Generalized Phrase Structure Grammar (GPSG) (Gazdar and Pullum, 1982; Gazdar and Pullum, 1981) designed to perform some of the tasks previously assigned to metarules - for example, modeling the word-order characteristics of so-called free-word-order languages. (See, e.g., Stucky, 1981; Pullum, 1982; Uszkoreit, 1982.) It allows a simple specification of classes of rules that differ only in constituent order. ID/LP grammars (as well as metarule grammars) have been proposed for use in parsing by expanding them into equivalent context-free grammars (Gazdar and Pullum, 1982; Thompson, 1982). We develop a parsing algorithm, based on the algorithm of Earley, for parsing ID/LP grammars directly, circumventing the initial expansion phase. A proof of correctness of the algorithm is supplied. We also discuss some aspects of the time complexity of the algorithm and some formal properties associated with 1D/LP grammars and their relationship to context-free grammars.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom