File Information
File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/intro/90/p90-1027_intro.xml
Size: 4,313 bytes
Last Modified: 2025-10-06 14:04:54
<?xml version="1.0" standalone="yes"?> <Paper uid="P90-1027"> <Title>AUTOMATED INVERSION OF LOGIC GRAMMARS FOR GENERATION</Title> <Section position="3" start_page="0" end_page="212" type="intro"> <SectionTitle> INTRODUCTION </SectionTitle> <Paragraph position="0"> The results reported in this paper are part of the ongoing research project to explore possibilities of an automated derivation of both an efficient parser and an efficient generator for natural language, such as English or Japanese, from a formal specification for this language. Thus, given a grammar-like description of a language, specifying both its syntax as well as &quot;semantics&quot; (by which we mean a correspondence of well-formed expressions of natural language to expressions of a formal representation language) we want to obtain, by a fully automatic process, two possibly different programs: a parser and a generator.</Paragraph> <Paragraph position="1"> The parser will translate well-formed expression of the source language into expressions of the language of &quot;semantic&quot; representation, such as regularized operator-argument forms, or formulas in logic. The generator, on the other hand, will accept well-formed expressions of the semantic representation language and produce corresponding expressions in the source natural language.</Paragraph> <Paragraph position="2"> Among the arguments for adopting the bidirectional design in NLP the following are perhaps the most widely shared: * A bidirectional NLP system, or a system whose inverse can be derived by a fully automated process, greatly reduces effort required for the system development, since we need to write only one program or specification instead of two. The actual amount of savings ultimately depends upon the extend to which the NLP system is made bidirectional, for example, how much of the language analysis process can be inverted for generation. At present we reverse just a little more than a syntactic parser, but the method can be applied to more advanced analyzers as well.</Paragraph> <Paragraph position="3"> * Using a single specification (a grammar) underlying both the analysis and the synthesis processes leads to more accurate capturing of the language.</Paragraph> <Paragraph position="4"> Although no NLP grammar is ever complete, the grammars used in parsing tend to be &quot;too loose&quot;, or unsound, in that they would frequently accept various ill-formed strings as legitimate sentences, while the grammars used for generation are usually made &quot;too tight&quot; as a result of limiting their output to the &quot;best&quot; surface forms. A reversible system for both parsing and generation requires a finely balanced grammar which is sound and as complete as possible.</Paragraph> <Paragraph position="5"> * A reversible grammar provides, by design, the match between system's analysis and generation capabilities, which is especially important in interactive systems. A discrepancy in this capacity may mislead the user, who tends to assume that what is generated as output is also acceptable as input, and vice-versa.</Paragraph> <Paragraph position="6"> * Finally, a bidirectional system can be expected to be more robust, easier to maintain and modify, and altogether more perspicuous.</Paragraph> <Paragraph position="7"> In the work reported here we concenlrated on unification-based formalisms, in particular Definite Clause Grammars (Pereira & Warren, 1980), which can be compiled dually into PROLOG parser and generator, where the generator is obtained from the parser's code with the inversion procedure described below. As noted by Dymetman and Isabelle (1988), this transformation must involve rearranging the order of literals on the right-hand side of some clauses. We noted that the design of the string grammar (Sager, 1981) makes it more suitable as a basis of a reversible system than other grammar designs, although other grammars can be &quot;normalized&quot; (Strzalkowski, 1989). We also would like to point out that our main emphasis is on the problem of reversibility rather than generation, the latter involving many problems that we don't deal with here (see, e.g. Derr & McKeown, 1984; McKeown, 1985).</Paragraph> </Section> class="xml-element"></Paper>