File Information
File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/intro/83/p83-1021_intro.xml
Size: 4,615 bytes
Last Modified: 2025-10-06 14:04:21
<?xml version="1.0" standalone="yes"?> <Paper uid="P83-1021"> <Title>PARSING AS DEDUCTION l</Title> <Section position="3" start_page="0" end_page="0" type="intro"> <SectionTitle> 1. Introduction </SectionTitle> <Paragraph position="0"> The aim of this paper is to explore the relationship between parsing and deduction. The basic notion, which goes back to Kowaiski (Kowalski, 1980} and Colmerauer {Colmeraucr, 1978), h'zs seen a very efficient, if limited, realization in tile use of the logic programming language Prolog for parsing {Colmerauer, 1978; Pereira and Warren, 1980). The connection between parsing and deduction was developed further in the design of the Eariey Deduction proof procedure (Warren, 1975), which will also be discussed at length here.</Paragraph> <Paragraph position="1"> Investigation of the connection between parsing and deduction yields several important benefits: * A theoretically clean mechanism to connect parsing with the inference needed for semantic interpretation.</Paragraph> <Paragraph position="2"> llandling of gaps and unbounded dependencies &quot;on the fly&quot; without adding special mechanisms to the parser.</Paragraph> <Paragraph position="3"> :\ reinterprecation and generalization of chart parsing that abstracts from unessential data-structure details.</Paragraph> <Paragraph position="4"> * Techniques that are applicable to parsing in related formalisms not directly based on logic.</Paragraph> <Paragraph position="5"> IThis work wa~ partially supported by the Defense Advanced Research Projects Agency under Contract N00039-80-C-0575 with the Naval Electronic Systems Command. The views and conclusions contained in this article are those of the authors and should not be interpreted as representative of the official policies, either expressed or imp{led, of the Defense Advanced Research Projects Agency or the United Slates Government.</Paragraph> <Paragraph position="6"> * Elucidation of parsing complexity issues for related formalisms, in particular lexieal-functional grammar (LFG).</Paragraph> <Paragraph position="7"> Our study of these topics is still far from complete; therefore, besides offering some initial results, we shall discuss various outstanding questions.</Paragraph> <Paragraph position="8"> The connection between parsing and deduction is based on the axiomatization of context-free grammars in definite clauses, a particularly simple subset of first-order logic (Kowalski, 1080; van Emden and Kowalski, 1976). This axiomatization allows us to identify context-free parsing algorithms with proof procedures for a restricted class of definite clauses, those derived from context-free rules. This identification can then be generalized to inc{ude larger classes of definite clauses to which the same algorithms can be applied, with simple modifications. Those larger classes of definite clauses can be seen as grammar formalisms in which the atomic grammar symbols of context-free grammars have been replaced by complex symbols that are matched by unification (Robinson, 1965; Colmerauer, 1978; Pereir3 and Warren, 1980}. The simplest of these formalisms is definite-clause grammars (DCG) (Pereira and Warren, 1980).</Paragraph> <Paragraph position="9"> There is a close relationship between DCGs ~nd other ~,rammar formalisms based on unification, such as Unification Grammar {UG) (Kay, 1070), LFG, PATR-2 {Shieber. 1083) and the more recent versions of GPSG (Gazdar and Pullum, 1082).</Paragraph> <Paragraph position="10"> The parsing a{gorithms we are concerned with are online algorithms, in the sense that they apply the constraints specified by the augmentation of a rule a~ soon as the rule is applied. In contrast, an olTline parsing algorithm will consist of two phases: a context-free parsing algorithm followed by application of the constraints to all the resulting analyses.</Paragraph> <Paragraph position="11"> The pap('r is organized as follows. Section 2 gives an overview of the concepts of definite clause logic, definite clause grammars, definite clause proof procedures, and chart parsing, Section 3 discusses the connection betwee DCGs and LFG. Section 4 describes the Earley Deduction definite-clause proof procedure. Section 5 then brings out the connection between Earley Deduction and chart parsing, and shows the added generality brought in by the proof procedure approach. Section 6 outlines some oi the problems of implementing Earley Deduction and similar parsing procedure~. Finally, Section 7 discusses questions of computational complexity and decidability.</Paragraph> </Section> class="xml-element"></Paper>