File Information
File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/intro/05/w05-1626_intro.xml
Size: 2,928 bytes
Last Modified: 2025-10-06 14:03:20
<?xml version="1.0" standalone="yes"?> <Paper uid="W05-1626"> <Title>Chart generation using production systems</Title> <Section position="2" start_page="0" end_page="0" type="intro"> <SectionTitle> 1 Introduction </SectionTitle> <Paragraph position="0"> A general question faced by the NLG practitioner is whether to use an off-the-shelf generator or develop one 'from scratch.' Often, understanding the workings of the off-the-shelf generator and providing the required input structures requires substantial work. Furthermore, the off-the-shelf generator may not provide the required functionality without additional programming, the project may dictate the use of a particular programming language or frequent interaction with components written in that language.</Paragraph> <Paragraph position="1"> In this paper, we describe how to implement chart generators in production systems, i.e. from scratch.</Paragraph> <Paragraph position="2"> Production systems have traditionally mainly been used for developing expert systems [Giarratano and Riley, 1993]. The particular production system we use, JESS [Friedman-Hill, 2003] is implemented in Java, making it easy to interact with other Java components. The rule encodings described in this paper should also work for other production systems such as CLIPS (&quot;C Language Integrated Production System&quot;, [Riley, 1999]).</Paragraph> <Paragraph position="3"> We used JESS in two projects centering around the concept of overgeneration-and-ranking. Both involved the generation of a large number of alternative outputs which served as input to a ranker written in Java. Search was directed by influencing the agenda ordering of the chart generator. At the syntactic level, realization in both projects was 'shallow.' However, since we were using expert system technology, we were able to use more sophisticated domain reasoning for content planning more specifically, referring expression generation - to drive the realizer in one of the projects.</Paragraph> <Paragraph position="4"> The two characteristics just described, the ability to deal with issues of search and the integration with reasoning capabilities, make generation using production systems quite different from other methods of shallow generation. For example, pipelines of XSLT stylesheets can be used to transform XML trees encoding linguistic structures [Wilcock, 2001; Moore et al., 2004]. However, the focus in using XSLT for generation is more on pursuing a single alternative than on searching for the best one. Furthermore, rewriting XML trees with XSLT lends itself toward top-down generation, whereas the use of production systems naturally results in bottom-up generation. null In the following section, we relate chart algorithms to production systems at a more abstract level. We then discuss two generators implemented in the production system JESS.</Paragraph> </Section> class="xml-element"></Paper>