<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1"/><title>Document Structure</title><pubinfo>(c 2003 Association for Computational Linguistics</pubinfo><author surname="Power" givenname="Richard"><org  name="University of Brighton" country="United Kingdom" city="Brighton"/></author><author surname="Scott" givenname="Donia"><org  name="University of Brighton" country="United Kingdom" city="Brighton"/></author><author surname="Bouayad-Agha" givenname="Nadjet"><org  name="University of Brighton" country="United Kingdom" city="Brighton"/></author></firstpageheader><frontmatter><p><b>Document Structure</b></p><p>Richard Power*University of Brighton</p><p>Donia Scott*</p><p>University of Brighton</p><p>Nadjet Bouayad-Agha<footnote anchor="1"/>"</p><p>University Pompeu Fabra</p></frontmatter><abstract><i>We argue the case for </i>abstract document structure <i>as a separate descriptive level in the anal­ysis and generation of written texts. The purpose of this representation is to mediate between the message of a text (i.e., its discourse structure) and its physical presentation (i.e., its organization into graphical constituents like sections, paragraphs, sentences, bulleted lists, figures, and foot­notes). Abstract document structure can be seen as an extension ofNunberg's "text-grammar"; it is also closely related to "logical" markup in languages like HTML and </i>LTgX. <i>We show that by using this intermediate representation, several subtasks in language generation and language understanding can be defined more cleanly.</i> </abstract></header><body><section number="1." title="Introduction"><p>When language is written, it appears as a collection of words set out on one or more (actual or virtual) pages. In fact, much of what we tend to call "text" has a strong graphical component (Schriver 1997; Scott and Power 2001). Not only are the words often accompanied by conventional graphics such as pictures or diagrams, but they themselves form graphical elements such as titles, headings, chapters, sections, cap­tions, paragraphs, and bulleted lists.</p><p>The overlay of graphics on text is in many ways equivalent to the overlay of prosody on speech. Just as all speech has prosody (even if it is a monotone), so too do all texts have layout (even if it is simple wrapped format, in a single face and font, and makes rudimentary use of white space). And just as prosody undoubtedly contributes to the meaning of utterances, so too does a text's graphical presentation contribute to its meaning. However, although there is a long tradition and rich linguistic framework for describing and representing speech prosody (e.g., Halliday 1967; Chomsky and Halle 1968; Crystal 1969; Bolinger 1972; Pierrehumbert 1980; 't Hart, Collier, and Cohen 1990; Iadd 1996), the same is not true for text layout. Perhaps not surprisingly, therefore, few natural language understanding (NIU) systems use graphical presentational features to aid interpretation, and few natural language generation (NLG) systems attempt to render the output texts in a principled way.</p><p>Of course, since all texts have a graphical dimension, all NLG systems will, by definition, produce laid-out texts. In all but a few recent cases (the ICONOCLAST sys­tem (Power 2000; Bouayad-Agha, Power, and Scott 2000; Bouayad-Agha, Scott, and Power 2001; Bouayad-Agha 2001) and the DArtbio system (Bateman et al. 2001)), this is achieved by mapping directly from the underlying discourse structure (Arens and</p><p><i>* </i>Information Technology Research Institute, University of Brighton, Lewes Road, Brighton BN2 4GJ,</p><p>UK. Email: {firstname.lastname}@itri.bton.ac.uk. <i>f </i>Departament de Tecnologia, University Pompeu Fabra, Barcelona, Spain. Email: Nadjet.Bouayad@ tecm.upf.es.</p><page local="2" global="212"/><p>Hovy 1990; DiMarco et al. 1995; Paris et al. 1995; Power and Cavallotto 1996; Lavoie and Rambow 1997; Mittal et al. 1998). In other cases, the text is mapped onto pre­determined genre-specific layout patterns—for example, for verbalizing mathematical proofs (Huang and Fiedler 1997) or producing letters for customers (Coch 1996). If we take, as most do, the level of discourse structure as representative of the underlying <i>message </i>of a text, such systems are subject to a fundamental limitation. Simply put, for each message there will be but one possible form of presentation.</p><p>As an illustration let us briefly consider the well-known consensus architecture for NLG systems proposed by Reiter (1994). This architecture, based on a survey of NLG systems from the 1980s and early 1990s, takes the form of a "pipeline" in which five modules are applied in sequence: content determination, sentence planning, surface generation, morphology, and formatting. Sentence planning maps "conceptual structures into linguistic ones ... grouping information into clauses and sentences" (Reiter 1994, page 164), but formatting (specified, for example, by LTgX markup) occurs only in the final formatting stage. In consequence, the organization of material into paragraphs, bulleted lists, etc., is considered only after the wording has been fixed.</p><p>Graphical presentation, however, clearly interacts with wording. For example, the section of a message that, at the level of discourse, is composed of a list relation, will be expressed differently depending on whether, at the presentational level, it is mapped onto a vertical or horizontal list. Consider a simple example like the following, taken from a patient information leaflet (PIL):</p><doubt alpha="65.9" length="44" tooSmall="False" monospace="0.0">(1)     Are you taking any of the following:</doubt><p>• Anticoagulants?</p><p>• Lithium?</p><p>• Methotrexate?</p><p>• Any other medicines which your doctor does not know about?</p><p>(Voltarol leaflet, Geigy; from APBI 1997)</p><p>If the very same content were presented instead as a horizontal list, we would expect to get something like:</p><p>(2)      Are you taking anticoagulants, lithium, methotrexate, or any other medicines which your doctor does not know about?</p><p>Now all the information is packed into one sentence, with some missing and addi­tional words, wildly different punctuation, and less generous use of upper-case letters.<footnote anchor="1"/>Mapping directly from discourse structure to graphical presentation during generation therefore limits not only the choice of possible layout, but also the choice of possible wording.</p><p>There have been some recent attempts to develop NLG systems that generate <i>doc­uments </i>rather than just <i>texts. </i>Instead of producing <i>text plans, </i>they produce <i>document plans. </i>Typically these are the text plans of old (i.e., structures of ordered content ele­ments represented in terms of rhetorical structure theory (Mann and Thompson 1986, 1987)), but extended to include pictures or diagrams as content elements, and with additional annotations for metalevel elements such as paragraph or sentence bound­aries. Figure 1 shows the type of document plan proposed by Reiter and Dale (2000).</p><p>1 Indeed, it appears to be the case that the more graphical the presentation is, the greater the difference in wording is likely to be over the unmarked case of plain text (Bouayad-Agha, Scott, and Power 2000).</p><page local="3" global="213"/><p><b>Weather Summary for July 1996</b></p><p>The month was slightly warmer than average with almost exactly the average rainfall, but rainfall for the year is still very depleted. Heavy rain fell on the 27th and 28th.</p><p>DPDocument</p><p>Title = "Weather Summary for July 1996" Relation = Sequence</p><p>Document Plan</p><p>Relation = NarrativeSequence</p><p>MonthlyTemperatureMsg</p><p>RainEventMsg</p><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">[27th]</doubt><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">[28th]</doubt><p>Satellite</p><p>MonthlyRainfallMsg TotalRainSoFarMsg</p><p><b>Figure 1</b></p><p>A document plan and associated text (Reiter and Dale 2000).</p><p>Although this approach allows for a more reasoned presentational format, by conflat­ing discourse and presentational features into one structure, the possible generated expressions of any given message are once again strongly limited relative to the set of all possible <i>valid </i>expressions.</p><p>We wish to argue the case for a separate descriptive level in the analysis and gen­eration of written texts, which we will call <b>document structure. </b>Informally, document structure describes the organization of a document into graphical constituents like sections, paragraphs, sentences, bulleted lists, and figures; it also covers some features within sentences, including quotation and emphasis. Although document structure applies equally to NLU and NLG, we will focus our attention here on its role in the generation of appropriate presentations (both wording and layout) of texts. As we will try to show, texts (unless they are fairly simple) cannot be produced to a satisfactory standard unless document structure is specified earlier in the process than suggested in previous works (e.g., Reiter 1994; Reiter and Dale 2000), so that interactions with meaning and wording are taken into account.</p><p>The plan of the article is as follows. In section 2 we explain more fully what we mean by <i>document structure, </i>acknowledging its origins in Nunberg's (1990) work and text markup languages such as LTgX and HTML. Section 3 discusses the relationship of document structure to rhetorical organization and syntax. Section 4 presents the formal theory of document structure, and Section 5 shows how it is applied in the ICONOCLAST system. Finally, Section 6 summarizes the argument and discusses some other approaches to the representation and generation of layout.</p><page local="4" global="214"/></section><section number="2." title="Defining Document Structure 2.1 Nunberg's Text Grammar"><p>Our point of departure has been the theory of text structure proposed by Nunberg (1990) in <i>The Linguistics of Punctuation. </i>This book introduces two crucial clarifications. First, it distinguishes <b>text structure,<footnote anchor="2"/> </b>which is realized by punctuation and layout, from <b>syntactic structure. </b>Second, it distinguishes <b>abstract </b>features of text structure from the <b>concrete </b>(or graphical) features through which they are expressed.</p><p>The distinction between text structure and syntax can best be explained by consid­ering two interpretations of the word <i>sentence. </i>In linguistics, <i>sentence </i>is used mainly as a syntactic category, defined by phrase structure rules such as <i>S — NP + VP. </i>However, a sentence can also be viewed orthographically as a portion of text starting with a capital letter and ending in a period; to distinguish this from the syntactic category, Nunberg calls it a <b>text-sentence. </b>Sometimes the two categories of sentence coincide, but often they do not. Thus in the following passage:</p><p>(3) He entered the office. Disaster. The safe was open and the money had gone.</p><p>the first text-sentence is also a syntactic sentence, but the second is merely a noun, and the third comprises two syntactic sentences (or three, if we count the whole as well as its parts). Nunberg argues that if we have two kinds of category, then we need <i>two kinds of grammar: </i>he calls them the <b>lexical grammar </b>(we prefer <b>syntactic gram­mar) </b>and the <b>text-grammar. </b>In addition to text-sentence, the text-categories include <b>text-clause, paragraph, </b>and <b>section, </b>and the text-grammar allows us to formulate con­stituent structure rules such as meaning that a text-sentence comprises one or more text-clauses.</p><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">St— Ct+</doubt><p>In introducing the concepts <i>text-sentence, text-clause, </i>etc., it is convenient to explain them in terms of their realization in punctuation and layout: thus a text-sentence starts with a capital letter and ends in a period; a text-clause ends in a semicolon; a paragraph begins on a new line with a tab. However, this is not strictly correct. In Nunberg's theory, these concepts represent <i>abstract </i>structural properties of the text that may be realized differently according to context or convention. In the case of <i>paragraph </i>this distinction is obvious, since we are all familiar with several devices for expressing paragraph boundaries: instead of a new line with a tab, for example, an editor might prefer two new lines (or some other vertical space) with no tab. However, the abstract/concrete distinction also applies to the other text-categories. For example, the passage:</p><p>(4) The safe was open; the money had gone.</p><p>contains two text-clauses, but the second has no semicolon because its ending coincides with the closure of a larger unit, a text-sentence, which is marked by a period. Similarly, the stop at the end of a text-sentence is often dropped when the sentence is an item</p><p>2 This should not be confused with the use of this term within the NLG literature to refer to the discourse structure of a text.</p><page local="5" global="215"/><p>in a vertical list, for instance, in a sequence of instructions:</p><doubt alpha="50.0" length="26" tooSmall="False" monospace="0.0">(5)      To save the file:</doubt></section><section number="1." title="Open the Save dialogue-box"></section><section number="2." title="Enter the filename"></section><section number="3." title="Click on the Save button"><p>Thus text structure is <i>realized </i>by punctuation (and layout), but the two are not equiv­alent.</p><subsection number="2.2" title="Markup Languages"><p>Nunberg's notion of text structure, or our wider notion of document structure, has an obvious connection to the markup languages (e.g., LTeX, SGML) now in common use as a method for specifying layout in an ASCII source file. The common philosophy of these languages is that markup should abstract from the visual appearance of the document, using concepts like <i>paragraph </i>that might be realized graphically in different ways, depending on a separate style definition.</p><p>This approach has several advantages, of which the most obvious is flexibility. An exact specification of the desired spatial layout can yield only one printed form of the document; by employing abstract categories, definitions using LTeX or SGML can produce a range of printed forms, depending on which style file is used. Less obviously, the markup language can be tailored to the genre of the document, so that, for example, a poem may have a constituent marked <i>stanza, </i>whereas a letter may have one marked <i>address.</i></p><p>In practice, this separation of abstract structure from visual realization is not car­ried through consistently; for reasons of convenience, authors sometimes prefer to have direct control over appearance. Thus LTeX, for example, allows both the abstract tag <b>em, </b>meaning <i>emphasis, </i>and the visual tag <b>it, </b>meaning <i>italic face. </i>Vertical separation is usually achieved through abstract tags like <b>section </b>and <b>itemize </b>but may also be imposed directly using <b>vspace. </b>All these devices have counterparts in HTML: thus a typical reference guide to HTML (Ford and Dixon 1996) explicitly distinguishes "logical" tags such as <b>&lt;EM&gt; </b>from "visual" tags such as <b>&lt;I&gt;.</b></p><p>More subtly, the markup languages in common use do not attempt to cover struc­tural units that are realized through <i>punctuation </i>rather than layout. Paragraphs may be marked (albeit implicitly in LTeX), but lower units such as text-sentence and text-clause are not. No doubt there are good practical reasons for this approach, but some opportunities for stylistic variation are thereby lost. Consider, for example, the simple case of reported speech in example (6a). If this were marked up as a sentence contain­ing a quotation, it could be punctuated differently, with the period outside the closing quotation mark (6b), perhaps, or using double quote (6c), or even using a dash with no quotation marks at all (6d) (as in James Joyce's <i>Ulysses):</i></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>(a) She said 'Come up and see me sometime.' (b) She said 'Come up and see me sometime'.</p><p>(c) She said "Come up and see me sometime." (d) She said—Come up and see me sometime.</p><p>Thus although markup languages provide some guidance toward a formal treat­ment of document structure, they often deviate, for practical reasons, from the philo­sophical ideal of separating abstract structure from visual presentation. On the one hand, some tags (e.g., italic face) are clearly visual and should not be included in abstract document structure at all.<page local="6" global="216"/> On the other hand, some abstract categories (e.g., text-sentence, quoted speech) are omitted from the tag set and thus cannot be realized in a range of different graphical styles.</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">21S</doubt><p>Despite these compromises, markup languages are based on a key insight that is highly relevant to natural language analysis and generation: <i>layout can be matched to wording through the mediation of abstract document structure. </i>Consider the following three versions of a passage adapted from a patient information leaflet:</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>(a) <b>Elixir </b>is a white cream.</p><p>It is used in the treatment of cold sores.</p><p>It contains aliprosan. This is effective against a range of viral skin disorders. It should be used only on your lips and face.</p><p>(b) <b>Elixir </b>is a white cream.</p><p>(c) <b>Elixir </b>is a white cream. It is used in the treatment of cold sores. It contains aliprosan. This is effective against a range of viral skin disorders. N.B. <b>Elixir </b>should be used only on your lips and face.</p><p>Suppose that example (7a) has been produced by author <i>A, </i>a novice in document design, and passed to a more experienced designer <i>B </i>for revision. The passage looks odd because it has four very short paragraphs, but short paragraphs are common in this genre, and <i>B </i>decides that the ugly appearance can be corrected simply by realizing paragraphs through a vertical space with no tab. In addition, <i>B </i>notices that boldface has been used for two different purposes: highlighting the product name and emphasizing <i>only; </i>this ambiguity is removed by changing emphatic boldface to small caps. Both these revisions, shown in version (7b), concern realization rather than abstract structure, and consequently they do not affect the validity of the wording.</p><p>For final checking the passage is then passed to a senior expert C, whose prefer­ences are more traditional: in particular, <i>C </i>dislikes short paragraphs and variations in typeface. Glaring at the waste of space in version (7b), <i>C </i>takes out the paragraph boundaries and removes the emphasis on <i>only. </i>These are not merely changes in graph­ical realization: they also affect the abstract document structure. In general, <i>such changes endanger the validity of the wording. </i>Reading through the new version, <i>C </i>notices that the pronoun <i>it </i>in the final sentence now seems to refer to aliprosan, not Elixir, so it has to be replaced by the product name. To reinstate the emphasis in this sentence, <i>C </i>also inserts the expression <i>N.B. </i>These changes lead to version (7c).</p><p>In summary, abstract document structure interacts with wording, whereas visual realization does not. This principle explains why abstract markup is useful; it also shows where the boundary should be drawn. By applying this principle, we might discover that a category previously treated as visual should be reclassified as abstract. If, for example, the change in the realization of paragraph boundaries in examples like version (7b) required a rewording of the text, we would have to extend our set of abstract document categories so that there were two types of paragraph instead of one.</p><page local="7" global="217"/><p><b>3. Document Structure and Rhetorical Structure 3.1 Form and Meaning</b></p><p>Logically there are four possible relationships between document structure (DS) and rhetorical structure (RS): either DS is part of RS, or RS is part of DS, or they partially overlap, or they are distinct from one another. Our view is that they should be distinct, just as syntax is distinct from semantics. Document structure, like syntax, describes the form of a (mainly) linguistic product. Rhetorical structure, like semantics, describes meaning, interpreting <i>meaning </i>in a broad sense that includes pragmatic features.</p><p>As an example, suppose that <i>approve(fda, elixir) </i>is a semantic formula meaning that the Food and Drug Administration (FDA) approves the medicine Elixir. This semantic formula can be <i>realized </i>(in English) through a range of syntactic forms, including which would yield 'the FDA approves Elixir'; alternative syntactic forms could be obtained by replacing descriptions with pronouns, or by putting the whole sentence into the passive (e.g., 'it is approved by the FDA'). Now, suppose that we add a second semantic formula <i>contain(elixir, gestodene), </i>and suppose that the author knows that gestodene is a controversial ingredient. On this basis, a rhetorical relation of concession might be applied to the two formulas:</p><doubt alpha="66.7" length="48" tooSmall="False" monospace="0.0">[s [np [detthe][nFDA]][vp[vapproves][npElixir]]]</doubt><p><i>concession(contain(elixir, gestodone), approve(fda, elixir))</i> where the second argument of concession is the central one and is supported by the first argument.<footnote anchor="3"/> To realize this more complex message, we may need a linguistic form that cannot be described only by a syntactic phrase marker. In other words, we need to consider document structure as well as syntax. Ignoring possibilities for variations in the wording of the constituent propositions and assuming that concession may be marked with the discourse connectives <i>although </i>and <i>however, </i>we can choose among the following realizations of the whole message:</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>(a) Although Elixir contains gestodene, it is approved by the FDA.</p><p>(b) The FDA approves Elixir although it contains gestodene.</p><p>(c) Elixir contains gestodene; however, it is approved by the FDA.</p><p>(d) Elixir contains gestodene. However, it is approved by the FDA.</p><p>(e) Elixir contains gestodene. However, it is approved by the FDA.</p><p>In versions (8a) and (8b), the rhetorical relationship is realized within a single syntactic sentence, although before adding punctuation we need to know that this syntactic sentence is also a text-sentence. In versions (8c)-(8e), the arguments of the concession relation are expressed in separate syntactic sentences, so that the rela­tionship is realized through document structure as well as syntax. In each case, the</p><p>3 These are termed <i>nucleus </i>and <i>satellite </i>in RST (Mann and Thompson 1987).</p><page local="8" global="218"/><p>units realizing the arguments are coordinated in document structure, satellite precedes nucleus, and the discourse connective <i>however </i>is placed within the nucleus.</p><p>Our claim, then, is that document structure combines with syntax in the real­ization of the meaning of a document, and that rhetorical structure should be re­garded as part of meaning, not part of document structure. However, as we will now show, this principle of clear separation of meaning and form has not always been observed.</p></subsection><subsection number="3.2" title="Rhetorical Structure Theory"><p>Rhetorical structure theory (Mann and Thompson 1986, 1987) was developed as a method of analyzing the rhetorical organization of texts. Formally, the theory is re­markably simple. It proposes that a text can be analyzed, by rhetorical function, into a set of nested spans, each span being represented by a node on an ordered tree. Each nonterminal node on this tree is labeled with a single term describing the relationship that holds among its constituents. These constituents may have equal importance, in which case the relation is said to be <b>multinuclear, </b>or one may be rhetorically subor­dinated to the other, in which case they are said to fulfill the roles of <b>satellite </b>and <b>nucleus. </b>Although this scheme is obviously intended as a first approximation, it has been widely adopted, not only by literary analysts, but also by computational linguists, especially in the NLG community.</p><p>One aspect of RST, perhaps more presentational than substantial, has led, in our view, to confusion: both in the text of their article and the accompanying diagrams, Mann and Thompson seem to assert that rhetorical relations hold between spans of text, rather than between the meanings of these texts. In other words, they treat rhetor­ical structure as part of document structure. Mann and Thompson assert this explicitly (1987, page 4):</p><p>Relations are defined to hold between two non-overlapping text spans, here called the <i>nucleus </i>and the <i>satellite, </i>denoted by N and S.</p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">where</doubt><p>A <i>text span </i>is an uninterrupted linear sequence of text.</p><p>However, it is unclear whether their claim is intentional or simply the result of an informal style of presentation.</p><p>Would it make any sense to treat rhetorical relations as holding literally between text spans? For clearly pragmatic relations, such as restatement, this seems a possible position. A text span, after all, is an instrument of the writer, so it makes sense to make a statement about the function that the instrument is supposed to serve. For clearly semantic relations, such as nonvolitional-caijse, the position is harder to maintain. In a text like 'Mary was sad because she lost her doll', the causal relation plainly holds between two events, not between two spans of text.</p><p>Leaving aside intuitive plausibility, the crucial question, we think, is whether the argument in a document can be formalized without reference to the particular text spans through which it is realized. Could the same argument be realized by two English texts with a different structure, or by an English text and a French text? Could someone forget a text but remember its argument? If so, it must be possible to treat relations like concession and nonvolitional-cajjse as holding between ideas rather than units of text. Rather than creating two kinds of rhetorical relation, it seems more parsimonious to treat the relation between ideas as primary, so that the argument of<page local="9" global="219"/></p><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">(8b)</doubt><p>nucleus satellite</p><p><u>I </u><u>The FDA approves Elixir |    | although it contains gestodene. |</u></p><p><b><i>concession</i></b></p><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">(8c)</doubt><p><u>| Elixir contains gestodene; |     | however, it is approved by the FDA.</u></p><p><b>Figure 2</b></p><p>RST analysis.</p><p>a document can be planned before the writer (or NLG system) has considered issues of wording or linear order.<footnote anchor="4"/></p><p>To illustrate this point, let us go back to example (8). Suppose that we want to show that versions (8b) and (8c) express the same argument.</p><p>(8b)     The FDA approves Elixir although it contains gestodene.</p><p>(8c)     Elixir contains gestodene; however, it is approved by the FDA.</p><p>Figure 2 shows RST annotations for these texts, on the assumption that rhetorical relations hold between text spans; note, incidentally, that since related spans must be consecutive, the discourse connectives <i>although </i>and <i>however </i>have to be included somewhat arbitrarily in one span or the other. These annotations fail to bring out that the two texts express the same argument, since at a textual level the spans in (8b) and (8c) are simply different, both in wording and position.</p><p>In Figure 3, instead, different document structures are specified for versions (8b) and (8c) and linked to a common rhetorical structure; the dotted arrows express the relation <i>realizes, </i>so that, for example, each text-sentence realizes the whole rhetori­cal structure governed by the concession relation. Note that rhetorical structures are always unordered, whereas document structures are ordered trees. Thus the two un­ordered propositions in the rhetorical structure of Figure 3 are realized in different orders in the two document structures.</p><p>This distinction between rhetorical structure and document structure accounts for some of the difficulties encountered when RST is applied as an analytic tool. The core of the problem is that when faced with a text to analyze, the analyst applies the principles of RST analysis to the text itself rather than to the message underlying the text. What the analyst really needs to do is, in some way, to "get behind the text" to its constituent propositions and the rhetorical relations that hold between them (Scott and Paris 1995). But instead, by applying relations to text-spans, he or she is heavily constrained by the evident document structure of the text, and the result is a rhetorical structure that is isomorphic to the document structure. However, as we have</p><p>4 This proposal was first made by Scott and Souza (1990).</p><page local="10" global="220"/><doubt alpha="92.3" length="13" tooSmall="True" monospace="0.0">TEXT-SENTENCE</doubt><doubt alpha="64.5" length="31" tooSmall="True" monospace="0.0">TEXT-PHRASE ________TEXT-PHRASE</doubt><p><u>I </u><u>Elixir is approved by the FDA</u> <u>I </u><u>although"]</u> <u>it contains gestodene</u> nuclEus saTellite <u>I </u><u>Iiowever~|</u> <u>it is approved by the FDA |</u></p><doubt alpha="87.0" length="23" tooSmall="True" monospace="0.0">TEXT-PHRASE TEXT-PHRASE</doubt><doubt alpha="78.3" length="23" tooSmall="True" monospace="0.0">DOCUMENT STRUCTURE (8b)</doubt><doubt alpha="73.6" length="53" tooSmall="True" monospace="0.0">i»approve(fda, elixir)     contain(elixir, gestodene)</doubt><doubt alpha="95.0" length="20" tooSmall="True" monospace="0.0">RHETORICAL STRUCTURE</doubt><doubt alpha="78.3" length="23" tooSmall="True" monospace="0.0">DOCUMENT STRUCTURE (8c)</doubt><p><b>Figure 3</b></p><p>Document structure realizes rhetorical structure.</p><p>seen from the above example, the underlying rhetorical structure is not necessarily isomorphic to the document structure;<footnote anchor="5"/> this means that the analysis obtained in this way is not necessarily an accurate representation of the <i>actual </i>discourse structure of the text. Consider, for example, the following excerpt from a patient information leaflet:</p><p>(9)      IF you find your condition gets worse during treatment^ you may be allergic to the creamo or have a skin infections.</p><p>STOP USING THE CREAMB AND TELL YOUR DOCTOR AS SOON AS POSSIBLEc</p><p>(Betnovate leaflet, Glaxo; from APBI 1997)</p><p>Careful reading of the text, combined with world knowledge, suggests that the following logical condition holds between the propositional content of <i>A </i>and the pair <i>B </i>and C:</p><p><b>IF </b><b>&lt;condition of patient worsens during treatment&gt; </b><b>THEN </b><b>&lt;patient must stop taking cream&gt; AND &lt;patient must tell patient's doctor&gt; </b><b>ENDIF</b></p><p>In other words, the rhetorical relation of condition holds between <i>A </i>as satellite and the complex of <i>B </i>and <i>C </i>(joined by a list relation) as nucleus. We learn additionally that the reason why the patient must carry out the imperative actions of <i>B </i>and <i>c </i>is that he or she may be either allergic to the cream <i>(o) </i>or have a skin infection <i>(s). </i>In other words, there is a causal relation between the complex of <i>B </i>and <i>C </i>(the effect) and complex of <i>o </i>and <i>s </i>(the cause). Representing all this in RST would yield the structure in Figure 4.</p><p>Most people would probably agree that what is depicted in the RST structure shown in Figure 4 captures the intended meaning of the text in the example, and that the text itself is of reasonable quality. However, a traditional RST analysis (i.e., of the text itself, as opposed to its underlying meaning) would not be able to produce the structure shown here. To explicate, let us go through what the typical RST analyst would do with this text.</p><p>The analyst would probably start by segmenting the text into elementary "text spans" (i.e., clauses); this would lead to the same assignment of A-E given above. The next step would focus on the first sentence: the discourse marker <i>if </i>clearly suggests the condition relation; similarly, the marker <i>or </i>suggests the alternative relation. So far so good. However, the next step would be to find a relation that holds among</p><p>5 This is discussed in more detail in Bouayad-Agha, Power, and Scott (2000) and Bouayad-Agha (2001) and in section 5.3.</p><page local="11" global="221"/><p><b>RHETORICAL STRUCTURE</b></p><p><b><i>condition </i></b>ns <b><i>cause A </i></b>ns <b><i>list alternative</i></b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">C</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">D</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">E</doubt><p>paragraph text-sentence</p><p>text-phrase text-phrase  text-phrase text-phrase</p><p><b>DOCUMENT STRUCTURE</b></p><p>text-phrase</p><p><b>Figure 4</b></p><p>Document structure is not always isomorphic with rhetorical structure.</p><p><b><i>condition</i></b> <b><i>list alternative</i></b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">/</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">result</doubt><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">s/\n</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">A</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">nnnn</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">\ /</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">CD</doubt><p><b>Figure 5</b></p><p>Analysis when RST is applied directly to text.</p><p>the text spans in the sentence; if this cannot be done, then according to the tenets of RST, the text is not coherent. Following this rule, the analyst is likely to make <i>D </i>and <i>E </i>the components of the identified (multinuclear) alternative relation. Next he would attempt to assign the satellite and nucleus of the identified condition relation; the choice would be between <i>A </i>and the complex of <i>D </i>and E. Since the marker <i>if </i>must attach to the satellite of condition, the answer seems clear:</p><p><i>condition (alternative(D,E</i>) ,A) (corresponding to the RST structure shown in Figure 5). But it is also clearly wrong, since we know from our semantic analysis that what really holds is that shown in Figure 4:</p><p><i>condition(list </i>(B,C),A)</p><p>Indeed, even the layout of the text reinforces, through the use of capital letters, the strong relationship between <i>A </i>and the pair <i>B </i>and C.</p><p>In principle, an RST structure that is derived from the analysis of a given text should, when used as the input to an NLG system, produce the very same text and other <i>semantically equivalent </i>versions of it. By separating rhetorical structure from doc­ument structure, we can now provide a coherent framework for achieving this result.</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">B</doubt><page local="12" global="222"/><p>For instance, we can now produce not only the original text of example (9) (shown here with neutral layout):</p><p>(9b)     If you find your condition gets worse during treatment, you may be allergic to the cream or have a skin infection. Stop using the cream and tell your doctor as soon as possible.</p><p>but also the following (in some contexts perhaps better) variant</p><p>(9c) If you find your condition gets worse during treatment, stop using the cream and tell your doctor as soon as possible; you may be allergic to the cream or have a skin infection.</p><p>Of course, NLG systems that ignore the level of document structure would still be able to produce the text in version (9b) from the RST structure in Figure 5, but they would not be able to produce version (9c). Moreover, they could also end up producing the following incorrect text:<footnote anchor="6"/></p><p>(9c)     # Stop using the cream and tell your doctor as soon as possible because you may be allergic to the cream or have a skin infection if your condition gets worse during treatment.</p><p>A number of other researchers have identified cases in which "orthodox" RST analysis of a text is problematic (e.g., Moore and Pollack 1992; Moser and Moore 1996; Knott et al. 2001). For example, Knott et al. (2001) report on texts from a corpus of museum labels that violate the RST principle of <b>continuous constituency </b>(i.e., adjacent units must be linked by a relation) but are nonetheless coherent. These are cases in which the satellite of a relation is not adjacent to its own nucleus in the text. In all the texts that Knott et al. discuss, the "dislocated" relation is elaboration, and they attribute the source of the problem to the relation itself: elaboration is not, they claim, a proper relation; it is a very weak relation that commands a different treatment from the other stronger ones.</p><p>Although there may well be a strong case to be made for the "demotion" of elaboration and for a special treatment of it in NLG systems, the phenomenon of dislocated satellites that Knott et al. (2001) describe is not, in fact, confined to elaboration. Indeed, it corresponds precisely to the problem we have just seen with example (9), which involves not elaboration, but condition. We have also reported elsewhere other similar examples of nonisomorphic rhetorical and document structures (Bouayad-Agha, Power, and Scott 2000). In all cases that we have seen, the principles of RST (e.g., compositionality, nuclearity, continuous constituency) appear to be violated only because they are being applied (in the orthodox manner) to the surface text (i.e., at the level of document structure) rather than more properly to the underlying propositional structure of the text (i.e., at the level of rhetorical structure).</p><p>But why would one want to produce a text whose document structure is not iso-morphic with its rhetorical structure? One rather practical reason is that as a rhetorical structure becomes more complex, it becomes increasingly difficult for the writer to pro­duce a text that satisfies both the demands of coherence (as defined by theories such</p><p>6 This text would result from systems that treat the leaves of a rhetorical or text plan as ordered.</p><page local="13" global="223"/><p>(Voltarol leaflet, Geigy; from APBI 1997)</p><p>as RST) and those of syntax. This happens quite frequently, for example, with condi­tionals: syntax dictates that expressions using the subordinating discourse marker <i>if </i>must have the antecedent and consequent in the same sentence. For example:</p><p>(10) If you eat too many sweets, you will become ill. but not (11) # If you eat too many sweets. You will become ill.</p><p>As the consequent or its antecedent becomes more complex, the chances of satis­fying the syntactic constraints are reduced. Here is a typical example from a PIL:</p><p>(12) <b>If you get any of the following:</b></p><p>Stomach pain, indigestion, heartburn or feeling sick for the first time.</p><p>Any sign of bleeding in the stomach or intestine, for example, passing black stools.</p><p>An unexpected change in the amount of urine produced and<i>/or </i>its appearance.</p><p><b>STOP taking the tablets and tell your doctor.</b></p><p>Here the conditional is expressed within one big sentence that itself contains several other sentences—indeed, paragraphs—each describing a set of symptoms organized around areas of the body. In writing this text, the author has clearly chosen to remain faithful to the rhetorical structure at the expense of syntax.</p><p>At other times, such as the example in Figure 6, taken from Knott et al. (2001), it is the rhetorical structure that loses out. In this case, the author has decided that the content of the satellite associated with (9) warrants its own paragraph (perhaps for reasons to do with its size).</p></subsection></section><section number="4." title="Formal Theory of Document Structure"><p>We will describe here the formal theory of document structure that we have developed as part of the ICONOCLAST system (Power 2000; Bouayad-Agha, Power, and Scott 2000; Bouayad-Agha 2000; Bouayad-Agha, Scott, and Power 2001), which generates multiple versions of the same message in different styles (i.e., with different wording and layout). In describing the theory, we will concentrate on units above the level of text-sentence; our treatment of the lower levels varies only slightly from that in Nunberg's theory, which is described in great detail in Nunberg (1990).</p><subsection number="4.1" title="Basic Hierarchy of Document Units"><p>Informally it seems clear that units of document structure are ranked: sentences are grouped into paragraphs, paragraphs into sections, sections into chapters, and so forth. The hierarchy of categories differs from one document type to another, but there is always <i>some </i>hierarchy;<footnote anchor="7"/> there might for instance be subsubsections and subsections</p><p>7 Exceptionally, some elements—in particular, footnotes and pictures—will be "floating."<page local="14" global="224"/></p><p>(1) In the women's quarters the business of running the household took place.</p><p>(2) Much of the furniture was made up of chests (3) arranged vertically in matching pairs. ... (4) Female guests were entertained in these rooms, (5) which often had beautifully carved wooden toilet boxes (6) with fold-away mirrors and sewing boxes, (7) and folding screens, (8) painted with birds and flowers.</p><p>(9) Chests were used for storage of clothes. ...</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">TEXT</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">.&gt;</doubt><p>RHETORICAL STRUCTURE DOCUMENT STRUCTURE <b>Figure 6</b></p><p>Another example of nonisomorphic rhetorical and document structures.</p><p>between paragraphs and sections. As a basis for discussion, let us assume a hierarchy of six levels, which we will number from 0 (assumed to be the lowest possible level of document structure) to 5:<footnote anchor="8"/></p></subsection></section><section number="0" title="text-phrase"></section><section number="1" title="text-clause"></section><section number="2" title="text-sentence"></section><section number="3" title="paragraph"></section><section number="4" title="section"></section><section number="5" title="chapter"><p>The fundamental organizing principle of document structure is that a unit of a given level is composed of one or more units of the next level down. This observation could be expressed by a set of constituent structure rules, one for each level:</p><p><i>chapter  — section+</i> <i>section  —  paragraph^ </i>(etc.)</p><p>Alternatively, we could generalize over this set of rules by introducing the symbol <i>LN</i>to denote a unit of level <i>N </i>(so that <i>L</i>0 means text-phrase, <i>L</i>1 means text-clause, etc.). A single rule will now cover units of all levels:</p><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">Ln—Ln-1+(N &gt;0)</doubt><p>8 We use <i>text-sentence </i>and <i>text-clause </i>in Nunberg's sense, as units typically marked by a period and a semicolon. However, unlike Nunberg, we use <i>text-phrase </i>for any constituent of a text-clause, whether it is marked by a comma or not.</p><page local="15" global="225"/><p>TEXT-SENTENCE</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">SECTION</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(a)</doubt><p>PARAGRAPH TEXT-SENTENCE PARAGRAPH</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(b)</doubt><p>PARAGRAPH</p><p><b>Figure 7</b></p><p>Ill-formed (a) and well-formed (b) document structures.</p><p>Two consequences of this rule should be noted. First, it disallows document struc­tures in which a unit contains a subunit of higher level—for instance, a text-sentence may not contain a paragraph. Second, it disallows document structures in which coordinated units have different levels. A section, for example, may not be formed by coordinating two paragraphs and a text-sentence, as in Figure 7(a); the sentence should be the only constituent of a further paragraph unit, as in Figure 7(b), so that when the abstract document structure is realized graphically, the sentence will be formatted with a paragraph break as well as with a capital letter and a period.</p><p>This deals with the basic organization of text into hierarchical document units; however, a full description should take account of many other patterns including headings, bulleted lists, footnotes, and figures. We cannot deal with all these pat­terns here, so we focus on what is probably the most complex problem: the treat­ment of indented structures such as quotations, bulleted lists, and enumerated lists.</p><subsection number="4.2" title="Indented Document Units"><p>At first sight it might seem that indentation is a feature of graphical realization rather than underlying structure: in other words, that it belongs to concrete rather than abstract document structure. We have several reasons for rejecting this view. First, it is at least suggestive that both LATeX and HTML include tags for indented structures:</p><p><b>Pattern HTML tag    L</b>A<b>TEX </b>tag</p><p>Quotation <b>&lt;QUOTE&gt; \begin{quote}</b></p><p>Bulleted list <b>&lt;UL&gt; \begin{itemize}</b></p><p>Enumerated list <b>&lt;OL&gt; \begin{enumerate}</b></p><p>Description list <b>&lt;DL&gt; \begin{description}</b></p><p>Second, one can find examples of vertical lists that seem structurally equivalent to (say) a bulleted list but are presented without item markers and without the use of horizontal indentation. Here is a case in point, taken from a PIL with formatting exactly preserved:<page local="16" global="226"/></p><p>(13) If you experience any of the following or any other unusual effects, tell your doctor:</p><p>Poor appetite or a slight sick feeling Mild abdominal pains or fullness Alterations in your sense of taste Diarrhoea Itching or rash</p><p>Pain in your muscles or joints</p><p>If you notice yellowing of the skin or eyes, tell your doctor straight away.</p><doubt alpha="63.6" length="33" tooSmall="False" monospace="0.0">(Lamisil, Sandoz; from APBI 1997)</doubt><p>Third, and most important of all, indented structures may introduce apparent viola­tions of the hierarchical ranking described in the last section: for instance, a sentence may contain a paragraph, <i>provided that the paragraph is indented. </i>We have already seen this in the case of complex conditionals in example (12). However, the phenomenon is much more widespread:</p><p>(14) In rare cases the treatment can be prolonged for another week; however, this is risky since</p><p>• The side-effects are likely to get worse. Some patients have reported severe headache and nausea.</p><p>• Permanent damage to the liver might result.</p><p>(15) The opening of <i>Pride and Prejudice</i></p><p>It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife. However little known the feelings or views of such a man may be on his first entering a neighbourhood, this truth is so well fixed in the minds of the surrounding families, that he is considered as the rightful property of some one or other of their daughters.</p><p>is one of the most famous paragraphs in English literature.</p><p>In these examples, too, note that the important issue is not graphical indentation, but what we might call <b>logical indentation. </b>Thus in the case of the quotation, the logical indentation of the quoted paragraph might be shown without graphical indentation (e.g., by using a distinctive font or character size):</p><p>(16) The opening of 'Pride and Prejudice'</p><p><i>It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife. However little known the feelings or views of such a man may be on his first entering a neighbourhood, this truth is so well fixed in the minds of the surrounding families, that he is considered as the rightful property ofsome one or other oftheir daughters.</i></p><p>How can the formation rules for document structure be extended so as to ac­commodate these patterns? Our main proposal, implemented in the ICONOCLAST document planner, is that a document unit should be defined by (at least) two fea­tures: its level and its indentation. The level is the usual ranking from <i>L0 </i>(text-phrase)<page local="17" global="227"/></p><p>TEXT-SENTENCE (0) "however, this is risky since"</p><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">TEXT-PHRASE (0)</doubt><doubt alpha="60.4" length="111" tooSmall="False" monospace="0.0">PARAGRAPH (1)       PARAGRAPH (1) "The side effects ... and nausea."       "Permanent damage ... might result."</doubt><p><b>Figure 8</b></p><p>Indented document structure (example (14)).</p><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">TEXT-CLAUSE (0)</doubt><p>to <i>L</i>5 (chapter) or whatever hierarchy of units the author decides to employ; the inden­tation is a value in the range Io <i>■ ■■ </i>IMax, where Io means that the unit is not indented at all, <i>I</i>1 means it is indented one place, and so forth, with <i>I</i>Max representing the deepest embedding that the author is prepared to contemplate. The passages in examples 14-16 can then be described formally as unindented text-sentences (i.e., units with the cat­egory [L2,I0]), which have among their constituents indented paragraphs (units with the category [L3,Such structures can be permitted if we change the basic rule of the last section so that a unit of indentation <i>IN </i>always outranks a unit of indentation IN+1, no matter what their respective levels may be. Instead of one general rule, we now need two: the first for unindented constituents, the second for indented ones.</p><p>Unindented constituents <i>[LN</i>, <i>IM] — </i>[LN_1, <i>IM]+</i></p><doubt alpha="65.1" length="43" tooSmall="False" monospace="0.0">Indented constituents[LA, IM] — [LB,IM+1] +</doubt><p>In the second rule, <i>LA </i>and <i>LB </i>are unrelated, so <i>LB </i>could represent a higher level than <i>LA </i>(e.g., a paragraph inside a text-sentence). For most document types one would presumably prefer to set an upper limit on the level of an indented constituent (e.g., an indented chapter seems ridiculous); this could be done for instance by adding the constraint <i>B &lt; </i>4.</p><p>Figures 8 and 9 give document structures for examples (14) and (15), respectively; the latter also describes example (16), which differs from (15) only in the graphical realization of the indented paragraph. One feature of these analyses might at first sight appear strange: they assign the minimal text level <i>L</i>o to the node representing the quotation or the bulleted list. How, one might ask, can a paragraph, or indeed a list of paragraphs, be regarded as a text-phrase? Should it not be a unit <i>higher </i>than the paragraph, perhaps some kind of section, or better, a new text category <i>vertical list?</i></p><p>On first tackling indented structures, we followed precisely this reasoning, in­troducing <i>vertical list </i>as a text category. However, despite its initial plausibility, this decision has several irritating consequences. First, the concept <i>vertical list </i>has no re­lationship to the text-level hierarchy. Does it belong between text-sentence and para­graph, or perhaps between paragraph and section? Any placement seems arbitrary. Second, since the vertical list in a document structure like that in Figure 8 is clearly coordinated with a text-phrase, such an analysis would violate the rule that coordi­nated constituents have the same level. Third, and perhaps most persuasively of all,</p><p>"In rare cases ... for another week;"<page local="18" global="228"/></p><p>TEXT-SENTENCE (0)</p><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">TEXT-PHRASE (0)</doubt><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">TEXT-CLAUSE (0)</doubt><p>TEXT-PHRASE (0) "The opening of Pride and Prejudice"</p><doubt alpha="66.7" length="51" tooSmall="False" monospace="0.0">TEXT-PHRASE (0) "is one of ... English literature."</doubt><p>PARAGRAPH (1) "It is a truth universally ... daughters."</p><p><b>Figure 9</b></p><p>Indented document structure (examples (15) and (16)).</p><p>it turns out that in their interactions with discourse connectives, vertical lists <i>behave like text-phrases, </i>not like sentences, paragraphs, or higher units. Thus the vertical list in Figure 8 is coordinated with the discourse connective <i>since, </i>which would not normally link constituents higher than text-phrases (we will discuss this constraint more fully in the next section).<footnote anchor="9"/></p><p>All these difficulties are removed by denying appearances and assigning the vertical-list node a text-level of <i>L</i>o. With this treatment, no new arbitrary level in the hierarchy of units is needed, the basic rule of document structure holds (i.e., coordi­nated constituents have the same level), and the interaction of the unit with discourse connectives can be described using the same rules that hold for nonindented struc­tures. Note also that the difference in indentation between the node and its daughters is sufficient to identify it as a vertical list; any extra feature (such as a new value in the text-level hierarchy) would be redundant.</p></subsection></section><section number="5." title="Methods of Document Structuring"><subsection number="5.1" title="Defining the Task"><p>The aim of <b>document structuring </b>within NLG is to create a document structure that satisfactorily realizes a particular rhetorical structure. This can be achieved through a variety of architectures, as reflected in the RAGS framework.<footnote anchor="10"/> For example, systems aimed at generating technical abstracts or captions for graphics would probably need to specify a "one paragraph only" limit quite early on in the process; in such cases, document structuring would start before any rhetorical or syntactic decisions were made (e.g., the RAGS reimplementation of the Caption Generation System [Mellish et al. 2000]). Alternatively, systems that need to generate texts with rich layout might prefer to interleave document structuring with rhetorical structuring (e.g., Cahill et al. 2001).</p><p>9 Note that a vertical list can also be coordinated with units larger than text-phrases, such as text-sentences or paragraphs. The formal rules allow this because a text-phrase can be the only constituent of a text-clause, which can in turn be the only constituent of a text-sentence, and so forth. 10 See <i>The </i>RAGS <i>Reference Manual, </i>http://www.itri.bton.ac.uk/projects/rags/RefMan/refman.ps.</p><page local="19" global="229"/><p>(8c)     Elixir contains gestodene; however, it is approved by the FDA.</p><p>For simplicity of presentation, we will assume here an NLG architecture in which a preliminary module selects simple propositions from a knowledge base and organizes them into some kind of argument; the document structurer distributes the various parts of this argument among units like paragraphs and text-sentences; a syntactic realizer takes over in order to determine the wording of the propositions; finally, a formatter decides how the abstract categories and features of document structure will be realized graphically (e.g., whether paragraphs will be marked by a tab on a new line, or by a vertical space). In the context of such an architecture, two issues are crucial: what input does the document structurer receive from the earlier planning module, and how does the output of the document structurer guide syntactic realization?</p><p>In ICONOCLAST, our initial assumption, following Scott and Souza (1990), was that the rhetorical structure would take the form of a graph in which terminal nodes represent simple propositions and nonterminal nodes represent rhetorical relation­ships. By organizing all propositions into a single hierarchy, such an input simplifies the task of the document structuring module; indeed, it could be argued that part of the work has been done already. An alternative assumption is that the rhetorical structure takes the form of a set of assertions, each describing a rhetorical relationship between two propositions (Marcu 1997). With this flat representation, the document structurer must take more responsibility for grouping the propositions. In this article, we will focus on the first of these methods (i.e, starting from a hierarchical rhetori­cal input). The second method (starting from a flat rhetorical input) is described in Bouayad-Agha (2001).</p><p>Regarding the interface between document structuring and syntax, the difficult issue is where the boundary should be drawn. Above the level of text-clause, it seems clear that syntax plays little part; however, at the level in which text-phrases combine to form text-clauses, there is an interplay between the "syntactic" grammar and the "text" grammar, as Nunberg (1990) has shown. As an example, consider the simple rhetorical structure discussed earlier (example (8) and Figure 2):</p><p><i>concession(contain(elixir, gestodene), approveifda, elixir))</i></p><p>As mentioned earlier, this rhetorical-semantic input could be realized through a text-sentence comprising two text-clauses:</p><p>In this case it seems clear where the boundary should lie: the document structurer decides that <i>approve(fda, elixir) </i>should be expressed in the first text-clause, and that <i>contain(elixir, gestodene) </i>should be expressed in the second, along with the connec­tive <i>however. </i>It might also impose constraints on the clauses that will realize these propositions, for instance, by requiring declarative clauses rather than imperative or interrogative ones. The rest is left to the syntactic realizer, which must decide how the two propositions should be worded, and how the second clause should be combined with the connective. Several alternative versions might result, each having exactly the same document structure:</p><p>(8 ) Elixir contains gestodene; the FDA, however, approves it. (8")     Elixir contains gestodene; however, the FDA approves it.</p><page local="20" global="230"/><p>(8" )     Gestodene is an ingredient of Elixir; Elixir is approved, however, by the</p><p>FDA.</p><p>Suppose, however, that the document structurer decides to realize the two propo­sitions within the same text-clause, as in the following version:</p><p>(8"")     Elixir is approved by the FDA although it contains gestodene.</p><p>Where now does the boundary lie? Should the document structurer create a text-sentence containing a single text-clause, leave instructions that this text-clause should express the whole concession relationship, and then wash its hands of the affair, leaving everything else to the syntactic realizer? Or should it trespass into the domain of syntactic realization by constructing a syntactic clause of the form S1 <i>although </i>S2, with instructions that a subclause realizing <i>approve fda, elixir) </i>should be inserted in position S1 and a second subclause realizing <i>contain(elixir, gestodene) </i>in position S2?</p><p>In ICONOCLAST we have found it more convenient to adopt the latter policy. The linguistic structure of a document is represented using a single tree in which nodes may be labeled both with document structure features and with syntactic features. The document structurer s task is to build the upper part of this tree, extending from the root all the way down to the nodes that express simple propositions. In the upper reaches of the tree, nodes will be labeled with units like <i>section </i>and <i>paragraph, </i>and syntactic features will be irrelevant; lower down, the document structure may have to assign some syntactic features when constructing compound clauses. To simplify, we assume that conjunctive adverbs like <i>however </i>will always be placed at the beginning of a clause; this means that discourse connectives can be placed into the tree by the document structurer, thereby limiting the task of the syntactic realizer to the wording of the simple clauses that realize propositions.</p><p>Having clarified the document structurer's task, we posed the following question: given a well-formed rhetorical structure, together with a set of formation rules for document structure and a set of discourse connectives for realizing rhetorical rela­tions, can we enumerate all document structures that correctly realize the rhetorical structure—and further, can we evaluate these document structures by some metric so that we can choose the best? The generation of many alternative solutions was es­sential to the project, which focused on the problem of controlling style in an NLG system: by varying a set of stylistic parameters, the user of the system can influence the evaluation metric that is applied to the set of potential solutions and so influence the type of solution that will be preferred.</p><p>As mentioned above, we have explored two methods of enumerating and evaluat­ing document structures, one (the focus of this article) assuming a hierarchical input, the other (described in Bouayad-Agha [2001]) assuming a nonhierarchical input. The two methods have much in common: they share the same formation rules for doc­ument structure, the same discourse connectives, and (mainly) the same constraints on the correct realization of rhetorical relationships. Before describing the hierarchical method in detail, it will be useful to review the constraints that they share; these con­straints will be needed, in some form or other, in any system that performs document structuring.</p></subsection><subsection number="5.2" title="Constraints on Realizing Rhetorical Structure"><p>In order to realize a rhetorical structure R(Ai, <i>A2) </i>as a document structure, several decisions must be made:</p><page local="21" global="231"/><p>• What should be the level (e.g., section, paragraph, text-sentence) of the document unit that realizes the whole relationship R(A1,<i>A2)?</i></p><p>• What should be the levels of the units realizing the arguments <i>A</i>1 and</p><p>• Should the units realizing <i>A</i>1 and <i>A</i>2 be indented items, or should they have the same indentation as the unit realizing <i>R(A</i>1<i>,A</i>2)?</p><p>• In what linear order should the units realizing <i>A</i>1 and <i>A</i>2 occur?</p><p>• Should the rhetorical relation <i>R </i>be expressed using a discourse connective or left implicit?</p><p>• If a discourse connective is used, should it be linked to the span realizing <i>A</i>1 or the span realizing <i>A</i>2?</p><p>These decisions are closely related, as the following examples show:</p><p>• If <i>R( A</i>1, <i>A</i>2) is realized through a text-sentence, then the arguments <i>A</i>1 and <i>A</i>2 cannot be realized through a higher unit, such as a paragraph, unless they are indented one place further than <i>R(A</i>1<i>,A</i>2). (This follows from the formation rules for document structure.)</p><p>• If <i>R </i>is a nucleus-satellite relation rather than a multinuclear one, the arguments <i>A</i>1 and <i>A</i>2 should not be realized through indented items.<footnote anchor="11"/></p><p>• If a subordinating conjunction like <i>although </i>is used to express the relation <i>R, </i>the arguments <i>A</i>1 and <i>A</i>2 should be realized within the same syntactic clause; hence they should be text-phrases, rather than text-clauses or some higher unit. Moreover, <i>although </i>should be attached to the clause expressing <i>A</i>1 (assuming this is the satellite).</p><p>Constraints arising from the formation rules for document structure have already been covered; we will therefore focus here on constraints that concern the realization of rhetorical relations.</p><p>Leaving aside quotations for the time being, our first suggestion is that indentation should be employed only for the arguments of a <i>multinuclear </i>relation. Vertical lists are typically used when the items in the list play the same role in the discourse—for instance, they might be symptoms of a disease or potential side effects of a medicine. By definition, the arguments of a nucleus-satellite relation have different purposes; the nucleus makes the main point, whereas the satellite s role is supportive. Consider, for example, the following rhetorical structure:</p><p><i>justify (list(tested(elixir), approve fda, elixir)), safe(elixir))</i> which gives two reasons why Elixir is safe to use. The LIST relation is multinuclear, whereas JUSTIFY is nucleus-satellite; according to our rule, then, the document struc­tures in (17) and (18) should be avoided, whereas those in (19) and (20) should be</p><p>11 This constraint is based on the intuition that the items in a vertical list should have parallel roles in the argument, a condition that clearly fails to hold for a nucleus-satellite relation.</p><page local="22" global="232"/><p>acceptable:</p><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">(17) (18)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(19)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(20)</doubt><p>Elixir is safe to use because it has been carefully tested and is approved by the FDA.</p><p>Elixir has been carefully tested and is approved by the FDA, therefore, it is safe to use.</p><p>Elixir is safe to use because it has been carefully tested it is approved by the FDA</p><p>Note that when the arguments of a multinuclear relation are presented within a text-clause, syntax requires a connective like <i>and </i>or <i>or. </i>When they are presented as indented items, the connective is instead often omitted, leaving the relation implicit; the reader has to use common sense to divine whether the list represents a conjunction or a disjunction.</p><p><b>5.2.1 Discourse Connectives. </b>A comprehensive treatment of discourse connectives will not be attempted here, but we will cover the three main categories identified by Knott (1996): subordinating conjunctions, coordinating conjunctions, and conjunctive adverbs.</p><p>The properties of a discourse connective can be fully specified by four features: MEANING, SYNTAX, LOCUS, and SPELLING. As examples, here are three definitions for the CONCESSION relation:</p><p>MEANING <b>concession</b></p><p>SYNTAX <b>subordinating conjunction</b></p><p>LOCUS <b>satellite</b></p><p>SPELLING 'although'</p><p>SYNTAX <b>coordinating conjunction</b></p><p>LOCUS <b>nucleus</b></p><p>SPELLING 'but</p><p>SYNTAX <b>conjunctive adverb</b> spelling 'however'</p><p>The Locus specifies which argument of the relation carries the discourse connec­tive. For a nucleus-satellite relation, the argument is identified either by <b>nucleus </b>or <b>satellite; </b>for a multinuclear relation it is identified by an ordinal specification such as <b>initial </b>or <b>final.</b></p><p>For each type of discourse connective, it is possible to state specific constraints on the order of arguments, and on the document units that express them.<footnote anchor="12"/></p><p>12 Some of these are also mentioned by Scott and Souza (1990) and Rosner and Stede (1992).</p><p>Elixir has been carefully tested</p><p>Elixir is approved by the FDA Therefore, it is safe to use.</p><page local="23" global="233"/><p><i>5.2.1.1 Subordinating Conjunction. </i>The spans linked by a subordinating conjunction can be arranged in either order (nucleus first or satellite first) but must be expressed within the same text-clause. For example:</p><p>(21) Although it has no significant side effects, never give Elixir to other patients.</p><p>(22) Never give Elixir to other patients, although it has no significant side effects.</p><p>(23) # Although it has no significant side effects; never give Elixir to other patients.</p><p>(24) # Although it has no significant side effects. Never give Elixir to other patients.</p><p>(25) # Never give Elixir to other patients; although it has no significant side effects.</p><p>(26) # Never give Elixir to other patients. Although it has no significant side effects.</p><p><i>5.2.1.2 Coordinating Conjunction. </i>Spans linked by a coordinating conjunction can oc­cur in the same text-clause or in different text-clauses (or higher units) but must be ordered so that the discourse connective is located in the final span (i.e., the second span in the case of a nucleus-satellite relation):</p><p>(27) Elixir has no significant side effects, but never give it to other patients.</p><p>(28) # But never give Elixir to other patients, it has no significant side effects.</p><p>(29) Elixir has no significant side effects; but never give it to other patients.</p><p>(30) # But never give Elixir to other patients; it has no significant side effects.</p><p>(31) Elixir has no significant side effects. But never give it to other patients.</p><p>(32) # But never give Elixir to other patients. It has no significant side effects.</p><p>Of course examples (28), (30), and (32) are prohibited only as a means of realizing a CONCESSION relation between the two propositions. They might be acceptable in a text realizing a different rhetorical structure in which the satellite had already been expressed.</p><p><i>5.2.1.3 Conjunctive Adverb. </i>Spans linked by a conjunctive adverb can occur in differ­ent text-clauses (or higher units), but not in the same text-clause. For a nucleus-satellite relation they must be ordered so that the discourse connective is located in the second span:</p><p>(33) # Elixir has no significant side-effects, however, never give it to other patients.</p><p>(34) # However, never give Elixir to other patients, it has no significant side-effects.</p><p>(35) Elixir has no significant side-effects; however, never give it to other patients.</p><p>(36) # However, never give Elixir to other patients; it has no significant side-effects.</p><p>(37) Elixir has no significant side-effects. However, never give it to other patients.</p><p>(38) # However, never give Elixir to other patients. It has no significant side-effects.</p><p>Again, examples (33), (34), (36), and (38) would be acceptable in realizations of different rhetorical structures in which the satellite had already been presented.</p></subsection><subsection number="5.3" title="Planning Document Structure Using Hierarchical Input"><p>Using the hierarchical method, the input rhetorical structure is a tree in which the terminal nodes are formulas representing elementary propositions (i.e., propositions having no internal rhetorical complexity), whereas the nonterminal nodes are labeled with rhetorical relations (see, for example, Figure 10). This tree is unordered: the roles<page local="24" global="234"/></p><p>concession ban(fda, elixir)       contain(elixir, gestodene)</p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">Figure 10</doubt><p>Example of rhetorical structure.</p><p>of daughter nodes are shown by labels on the arcs (nucleus or satellite in the case of a nucleus-satellite relation, or an integer greater than zero in the case of a multinuclear relation).</p><p>The output is a linguistic structure, represented formally by an ordered tree in which each node corresponds to a span of the document. Nodes are labeled with document structure features (e.g., the level and indentation of the unit) and also with syntactic features, which usually become relevant only at the level of text-clause or below. Discourse connectives are already selected and positioned correctly in the tree; the only task left to the syntactic realizer is to elaborate the tree further by generating clauses that express the elementary propositions.</p><p>Our aim in ICONOCLAST has been to find a document-structuring method that will generate <i>all </i>document structures that correctly realize an input rhetorical struc­ture, given certain simplifying assumptions about the composition of the document structure and the discourse connectives available in the lexicon. During this initial enumeration of potential solutions, we are not concerned with good style: the pro­cedure should generate clumsy realizations as well as elegant ones. But we do re­quire a minimal standard of correctness. There is no point in considering solutions that leave propositions in the rhetorical structure unexpressed in the document struc­ture or group them wrongly. The strategy is first to define a procedure that gen­erates all solutions that are worth considering at all; using this minimally correct set as a basis, we can then posit further constraints that impose particular stylistic preferences.</p><p>We assume that a minimally correct solution must satisfy three conditions:</p><p>1. The terminal nodes of the document structure must express all the propositions in the rhetorical structure.</p><p>2. In addition to satisfying the document structure formation rules, the solution must conform to correct syntax within text-clauses. For example, two elementary propositions within a text clause must be linked by a conjunction placed in the right position.</p><p>3. The document structure must be structurally compatible with the rhetorical structure.</p><p>The first two of these conditions are obvious, but the third needs clarification. What exactly is meant by "structurally compatible"?</p><p>We have explored two definitions of structural compatibility that are closely re­lated to the mathematical notions of <b>isomorphism </b>and <b>homomorphism </b>(Landman<page local="25" global="235"/></p><p>TEXT-SENTENCE</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(a)</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">(b)</doubt><p>PARAGRAPH</p><p>TEXT-CLAUSE contain(elixir, gestodene) ban(fda, elixir) approve(fda, elixirplus)</p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">Figure 11</doubt><p>Isomorphic (a) and homomorphic (b) document structures.</p><p>1991; Bouayad-Agha, Power, and Scott 2000). Each notion can be conveniently ex­pressed in terms of groupings of propositions in the rhetorical structure and the dis­course structure. For an isomorphism (the strongest definition of compatibility), two conditions must hold:</p><p>1. If a node in the document structure represents a span in which the set of propositions expressed is P, there must be a corresponding node in the rhetorical structure that dominates exactly the same set <i>P </i>of propositions.</p><p>2. If a node in the rhetorical structure dominates a set <i>P </i>of propositions, there must be a node in the document structure representing a span in which exactly this set <i>P </i>is expressed.</p><p>Informally, for an isomorphism, all groupings of propositions in the rhetorical struc­ture must be transmitted faithfully to the document structure, and no new groupings should be introduced. For a homomorphism from rhetorical structure to document structure, only the first condition is required to be fulfilled. Any grouping found in the document structure must correspond to a grouping in the rhetorical structure, but the document structure may "flatten out" the rhetorical structure by leaving some groupings unexpressed.</p><p>These two kinds of compatibility, isomorphism and homomorphism, are illustrated by document structures (a) and (b), respectively, in Figure 11, which are alternative realizations of the rhetorical structure in Figure 10; to simplify, discourse connectives have been left out. Solution (a) is isomorphic with the rhetorical structure, since the propositions dominated by the justify relation are grouped together in a separate text-sentence. Solution (b) is homomorphic only with the rhetorical structure, since the propositions are expressed in three separate text-sentences, the internal grouping<page local="26" global="236"/></p><p>remaining implicit. Here are two texts that might result: (39)</p><p>(b) Elixir contains gestodene. Therefore, it is banned by the FDA. However, the FDA ap­proves ElixirPlus.</p><p>Note that by losing a grouping from the rhetorical structure, (39b) introduces an ambiguity: its form would also be consistent with an alternative rhetorical structure in which the relation justify dominated concession. From the point of view of express­ing the rhetorical input precisely, the isomorphic solution is always better. However, when the resulting document structure is complex, or when the correct interpretation can be inferred easily from the content, there might be stylistic reasons for preferring a looser homomorphic solution. As a criterion for generating all minimally correct solutions, therefore, we believe the homomorphic definition of compatibility is more appropriate.<footnote anchor="13"/></p><p>Having decided what counts as a correct solution, our next task is to find an efficient algorithm that will generate all and only these solutions. In ICONOCLAST, this is accomplished through a constraint-solving method that formalizes the options for realizing each part of the rhetorical structure, then eliminates those combined choices that violate constraints. The technique has been explained fully elsewhere (Power 2000), so we will confine ourselves here to a sketch of the main points.</p><p>For each node <i>NR </i>on the rhetorical structure, we can lay out some options on how the rhetorical fragment dominated by this node will be realized in the document structure. The crucial choices are as follows:</p><p>• What should be the level and indentation of the document structure node that realizes the proposition or relationship <i>NR?</i></p><p>• If <i>N</i><i>R </i>is a nonterminal node, labeled with a rhetorical relation, what discourse connective (if any) should express this relation in the document structure?</p><p>• If <i>NR </i>is nonterminal, in what linear order should its daughter nodes be realized in the document structure?</p><p>These decisions can be formalized by associating with each node four variables that we will call level, indentation, connective, and position. The potential values of these variables represent options for realizing the relevant part of the rhetorical structure, and these options will be reduced by considering constraints on which <i>com­binations </i>of values are allowed. Initially, the possibilities are as follows:</p><p>level: The level of the document structure unit realizing <i>NR </i>will be a document unit along the hierarchy from text-phrase to chapter. In the program, it</p><p>13 We actually believe that even the less strict requirement of a homomorphism from RS to DS is too strong, because one occasionally finds natural texts that violate it. For example, in Figure 4, RS and DS are not only nonisomorphic, but nonhomomorphic, because there is a grouping in the DS (propositions A, D, E) that is not found in the RS (no node in the RS dominates just these three propositions). This raises the question of how one can distinguish nonhomomorphic solutions that are acceptable (like that in Figure 4) from ones that are unacceptable (probably the great majority). To defer this difficult issue, we have preferred in this article to confine our attention to homomorphic solutions. For further discussion see Bouayad-Agha, Power, and Scott (2000).</p><page local="27" global="237"/><p>is convenient to represent this with an integer, so that constraints on a higher or lower level can be implemented using the operations <i>&gt; </i>and &lt;; we will here continue the notation introduced in Section 4.1, in which L0means text-phrase, L1 means text-clause, and so forth.</p><p>indentation: The indentation of the document structure unit will be a value in the range /0 to /Max, as explained in Section 4.2. Again, in the implemen­tation, it is convenient to use an integer.</p><p>connective: The value of this variable is either 0, meaning that no connective should be used, or a word from the lexicon. Thus if the node <i>NR </i>has the label concession, the potential values might be 0, <i>although, but, </i>and <i>however.</i></p><p>position: This variable represents the order in which <i>NR </i>will be realized in the document structure, in comparison with its sisters. The value must lie in the range 1<i>. ..S, </i>where <i>S </i>is the total number of sisters (including <i>NR</i>). Thus if <i>NR </i>is an argument in a nucleus-satellite relation, the range will be 1<i>... </i>2; if it is an argument in a multinuclear relation, the range may be larger.</p><p>The solution process consists in determining the set of options for each variable (these are known in constraint logic programming as the <b>domain </b>of the variable), then im­posing constraints on combinations of values, then enumerating all combinations that satisfy the constraints. Each admissible combination of values can then be used as a blueprint for building one of the document structures that may realize the input rhetor­ical structure. The constraints imposed during the second phase of this algorithm are essentially those described in the last section.</p></subsection></section><section number="6." title="Examples of Document Structuring"><p>We now give two examples of the document-structuring method outlined in the last section. First, we look in detail at a very simple task, to make it clear how the method works. Then we show some output for a more complex task, for which the program will generate dozens of solutions even if the wording of individual propositions is held constant.</p><subsection number="6.1" title="Simple Example"><p>To view the document-structuring method from close up, we will use a simplified version of the task discussed in the last section. The rhetorical structure will comprise just two propositions linked by a concession relation:</p><p><i>concession{ban{fda, elixir), approve fda, elixirplus))</i></p><p>The method works by computing the options for realizing each constituent of the rhetorical structure, where a <b>constituent </b>is any node in the rhetorical structure tree along with its descendents. Thus in the present example there are three constituents— the two propositions and the whole relationship—and for convenience we will label them as follows:</p><p><i>A: approve{fda, elixirplus) B: ban{fda, elixir)</i> <i>C:</i><i> concession{ban{fda,elixir),approvefda,elixirplus))</i><page local="28" global="238"/></p><p>We can now begin to characterize the units in the document structure that will realize the rhetorical constituents <i>A, B, </i>and <i>C. </i>For each unit, four choices must be made: its <i>level, </i>its <i>indentation, </i>its <i>position </i>in relation to its sisters, and its <i>connective. </i>We therefore have a total of twelve variables. Any combination of values that satis­fies the constraints (as discussed in the last section) will serve as the blueprint for a solution.</p><p>Following the usual technique for solving constraint satisfaction problems (Hen-tenryck 1989), we assign to each variable a domain of potential values:</p><p><b>Constituent      Level Indentation    Position Connective</b></p><doubt alpha="37.9" length="66" tooSmall="False" monospace="0.0">A (approve){L0...L3}{h,h}{P1,P2}C0B (ban){L0...L3}{l0,/1&gt;{P1,P2}C0</doubt><doubt alpha="59.2" length="49" tooSmall="False" monospace="0.0">C (concession){L0...L3}{h,h}P1{C0,Calt,Cbut,Chow}</doubt><p>Some of these assignments require some explanation:</p><p>• We make the simplifying assumption that the highest unit required will be the paragraph (formalized as level L3), and that the maximum indentation will be one place (formalized as</p><p>• Since constituents <i>A </i>and <i>B </i>are sisters in the rhetorical structure, their relative order is formalized by a choice between two positions, P1 and P2. Constituent C, in contrast, has no sister in the rhetorical structure, so as an "only child," it can have only one position value.</p><p>• Constituents <i>A </i>and <i>B </i>are not associated with a discourse connective, because they are elementary propositions, so their value for the <i>connective </i>variable is     (meaning <i>no connective). </i>Constituent <i>C </i>is instead associated with the CONCESSION relation, for which we assume that the lexicon offers three connectives: <i>although </i>(Calt), <i>but </i>(Cbut), and <i>however </i>(Chow). The initial domain for the variable <i>connective(C) </i>therefore comprises these three possibilities along with C0, the option of leaving the relation implicit.</p><p>Having assigned the initial domains, we next proceed to apply some constraints; these will have the effect of reducing some of the domains. First of all, there are some constraints applicable to the unit that will serve as the root of the whole document structure:</p><p>Root Level: In a document generation task, we usually have some preconception about the size of the whole document (e.g., it might be a chapter, or a section). Since this is a small rhetorical structure, we might decree that the whole text should consist of a paragraph, so that <i>level(C)= </i>L3.</p><p>Root Indentation: It makes no sense for a whole document to be an indented item, so to realize the root constituent <i>C </i>we may stipulate that <i>indentation(C)= </i>/0.</p><p>Having applied these constraints to the variables realizing <i>C, </i>we can impose some further constraints that arise from the relationship between <i>C </i>and its direct constituents <i>A </i>and <i>B:</i></p><page local="29" global="239"/><p><b>Constituent      Level Indentation    Position Connective</b></p><p>Argument Indentation: As pointed out in the last section, it is permissible to indent the arguments of a multinuclear relation, but not a nucleus-satellite relation. Therefore, given that the indentation of <i>C </i>has been fixed as I0, the indentations of <i>A </i>and <i>B </i>must also be <i>I</i>0.</p><p>Parental Domination: Since <i>A </i>and <i>B </i>are constituents of <i>C </i>in the rhetorical struc­ture, the units realizing <i>A </i>and <i>B </i>in the document structure will occur within the constituent realizing C. Given that all indentations have been set to <i>I0, </i>this means that <i>level</i><i>{C) </i>should outrank both <i>level{A) </i>and <i>level{B), </i>and that consequently the option <i>L</i>3 should be removed from the domains of the last two variables.</p><p>Sister Equality: Because <i>A </i>and <i>B </i>are sisters in the rhetorical structure (i.e., argu­ments of the same relation), it is appropriate that they should be realized in the document structure by units of the same level. We can therefore im­pose the constraint <i>level</i><i>{A) = </i><i>level</i><i>{B). </i>This does not immediately affect the domains of these variables, but it does mean that as soon as one is fixed, so is the other.</p><p>Sister Position: The units realizing the sisters <i>A </i>and <i>B </i>must occur in one of two linear orders in the document structure—they cannot both come first, or both second. We may therefore set the constraint <i>position{A) = position{B). </i>Again this has no immediate effect on the domains, but as soon as one value is fixed, so is the other.</p><p>Obligatory Connective: As Scott and Souza (1990) point out, an NLG system is ill-equipped to judge when a rhetorical relation may be left implicit, so it makes sense to play safe by <i>always </i>realizing the relation using a discourse connective. Following this policy, we can remove <i>C</i>0 from the domain of <i>connective{C).</i></p><p>Through applying these constraints, the domains of the variables have been reduced as follows:</p><doubt alpha="45.2" length="31" tooSmall="False" monospace="0.0">A (approve){L0...L2}I0{P1,P2}C0</doubt><doubt alpha="37.0" length="27" tooSmall="False" monospace="0.0">B (ban){L0...L2}I0{P1,P2}C0</doubt><doubt alpha="66.7" length="39" tooSmall="False" monospace="0.0">C (concession)   L3I0P1{Calt,Cbut,Chow}</doubt><p>Before enumerating solutions, we need to impose a final set of constraints that are conditional on the choice of discourse connective for <i>C. </i>These constraints have been explained fully above, so here we only point out how they are stated in terms of our variables.</p><p>Subordinating Conjunction: The units connected by <i>although </i>may occur in any order, but they must be text-phrases. Therefore, if <i>connective{C)=C</i>alt, then <i>level{A)=level{B)=L</i>0.</p><p>Coordinating Conjunction: We will assume that a coordinating conjunction like <i>but </i>may link spans within a text-clause, or across text-clauses and text-sentences, so that no constraint on the levels of <i>A </i>and <i>B </i>results. However, the satellite must precede the nucleus, so we have <i>position{B)=P</i>1 (and hence, by Sister Position, <i>position{A)=P</i>2).</p><page local="30" global="240"/><p>Conjunctive Adverb: A conjunctive adverb like <i>however </i>should link spans in units of text-clause or higher,<footnote anchor="14"/> so we can impose the constraints <i>level(A) &gt; L0</i>and <i>level(B) &gt; </i>L0. (Note that in the implementation, only one of these need be applied, since the other results from Sister Equality.) For <i>however, </i>the satellite must precede the nucleus, so again we have <i>position(B) = P1 </i>and <i>position(A) = </i>P2.</p><p>With all potential interactions among decisions taken care of, enumeration can proceed. In an implementation in constraint logic programming, this is accomplished through a method called <i>labeling, </i>in which the remaining possible values for each variable are tried one by one, with backtracking, until all permitted combinations have been produced. For this example, this process can be understood most easily if we explore in turn the possible values for <i>connective(C).</i></p><p>Suppose first that <i>connective(C) = Cu </i>(i.e., that we try <i>although). </i>Through the constraint Subordinating Conjunction, this choice immediately fixes all values of <i>level, </i>yielding the following domains:</p><p><b>Constituent      Level    Indentation    Position Connective</b></p><doubt alpha="43.3" length="30" tooSmall="False" monospace="0.0">A (approve)       L0I0{P1,P2}C</doubt><doubt alpha="45.0" length="20" tooSmall="False" monospace="0.0">B (ban) L0I0{P1,P2}C</doubt><doubt alpha="64.3" length="28" tooSmall="False" monospace="0.0">C (concession)    L3I0P1Calt</doubt><p>The only remaining issue is the relative orders of the spans realizing <i>A </i>and <i>B. </i>Enu­merating arbitrarily on <i>position(A), </i>we first try the value P1; by Sister Position this immediately yields <i>position(B) = </i>P2, whereupon all values in the table are fixed. We therefore have our first complete solution:</p><doubt alpha="44.4" length="27" tooSmall="False" monospace="0.0">A ( approve)       L0I0P1C0</doubt><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">B (ban) L0I0P2C0</doubt><doubt alpha="62.1" length="29" tooSmall="False" monospace="0.0">C ( concession)    L3I0P1Calt</doubt><p>This is still only a blueprint for a document structure, but with these specifications the rest can be inferred. First, since the units realizing <i>A </i>and <i>B </i>are text-phrases, whereas the root unit realizing <i>C </i>is a paragraph, the program can interpolate the units needed to make a well-formed document structure: the paragraph has a single text-sentence, which has a single text-clause, which comprises the two text-phrases. Next, since <i>although </i>attaches to the satellite, the program coordinates it with the clause that will syntactically realize <i>B. </i>The document structure is now complete, and after syntactic realization of the two propositions we might obtain the following paragraph:</p><p>Solution 1: The FDA approves ElixirPlus, although it bans Elixir.</p><p>Backing up, the program can now try the alternative order in which <i>position(A)= </i>P2. After inferring the complete document structure in the same way, we thereby obtain a second solution:</p><p>Solution 2: Although the FDA bans Elixir, it approves ElixirPlus.</p><p>14 As Oates (2001) has shown, this is not true if <i>multiple </i>discourse connectives are allowed: For instance, one might say "The FDA bans Elixir but, however, it approves ElixirPlus." But in the present example, we assume, for simplicity, that only single discourse connectives are used.</p><page local="31" global="241"/><p><b>Constituent      Level Indentation    Position Connective</b></p><p>Having fully explored the possibilities with <i>connective(C) = </i>Calt, we back up and try the next value, namely, <i>Cbut. </i>This time the constraint Coordinating Conjunction applies, fixing the <i>position </i>values but leaving several possiblities for <i>level:</i></p><doubt alpha="52.0" length="25" tooSmall="False" monospace="0.0">A (approve){L0...L2}I0P2C</doubt><doubt alpha="40.9" length="22" tooSmall="False" monospace="0.0">B (ban){L0...L2}I0P1C0</doubt><doubt alpha="62.1" length="29" tooSmall="False" monospace="0.0">C ( concession)    L3I0P1Cbut</doubt><p>Enumerating on one of the <i>level </i>variables, for instance, <i>level(A), </i>we can now try in turn the values <i>L</i>0, <i>L</i>1, and <i>L</i>2 (text-phrase, text-clause, and text-sentence); by Sister Equality, any choice will be copied across to <i>level(B), </i>so that we obtain only three further solutions rather than nine:</p><p>Solution 3: The FDA bans Elixir, but it approves ElixirPlus. Solution 4: The FDA bans Elixir; but it approves ElixirPlus. Solution 5: The FDA bans Elixir. But it approves ElixirPlus.</p><p>Finally, we try the remaining option, for which <i>connective(C)=C</i>how. The constraint Conjunctive Adverb now applies, fixing the order of <i>A </i>and <i>B </i>and ruling out solutions for which these propositions are realized by text-phrases:</p><p><b>Constituent      Level      Indentation    Position Connective</b></p><doubt alpha="44.8" length="29" tooSmall="False" monospace="0.0">A (approve){L1, L2}    I0P2C0</doubt><doubt alpha="45.0" length="20" tooSmall="False" monospace="0.0">B (ban){L1,L2}I0P1C0</doubt><doubt alpha="62.1" length="29" tooSmall="False" monospace="0.0">C ( concession)    L3I0P1Chow</doubt><p>It remains to enumerate (as before) on <i>level(A), </i>trying in turn the values <i>L</i>1 and <i>L</i>2 (text-clause and text-sentence). Sister Equality again copies any selected value across to <i>level(B), </i>so that we obtain just two more solutions:</p><p>Solution 6: The FDA bans Elixir; however, it approves ElixirPlus. Solution 7: The FDA bans Elixir. However, it approves ElixirPlus.</p><p>Obviously further texts could be obtained by different wordings of the propo­sitions or different placements of <i>however </i>(e.g., "The FDA bans Elixir; the FDA ap­proves ElixirPlus, however"). But these variations do not concern us here, since we assume they are introduced during syntactic realization, not during document structuring.</p></subsection><subsection number="6.2" title="Complex Example"><p>To examine a more complex example, it is convenient to use a version of ICONOCLAST in which the wording of individual propositions is prespecified, so that the program's only task is to explore the set of possible document structures. The input to this program is provided in the form of an XML file using the tags <b>RhetRep </b>(for rhetorical relationships) and <b>SemRep </b>(for propositions) (Cahill et al. 1999). The roles of satellite and nucleus are distinguished implicitly by the order of the elements (satellite precedes nucleus). Thus the example discussed in the last section <i>concession(ban(fda, elixir), approve(fda, elixirplus))</i><page local="32" global="242"/></p><doubt alpha="7.7" length="13" tooSmall="False" monospace="0.0">I       ^«2.&amp;</doubt><p><b>5ad        </b>Home    Search Netscape</p><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">&lt;£ @t</doubt><p>Print    Security Shop</p><p>Generate <u>Name of model</u> <u>Number of versions</u></p><p>Concession - Evidence- Conjunction <u>Root text level</u> <u>Text-clauses (i.e. semicolons)</u> <u>Maximum number of indentations</u> <u>Maximum level</u> <u>of indented item</u> ^-phrase n <u>Indentation for whole text</u></p><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">500 □</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Section</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Allowed</doubt><p>Disallowed n <u>Expressing</u> <u>multinuclear</u> <u>relations</u> <u>nucleus-satellite</u></p><p>Indentation allowed n</p><p>Indentation disallowed n</p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">Figure 12</doubt><p>Running the document planner.</p><p>Number of versions = 58</p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 1 (0)</doubt><p>Elixir contains gestodene. However, the medicine has been thoroughly tested and it has no significant side-effects; consequently. Elixir is safe to use.</p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 2 (0)</doubt><p>Elixir contains gestodene; however since■ the medicine has been thoroughly tested</p><p>■ it has no significant side-effects</p><p>Elixir is safe to use.</p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 3 (0)</doubt><p>Elixir contains gestodene. However since</p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 4 (0)</doubt><p>could be encoded as follows:</p><p><b>&lt;RhetRep relation=concession&gt;</b> <b>&lt;SemRep prop="the FDA bans Elixir"/&gt;</b></p><p><b>&lt;SemRep prop="the FDA approves ElixirPlus"/&gt; &lt;/RhetRep&gt;</b></p><p>Obviously this will sometimes lead to some clumsy wording (e.g., through inappro­priate decisions on whether to use pronouns), but we can try to ignore this when evaluating the generated document structures.</p><p>As a more complicated example we will consider a rhetorical structure with two nucleus-satellite relations (evidence, concession) and one multinuclear relation (list):</p><p><b>&lt;SemRep prop="Elixir contains gestodene"/&gt; &lt;RhetRep relation=evidence&gt; &lt;RhetRep relation=list&gt;</b> <b>&lt;SemRep prop="the medicine has been thoroughly tested"/&gt; &lt;SemRep prop="it has no significant side effects"/&gt;</b> <b>&lt;/RhetRep&gt;</b></p><p><b>&lt;SemRep prop="Elixir is safe to use"/&gt; &lt;/RhetRep&gt; &lt;/RhetRep&gt;</b></p><p>The main idea here is that Elixir is safe to use although it contains gestodene; the claim that Elixir is safe is supported by evidence comprising two conjoined facts: It has been thoroughly tested, and it has no significant side effects.</p><p>Figure 12 shows a snapshot of the program running on this example. Through the control panel on the left, the user can decide which XML model to use as input; in the figure, this is set to "Concession-Evidence-Conjunction," the name given to this input model.<page local="33" global="243"/> Using the button labeled "Number of versions," the user can determine the maximum number of versions that will be generated; since this has been set to 500, the program will return the first 500 solutions that it finds.<footnote anchor="15"/> The other buttons control hard constraints and have been set deliberately to rather restrictive values (e.g., indented items have been allowed only to one level of indentation and may consist only of text-phrases, not larger units like text-sentences or paragraphs). Even with these restrictive settings, 58 solutions have been generated; they are presented in the pane on the right, ordered (partially) from best to worst. The scores in parentheses after the version number report the number of defects that the program detected for that particular version: thus for each of the solutions that appear in the snapshot, no defects were found.<footnote anchor="16"/> As a comparison, here is version 58, which came up at the bottom of the class with six defects:</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 58 (6)</doubt><p>Elixir contains gestodene.</p><p>However, the medicine has been thoroughly tested.</p><p>It has no significant side effects.</p><p>Consequently, Elixir is safe to use.</p><p>The specific defects cited here were "Single-sentence paragraph" (occurring four times) and "Lost rhetorical grouping" (occurring twice). (The defects are explained below, and the full set of solutions is given in the Appendix.)</p><p>At present the program looks for six stylistic defects, which are formulated mainly by looking at generated solutions and making an intuitive judgment as to why they are bad. We have not tried to give the stylistic assessment a sound theoretical or empirical basis; the aim at this stage is to confirm that by applying some simple intuitive principles, we can separate reasonably good solutions from obviously horrible ones. The six defects are as follows (and we stress again that they are only provisional):</p><p>Nucleus precedes satellite: It is generally the case for English that the more im­portant information is placed at the end of the sentence (i.e., <i>end focus </i>[Quirk et al. 1985]). For example, the rheme of a sentence comes after its theme, and new information is typically placed after given information (Halliday 1985; Givon 1988). There is also psycholinguistic evidence to suggest that sentences that conform to this general pattern are processed more easily (Yekovich, Walker, and Blackman 1979). Since by definition the nucleus is more important than the satellite (Mann and Thompson 1986, page 6), it thus makes sense to place the nucleus second. Obviously this principle is debatable, and the best order might differ from one relation to another, but we have noticed that for the very common relations such as concession and evidence, the order satellite-nucleus seems to work better. The program therefore scores a defect every time that a nucleus is placed before its satellite.</p><p>Left-branching structure: Fodor, Bever, and Garrett (1974) report that left-branching structures take more time to process and remember than right-branching</p><p>15 Obviously, if there are fewer than 500 solutions, it will return all the solutions it finds.</p><p>16 When it finds a defect in a version, the system also reports on the type of defect that it finds.</p><page local="34" global="244"/><p>ones. We have also noticed that when a document structure coordinates two units of different sizes, it reads best when the smaller unit is placed first. We believe that this may be related to the more general organizational principle of <b>end weight </b>(Quirk et al. 1985). Thus in the program, when an elementary proposition is coordinated with a unit containing several propositions, a defect is scored whenever the elementary proposition is placed second.</p><p>Lost rhetorical grouping: As discussed, our method of document structuring does not demand an isomorphism between rhetorical structure and document structure; consequently, a grouping that is present in rhetorical structure may be left implicit in the document structure. Although we allow a group­ing to be lost in this way, a defect is scored every time it is found to have occurred.</p><p>Single-sentence paragraph: Paragraphs containing a single text-sentence usually look strange, so they are scored as a defect.</p><p>Oversimple text-clauses: We noticed this subtle defect only as a result of experi­ence with the program. In most cases it looks odd to compose a sentence from two text-clauses, each expressing a single proposition:</p><p>Elixir contains gestodene; therefore, it is banned by the FDA. The FDA bans Elixir; however, it approves ElixirPlus.</p><p>Assuming it is agreed that these sentences are a little strange, why should this be so? We would suggest the following reason. The semicolon is a somewhat unusual device, more sophisticated than the comma, and one therefore expects it to be used only when ordinary methods are unsatis­factory. In these examples, containing only two propositions, a single text-clause using conjunctions (e.g., since, although) instead of adverbs would express the meaning equally clearly, so the semicolon seems unnecessary, and therefore distracting. A defect is therefore scored every time this is found to have happened.</p><p>Repeated discourse connective: If a rhetorical structure contains two relations of the same type, one dominating the other, a defect is scored if they are expressed using the same discourse connective. Here is a simple example of this defect (repetition of <i>although), </i>followed by an alternative solution that avoids the defect:</p><p>The FDA approves ElixirPlus although it bans Elixir although Elixir has been thoroughly tested.</p><p>The FDA approves ElixirPlus but it bans Elixir although Elixir has been thoroughly tested.</p></subsection></section><section number="7." title="Discussion and Conclusion"><p>Our main aim has been to introduce and motivate <i>abstract document structure </i>as an important representational level in natural language processing. This proposal rests on two separate claims: first, that it is useful to distinguish abstract document structure from concrete graphical realization; second, that abstract document structure should also be distinguished from rhetorical structure.</p><page local="35" global="245"/><subsection number="7.1" title="Abstract versus Concrete"><p>We argue that the transition from a rhetorical-semantic message to a fully specified document can usefully be divided into two stages. During the first stage, the author puts the message into words and organizes the words into higher linguistic units like sentences, paragraphs, and bulleted lists. All decisions pertaining to the realization of literal content take place during this stage. During the second stage, detailed format­ting takes place: quotations are realized either by single or double quotes (or some other method); emphasis is realized through italics, boldface, small capitals, or under­lining; paragraphs are realized through an introductory tab or double line spacing; and so forth. Decisions about format do not affect the factual or logical content of the document, although they might convey "meanings" of a subtler sort, communicated through the typographical preferences of the authors (e.g., traditional versus trendy, ornamental versus puritanical, compact versus expansive).</p><p>It is worth noting that similar distinctions are made in other branches of linguistics. Thus in phonology, a distinction is made between a <b>phonemic </b>level and a <b>phonetic </b>level. The word <i>grass </i>has a single phonemic representation but will be pronounced differently by people from different regions or different social classes; these distinctions are phonetic, not phonemic. To refer to an area in the garden as <i>grass </i>rather than <i>lawn </i>is one kind of decision; to pronounce <i>grass </i>with a short or long vowel is another. A theory that mapped directly from the semantic concept to the phonetic form would miss a generalization that is not only obvious theoretically, but useful practically. The invention of writing provides additional support for an intermediate phonemic level, because the different pronunciations of <i>grass </i>are all written down in the same way; similarly, we would argue, the representational level of abstract document structure has received more recent support from the invention of markup languages like HTML and LTEX.</p><p>The concept of abstract document structure is not linked to any particular architec­ture for natural language generation or understanding. In the RAGS "reference archi­tecture" for NLG (Mellish et al. 2000; Cahill et al. 2001), document structure is distin­guished from rhetorical structure as a data type, with no commitment as to when these two data structures are created during the generation process. The ICONOCLAST sys­tem, described in this article, assumes that rhetorical planning fully precedes document structuring: in other words, the RST tree has to be complete before the process of cre­ating a document structure can begin. Such an architecture could be thought of as a refinement of the standard pipeline (Reiter 1994), with the document-planning phase divided into two parts (rhetorical planning and document structuring). However, the ICONOCLAST method would work equally well if a partial assignment of document structure was part of its input: This would be treated merely as a more specific set of constraints on possible solutions, which is precisely the arrangement that is used in the RAGS reimplementation of the Caption Generation System (Mellish et al. 2000).</p></subsection><subsection number="7.2" title="Document Structure versus Rhetorical Structure"><p>In the terminology of HTML and other mark-up languages, tags like <b>section </b>and <b>description list </b>are sometimes called <i>logical, </i>suggesting that they are rhetorical rather than linguistic categories. We have argued that this is a mistake, comparable to a confusion of syntax with semantics. In our view, the term <i>rhetorical structure </i>should properly be applied to the higher-level pragmatic and semantic organization of the message, with no commitment to the means by which this message will be expressed— whether by speech, or gesture, or diagram, or written document. By contrast, the categories <b>section </b>and <b>description list </b>are specific to a particular medium, the written document; hence the term <i>document structure. </i>The two levels are easily confused because we often refer to spans of a document using a noun that describes their rhetorical role (e.g., <i>summary </i>in an academic paper).<page local="36" global="246"/></p><p>Some of the distinctions made in this article have parallels in work on document analysis. Various representations for document structure have been proposed in the document analysis community, of which the most developed is the Document Attribute Format Specification (DAFS) (Dori et al. 1997). In DAFS, the physical structure of a document is distinguished from its logical structure; typical physical units are block, frame, page, and page set, and typical logical units are sentence, paragraph, section, and header. More formally, the units of logical structure, called <b>textons, </b>are organized into levels from character (level 0), word (level 1), and sentence or phrase (level 2) up to sections and whole documents; the lower levels (up to paragraph) are called <b>sim­ple textons, </b>and the higher levels are called <b>compound textons. </b>Simple textons are realized through blocks of text, whereas compound textons additionally have a head­ing and (optionally) a trailer. There is considerable overlap here with our distinction between concrete and abstract document structure; differences arise because the anal­ysis community is concerned mainly with the relationship between logical structure and physical structure (to use that community's terminology), whereas the generation community, coming from the opposite direction, is concerned mainly with the rela­tionship between logical structure (i.e., abstract document structure) and rhetorical structure.</p><p>Having drawn these distinctions, we have sketched a formal theory of abstract document structure and shown through an implemented NLG system that this theory allows us to enumerate systematically the high-level linguistic structures that can real­ize a given rhetorical-semantic input. The formal description of document structure is based on Nunberg's (1990) text-grammar, which we have extended in two ways. First, we introduce larger units such as sections and chapters; Nunberg instead focuses on the levels relevant for punctuation (i.e., text-sentence and below). Secondly, we intro­duce a second feature, abstract indentation. Whereas Nunberg categorizes units only according to the feature we have called level (the hierarchy from text-phrase, text-clause, etc., up to section and chapter), we categorize units according to two features, level and indentation. This allows the generation of such patterns as bulleted lists, including more complex cases in which one list is embedded within another. Using this descriptive scheme, it has proved relatively easy to state constraints on the inter­action between content, layout, and wording, especially as regards the use of discourse connectives.</p><p>By introducing a formal scheme for representing document structure, we have been able to define the task of document structuring in a simple and clear way. Fol­lowing Scott and Souza (1990) and many other researchers on NLG, it is assumed that the rhetorical input takes the form of an RST tree; the output is a tree rep­resenting high-level linguistic structure, each node being labeled with a document structure category defined by the features level and indentation. Our scheme is by no means complete (e.g., it has no treatment of tables, or figures, or text presented in boxes); however, it is sufficient to generate hundreds of alternative solutions even for a rhetorical structure containing only four or five elementary propositions. By clarifying the task of document structuring in this way, we have been able to de­fine it as a constraint satisfaction problem and thus to implement a system in which the relevant constraints are defined declaratively; this means that constraints can be added or removed without changing the rest of the program. Such a system is use­ful not only as a module in an NLG architecture, but also as a tool for theoretical investigation: the results of any proposed combination of constraints can be quickly tested.</p><page local="37" global="247"/><p>In pursuing this investigation, our methodology has been essentially the same as Nunberg's, relying largely on intuition as a means of separating the wheat from the chaff. Moreover, by implementing the theory in a system that can enumerate solutions systematically, we are able to test more thoroughly any proposed rule or constraint, at least for simple examples. This methodology assumes, first, that intuition is a reliable guide, and second, that constraints derived from small examples will apply also to full-scale examples. In the initial stages of an investigation, these assumptions seem reasonably safe. Many of the solutions generated by the program are so obviously good or bad that there is no point in submitting them to the judgment of literary experts or subjecting them to some other kind of empirical test. No doubt large-scale examples will require additional constraints, but much can still be learned from simple ones: an intrinsically bad paragraph will usually remain bad when placed into a larger context.</p><p>As a contrast, it is interesting to consider the investigation into layout by Bateman et al. (2001). Their approach could not be more different from ours. Instead of sim­ple examples, they analyze (and regenerate) an exceedingly complicated page from a magazine. This page, which describes the game of hockey, includes several drawings, a photograph, diagrams of the pitch, boxes of text, two headers, and a glossary, all laid out in five different grids, each having a different division into columns. Their RST analysis of this page is correspondingly complex, with 45 elementary propositions and the same number of rhetorical relationships (the whole RST tree therefore has nearly 100 nodes). To analyze such an example informally may be a useful source of insights, but to attempt a complete formal analysis (and generation) of the page seems bold in the extreme. However, despite this difference in approach, the framework that emerges from Bateman et al.'s work is broadly similar to ours. First, a distinc­tion is made between "layout structure" and "physical layout" (Bateman et al. 2001, section 3.1); although the discussion concerns boxes in a grid rather than more con­ventional linguistic units like section and paragraph, this distinction reflects the need for an abstract level of representation that can be related more easily to the rhetor­ical structure of the message. Secondly, in sections 4 and 5 of their article, Bateman et al. distinguish clearly between layout structure and rhetorical structure, pointing out that the two are not necessarily isomorphic and that constraints on the mapping must therefore be considered:</p><p>Mapping is generally achieved by placing parts of the RST-structure in correspondence with particular nodes in layout structure. [...]As we have now seen, however, this correspondence is complicated by the fact that the layout structure and the RST tree need not remain congruent.</p><doubt alpha="48.4" length="31" tooSmall="False" monospace="0.0">(Bateman et al. 2001, page 430)</doubt><p>However, Bateman and his colleagues do not provide a detailed account of the forma­tion rules for layout structure, or of the constraints on the mapping between the RST tree and the layout structure. We are unsure, for example, whether "layout structure" would include such patterns as sections, paragraphs, and bulleted lists. Nevertheless, the role played by these two abstract representations seems similar—they mediate be­tween rhetorical structure and physical layout—so there is some reason to think that the two approaches are yielding results that are compatible.</p><p>Both in the Bateman et al. study and in our own work, a problem arises as to how the proposed representations and constraints should be validated. Our own approach, at least provisionally, has been that the theory should be embodied in a program that can generate many alternative solutions and rank them using some kind of cost function; at this point, we rely on intuition to judge whether the system has generated a plausible set of solutions and ranked them in an appropriate order.<page local="38" global="248"/> For the very complex examples considered by Bateman et al., the set of solutions could only be sampled: Even keeping the wording of individual propositions constant, they would number billions. Evaluation in this field has to take account of style as well as quality; in other words, it has a subjective side as well as an objective one. The problem is not just to generate a good solution, but to generate one that satisfies a set of subjective preferences, so that, for example, different documents produced for the same company will exhibit the desired consistency of style. Eventually, some kind of empirical investigation will be needed (e.g., an expert evaluation, or a study of the impression made on the intended readers). At the present state of knowledge, however, such refinements seem exaggerated: If we can separate the satisfactory from the barbaric, we will be more than content.</p></subsection></section><section title="Acknowledgments"><p>The research presented in this article was carried out as part of the ICONOCLAST project (http://www.itri.bton.ac.uk/projects/iconoclast), with funding from Engineering and Physical Sciences Research Council grant number L77102. We are extremely grateful to Kees van Deemter and three anonymous reviewers for their critical feedback on an earlier draft of this article.</p></section><references><p>Arens, Yigal and Eduard Hovy. 1990. Text layout as a problem of modality selection. In <i>Proceedings of the Fifth Conference on Knowledge-Based Specification, RADC Workshop, </i>pages 87-94, Syracuse, New</p><p>York.</p><p>Association of British Pharmaceutical Industry (ABPI). 1997. <i>Compendium of Patient Information Leaflets. </i>Association of British Pharmaceutical Industry, London.</p><p>Bateman, John, Thomas Kamps, Jorge Kleinz, and Klaus Reichenberger. 2001. Towards constructive text, diagram, and layout generation for information presentation. <i>Computational Linguistics, </i>27(3):409-449.</p><p>Bolinger, Dwight, editor. 1972. <i>Intonation. </i>Penguin, Harmonsworth, England.</p><p>Bouayad-Agha, Nadjet. 2000. Using an abstract rhetorical representation to generate a variety of pragmatically congruent texts. In <i>Proceedings of the 38th Annual Meeting of the Association for Computational Linguistics (ACL), Student Workshop, </i>pages 16-22, Hong Kong, October.</p><p>Bouayad-Agha, Nadjet. 2001. The role of document structure in text generation. Ph.D. thesis, University of Brighton,</p><p>Brighton, U.K. Also available as Technical Report ITRI-01-24, Information Technology Research Institute, University of Brighton, Brighton, U.K. Bouayad-Agha, Nadjet, Richard Power, and Donia Scott. 2000. Can text structure be incompatible with rhetorical structure? In <i>Proceedings of the International Natural Language Generation Conference, </i>pages 194-200, Mitzpe Ramon, Israel, June 12-16.</p><p>Bouayad-Agha, Nadjet, Donia Scott, and Richard Power. 2000. Integrating content and style in documents: A case study of patient information leaflets. <i>Information Design, </i>9(2):161-176.</p><p>Bouayad-Agha, Nadjet, Donia Scott, and Richard Power. 2001. The influence of layout on the interpretation of referring expressions. In L. Degand, Y. Bestgen, W. Spooren, and L. van Waes, editors, <i>Multidisciplinary Approaches to Discourse. </i>Amsterdam, Nodus, pages 133-141. Also presented as a paper at the Multidisciplinary Approaches to Discourse (MAD) workshop, Ittre,</p><p>Belgium, August 2001. A slightly modified version is also available as Technical Report ITRI-01-23, Information Technology Research Institute, University of Brighton, Brighton, U.K. Cahill, Lynne, John Carroll, Roger Evans, Daniel Paiva, Richard Power, Donia Scott, and Kees van Deemter. 2001. From rags to riches: Exploiting the potential of a flexible generation architecture. In <i>Proceedings of the 39th Annual Meeting of the Association for Computational Linguistics (ACL'01), </i>Toulouse, France, pages 98-105. Also available as Technical Report ITRI-01-07, Information Technology Research Institute, University of Brighton,</p><p>Brighton, U.K.</p><page local="39" global="249"/><p>Cahill, Lynne, Christine Doran, Roger Evans, Chris Mellish, Daniel Paiva, Mike Reape, Donia Scott, and Neil Tipper. 1999. Towards a reference architecture for natural language generation systems. Technical Report ITRI-99-14, Information Technology Research Institute, University of Brighton, Brighton, U.K.</p><p>Chomsky, Noam and Morris Halle. 1968. <i>The Sound Pattern of English. </i>Harper and Row, New York.</p><p>Coch, Jose. 1996. Overview of AlethGen. In <i>Demonstrations and Posters ofthe Eighth International Natural Language Generation Workshop (INLG'96), </i>Herstmonceux Castle, Sussex, U.K., pages 25-28.</p><p>Crystal, David. 1969. <i>Prosodic Systems and Intonation in English. </i>Cambridge University Press, Cambridge.</p><p>DiMarco, Chrysanne, Graeme Hirst, Leo Wanner, and John Wilkinson. 1995. Healthdoc: Customizing patient information and health education by medical condition and personal characteristics. In <i>First International Workshop on Artificial Intelligence in Patient Education, </i>Glasgow, August.</p><p>Dori, Dov, David Doermann, Christian Shin, Robert Haralick, Ihsin Phillips, Mitchell Buckman, and David Ross. 1997. The representation of document structure: A generic object-process analysis. In P. Wang and H. Bunke, editors, <i>Handbook on Optical Character Recognition and Document Image Analysis. </i>World Scientific, Singapore, pages 421-456.</p><p>Fodor, Janet, Thomas Bever, and Merril Garrett. 1974. <i>The Psychology of Language. </i>McGraw-Hill, New York.</p><p>Ford, Andrew and Tim Dixon. 1996.</p><p><i>Spinning the Web. </i>International Thompson Computer, London.</p><p>Givon, Talmy. 1988. The pragmatics of word order: Predictability, importance and attention. In M. Hammond, E. Moravcsik, and J. Werth, editors, <i>Studies in Syntactic Typology. </i>John Benjamins, Amsterdam, pages 243-284.</p><p>Halliday, Michael. 1967. <i>Intonation and Grammar in British English. </i>Mouton, the Hague.</p><p>Halliday, Michael. 1985. <i>An Introduction to Functional Grammar. </i>Edward Arnold, Baltimore.</p><p>Hentenryck, Pascal Van. 1989. <i>Constraint Satisfaction in Logic Programming. </i>MIT Press, Cambridge.</p><p>Huang, Xiaorong and Armin Fiedler. 1997. Proof verbalization as an application of NLG. In <i>Proceedings of the 16th International Joint Conference on Artificial Intelligence</i> <i>(IJCAI'97), </i>Nagoya, Japan, pages 965-970.</p><p>Knott, Alistair. 1996. <i>A Data-Driven Methodology for Motivating a Set of Coherence Relations. </i>Ph.D. thesis, University of Edinburgh, Edinburgh, U.K.</p><p>Knott, Alistair, John Oberlander, Mick O'Donnell, and Chris Mellish. 2001. Beyond elaboration: The interaction of relations and focus in coherent text. In T. Sanders, J. Schilperoord, and W. Spooren, editors, <i>Text Representation: Linguistic and Psycholinguistics Aspects. </i>Benjamins, Amsterdam, pages 181-196.</p><p>Ladd, Robert. 1996. <i>Intonational Phonology. </i>Cambridge University Press, Cambridge.</p><p>Landman, Fred. 1991. <i>Structures for Semantics, </i>volume 45 in <i>Studies in Linguistics and Philosophy. </i>Kluwer Academic.</p><p>Lavoie, Benoit and Owen Rambow. 1997. A fast and portable realizer for text generation systems. In <i>Proceedings ofthe Fifth Conference on Applied Natural Language Processing (ANLP'97), </i>Washington, D.C., pages 265-68.</p><p>Mann, William and Sandra Thompson.</p><p>1986. Rhetorical structure theory: Description and construction of text structures. In <i>Proceedings ofthe Third International Workshop on Text Generation, </i>Nijmegen, the Netherlands, August.</p><p>1987. Rhetorical structure theory: A theory of text organization. Technical Report ISI/RS-87-190, Information Sciences Institute, University of Southern California, Marina del Rey.</p><p>Marcu, Daniel. 1997. From local to global coherence: A bottom-up approach to text planning. In <i>Proceedings of the 14th National Conference on Artificial Intelligence, </i>Providence, Rhode Island, July. AAAI, Menlo Park, California, pages 629-635.</p><p>Mellish, Chris, Roger Evans, Lynne Cahill, Christine Doran, Daniel Paiva, Mike Reape, Donia Scott, and Neil Tipper. 2000. A representation for complex and evolving data dependencies in generation. In <i>Proceedings ofthe Sixth Applied Natural Language Processing Conference (ANLP'00), </i>Seattle.</p><p>Mittal, Vibhu, Johanna Moore, Guiseppe</p><p>Carenini, and Steven Roth. 1998.</p><p>Describing complex charts in natural language: A caption generation system.</p><p><i>Computational Linguistics, </i>24(3):431-468. Moore, Johanna and Martha Pollack. 1992.</p><p>A problem for RST: The need for multi-level discourse analysis.</p><p><i>Computational Linguistics, </i>18(4):537-544. Moser, Megan and Johanna Moore. 1996.</p><page local="40" global="250"/><p>Brighton, U.K.</p><p>Towards a synthesis of two accounts of discourse structure. <i>Computational</i> <i>Linguistics, </i>22(3):409-419.</p><p>Nunberg, Geoff. 1990. <i>The Linguistics of Punctuation, </i>volume 18 in <i>CSLI Lecture Notes. </i>CSLI, Stanford, California.</p><p>Oates, Sarah. 2001. Generating multiple discourse markers in text. Master's thesis, University of Brighton, Brighton, U.K. Also available as Technical Report ITRI-01-25, Information Technology Research Institute, University of Brighton,</p><p>Paris, Cecile, Keith Vander Linden, Marcus Fischer, Anthony Hartley, Lynne Pemberton, Richard Power, and Donia Scott. 1995. A support tool for writing multilingual instructions. In <i>Proceedings of the Fourteenth International Joint Conference in Artificial Intelligence (IJCAI-95), </i>pages</p><doubt alpha="63.2" length="38" tooSmall="False" monospace="0.0">1398-1404. Also available as Technical</doubt><p>Report ITRI-95-11, Information Technology Research Institute, University of Brighton, Brighton, U.K., http://www.itri.bton.ac.uk/techreports/.</p><p>Pierrehumbert, Janet. 1980. <i>The Phonology and Phonetics ofEnglish Intonation. </i>Ph.D. thesis, Massachusetts Institute of Technology, Cambridge.</p><p>Power, Richard. 2000. Planning texts by constraint satisfaction. In <i>Proceedings ofthe 18th International Conference in Computational Linguistics (COLING), </i>Saarbrücken, Germany, pages 642-648.</p><p>Power, Richard and Nico Cavallotto. 1996. Multilingual generation of administrative forms. In <i>Proceedings ofthe Eighth International Workshop on Natural Language Generation, </i>Herstmonceux Castle, Sussex,</p><p>U.K., pages 17-19.</p><p>Quirk, Randolph, Sidney Greenbaum, Geoffrey Leech, and Jan Svartvik. 1985. <i>A Comprehensive Grammar of the English Language. </i>Longman, London.</p><p>Reiter, Ehud. 1994. Has a consensus NL generation architecture appeared, and is it psycholinguistically plausible? In <i>Proceedings ofthe Seventh International Workshop on Natural Language Generation (INLGW-1994), </i>Kennebunkport, Maine, pages 163-170.</p><p>Reiter, Ehud and Robert Dale. 2000. <i>Building Natural Language Generation Systems. </i>Cambridge University Press, Cambridge.</p><p>Rosner, Dietmar and Manfred Stede. 1992. Customizing RST for the automatic production of technical manuals. In R. Dale, D. Roesner, E. H. Hovy, and O. Stock, editors, <i>Aspects ofAutomated Natural Language Generation. </i>Springer-Verlag, Heidelberg, pages 199-214.</p><p>Schriver, Karen. 1997. <i>Dynamics in Document Design: Creating Text for Readers. </i>Wiley Computer, New York.</p><p>Scott, Donia and Clarisse de Souza. 1990. Getting the message across in RST-based text generation. In R. Dale, C. Mellish, and M. Zock, editors, <i>Current Research in Natural Language Generation, </i>volume 4 in <i>Cognitive Science Series. </i>Academic Press, New York, pages 47-73.</p><p>Scott, Donia and Cecile Paris. 1995. Identifying the mapping of semantics onto language: Going beyond the text. In <i>Working Papers ofthe AAAI Symposium on Empirical Methods in Discourse Interpretation and Generation, </i>Stanford University, Stanford, California, March.</p><p>Scott, Donia and Richard Power. 2001. Generating textual diagrams and diagrammatic texts. In H. Bunt and R-J. Beun, editors, <i>Cooperative Multimodal Communication, </i>volume 2155 in <i>Lecture Notes in Artificial Intelligence. </i>Springer-Verlag, Berlin, pages 13-29. Also available as Technical Report ITRI-01-02, Information Technology Research Institute, University of Brighton,</p><p>'t Hart, Johan, Rene Collier, and Antonie Cohen. 1990. <i>A Perceptual Study of Intonation, </i>in series <i>Cambridge Studies in Speech Science and Communication. </i>Cambridge University Press, Cambridge.</p><p>Yekovich, Frank, Carol Walker, and Harold Blackman. 1979. The role of presupposed and focal information in integrating sentences. <i>Journal of Verbal Learning and Verbal Behavior, </i>18:535-548.</p><page local="41" global="251"/><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 2 (0)</doubt></references><appendix title="Appendix"><doubt alpha="63.9" length="36" tooSmall="False" monospace="0.0">Number of versions = 58Version 1 (0)</doubt><p>Elixir contains gestodene. However, the medicine has been thoroughly tested and it has no significant side effects; consequently, Elixir is safe to use.</p><p>Elixir contains gestodene; however, since• the medicine has been thoroughly tested</p><p>• it has no significant side effects</p><p>Elixir is safe to use. <b>Version 3 (0)</b></p><p>Elixir contains gestodene. However, since</p><p>Elixir is safe to use. <b>Version 4 (0)</b></p><p>Elixir contains gestodene; however, so Elixir is safe to use. <b>Version 5 (0)</b></p><p>Elixir contains gestodene. However, so Elixir is safe to use.</p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 6 (0)</doubt><p>• it has no significant side effects;</p><p>consequently, Elixir is safe to use. <b>Version 7 (1)</b></p><p>Elixir contains gestodene. However, the medicine has been thoroughly tested and it has no significant side effects. Consequently, Elixir is safe to use.</p><p><i>Lost rhetorical grouping</i><page local="42" global="252"/></p><p>Elixir is safe to use.</p><p>• the medicine has been thoroughly tested</p><p>• it has no significant side effects</p><p>so Elixir is safe to use.</p><p>Elixir contains gestodene. However, the medicine has been thoroughly tested and it has no significant side effects. Consequently, Elixir is safe to use.</p><p><i>Lost rhetorical grouping</i> <i>Single-sentence paragraph</i></p><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 8 (1)</doubt><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">Version 9 (1)</doubt><p>Although Elixir contains gestodene since</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 10 (1)</doubt><p>Although Elixir contains gestodene</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 11 (1)</doubt><p>Elixir contains gestodene but since</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 12 (1)</doubt><p>Elixir contains gestodene but</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 13 (1)</doubt><p>Elixir contains gestodene; however, Elixir is safe to use since <i>Nucleus precedes satellite</i>• it has no significant side effects.</p><page local="43" global="253"/><p>• the medicine has been thoroughly tested</p><p>Elixir contains gestodene; however,</p><p>Elixir contains gestodene. However, <i>Lost rhetorical grouping</i> <i>Nucleus precedes satellite</i>• it has no significant side effects;</p><p>• it has no significant side effects.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 14 (1)</doubt><p>Elixir contains gestodene. However, since the medicine has been thoroughly tested and it has no significant side effects Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 15 (1)</doubt><p>Elixir contains gestodene. However, Elixir is safe to use since</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 16 (1)</doubt><p>Elixir contains gestodene; however, the medicine has been thoroughly tested and it has no significant side effects so Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 17 (1)</doubt><p>Elixir contains gestodene. However, the medicine has been thoroughly tested and it has no significant side effects so Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 18 (1)</doubt><p>Elixir contains gestodene; however, the medicine has been thoroughly tested and it has no significant side effects; consequently, Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 19 (1)</doubt><p>consequently, Elixir is safe to use. <i>Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 20 (1)</doubt><p>Elixir contains gestodene; however, since the medicine has been thoroughly tested and it has no significant side effects Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 21 (1)</doubt><p>Consequently, Elixir is safe to use. <i>Lost rhetorical grouping</i><page local="44" global="254"/>• the medicine has been thoroughly tested</p><p>• it has no significant side effects</p><p>Elixir contains gestodene. However,• it has no significant side effects.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 22 (1)</doubt><p>Consequently, Elixir is safe to use. <i>Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 23 (2)</doubt><p>Elixir contains gestodene but since the medicine has been thoroughly tested and it has no significant side effects Elixir is safe to use.</p><p><i>Lost rhetorical grouping Lost rhetorical grouping</i> so Elixir is safe to use although Elixir contains gestodene.• The medicine has been thoroughly tested</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 24 (2)</doubt><p><i>Nucleus precedes satellite Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 25 (2)</doubt><p>Elixir contains gestodene but the medicine has been thoroughly tested and it has no significant side effects so Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 26 (2)</doubt><p>Elixir contains gestodene but Elixir is safe to use since</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 27 (2)</doubt><p>Elixir contains gestodene; however, Elixir is safe to use since the medicine has been thoroughly tested and it has no significant side effects.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 28 (2)</doubt><p>Although Elixir contains gestodene since the medicine has been thoroughly tested and it has no significant side effects Elixir is safe to use.</p><page local="45" global="255"/><p>Elixir is safe to use.</p><p>Elixir contains gestodene.</p><p>• the medicine has been thoroughly tested</p><p>• it has no significant side effects</p><p>Elixir contains gestodene. However, since <i>Lost rhetorical grouping Lost rhetorical grouping</i> <i>Nucleus precedes satellite Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 29 (2)</doubt><p>Elixir contains gestodene. However, Elixir is safe to use since the medicine has been thoroughly tested and it has no significant side effects.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 30 (2)</doubt><p>However, the medicine has been thoroughly tested and it has no significant side effects; consequently, Elixir is safe to use.</p><p><i>Single-sentence paragraph Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 31 (2)</doubt><p>Although Elixir contains gestodene the medicine has been thoroughly tested and it has no significant side effects so Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 32 (2)</doubt><p>Elixir contains gestodene. However, the medicine has been thoroughly tested; it has no significant side effects; consequently, Elixir is safe to use.</p><p><i>Lost rhetorical grouping Oversimple text-clauses</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 33 (2)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 34 (2)</doubt><p>Elixir contains gestodene. However, the medicine has been thoroughly tested; it has no significant side effects. Consequently, Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 35 (2)</doubt><p>Elixir contains gestodene. However, the medicine has been thoroughly tested. It has no significant side effects. Consequently, Elixir is safe to use.</p><page local="46" global="256"/><p>Elixir contains gestodene.</p><p>• the medicine has been thoroughly tested</p><p>• it has no significant side effects</p><p>Elixir contains gestodene. However, so Elixir is safe to use.</p><p>• it has no significant side effects;</p><p><i>Nucleus precedes satellite Lost rhetorical grouping</i></p><p>However, the medicine has been thoroughly tested. It has no significant side ef­fects. Consequently, Elixir is safe to use.</p><p><i>Single-sentence paragraph Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 36 (2)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 37 (2)</doubt><p>However, the medicine has been thoroughly tested; it has no significant side effects. Consequently, Elixir is safe to use.</p><p><i>Single-sentence paragraph Oversimple text-clauses</i> <i>Single-sentence paragraph Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 38 (2)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 39 (2)</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Since</doubt><p>Elixir is safe to use although Elixir contains gestodene.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 40 (2)</doubt><p>consequently, Elixir is safe to use.</p><page local="47" global="257"/><p>Elixir contains gestodene.</p><p>• the medicine has been thoroughly tested</p><p>• it has no significant side effects.</p><p><i>Nucleus precedes satellite Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 41 (2)</doubt><p>Although Elixir contains gestodene Elixir is safe to use since</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 42 (3)</doubt><p>However, Elixir is safe to use since <i>Single-sentence paragraph Nucleus precedes satellite Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 43 (3)</doubt><p>Since the medicine has been thoroughly tested and it has no significant side effects Elixir is safe to use although Elixir contains gestodene.</p><p><i>Nucleus precedes satellite Lost rhetorical grouping Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 44 (3)</doubt><p>The medicine has been thoroughly tested and it has no significant side effects so Elixir is safe to use although Elixir contains gestodene.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 45 (3)</doubt><p>However, since the medicine has been thoroughly tested and it has no significant side effects Elixir is safe to use.</p><p><i>Single-sentence paragraph Single-sentence paragraph Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 46 (3)</doubt><p>Although Elixir contains gestodene Elixir is safe to use since the medicine has been thoroughly tested and it has no significant side effects.</p><page local="48" global="258"/><p>Elixir contains gestodene.</p><p>Consequently, Elixir is safe to use.</p><p>• the medicine has been thoroughly tested</p><p>• it has no significant side effects</p><p>Elixir contains gestodene. However,• it has no significant side effects.</p><p>Elixir contains gestodene but Elixir is safe to use since the medicine has been thor­oughly tested and it has no significant side effects.</p><p><i>Nucleus precedes satellite Lost rhetorical grouping Lost rhetorical grouping</i> <i>Single-sentence paragraph Single-sentence paragraph Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 47 (3)</doubt><p>However, the medicine has been thoroughly tested. It has no significant side ef­fects.</p><p><i>Single-sentence paragraph Lost rhetorical grouping Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 48 (3)</doubt><p>Elixir is safe to use since although Elixir contains gestodene.</p><p><i>Nucleus precedes satellite Nucleus precedes satellite Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 49 (3)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 50 (3)</doubt><p>Elixir contains gestodene; however, the medicine has been thoroughly tested; it has no significant side effects; consequently, Elixir is safe to use.</p><p><i>Lost rhetorical grouping Lost rhetorical grouping Oversimple text-clauses</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 51 (3)</doubt><p>However, the medicine has been thoroughly tested and it has no significant side effects so Elixir is safe to use.</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 52 (3)</doubt><page local="49" global="259"/><p>Elixir contains gestodene.</p><p>Consequently, Elixir is safe to use.</p><p>However, the medicine has been thoroughly tested; it has no significant side effects. Consequently, Elixir is safe to use.</p><p><i>Single-sentence paragraph Lost rhetorical grouping Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 53 (4)</doubt><p>However, the medicine has been thoroughly tested; it has no significant side effects; consequently, Elixir is safe to use.</p><p><i>Single-sentence paragraph Single-sentence paragraph Lost rhetorical grouping Oversimple text-clauses</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 54 (4)</doubt><p>Elixir is safe to use since the medicine has been thoroughly tested and it has no significant side effects although Elixir contains gestodene.</p><p><i>Nucleus precedes satellite Nucleus precedes satellite Lost rhetorical grouping Lost rhetorical grouping</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 55 (4)</doubt><p>However, the medicine has been thoroughly tested and it has no significant side effects.</p><p><i>Single-sentence paragraph Lost rhetorical grouping Single-sentence paragraph Single-sentence paragraph</i></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 56 (4)</doubt><p>However, Elixir is safe to use since the medicine has been thoroughly tested and it has no significant side effects.</p><p><i>Single-sentence paragraph Nucleus precedes satellite Single-sentence paragraph Lost rhetorical grouping</i><page local="50" global="260"/></p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 57 (5)</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">Version 58 (6)</doubt><p>Elixir contains gestodene.</p><p>However, the medicine has been thoroughly tested.</p><p>It has no significant side effects.</p><p>Consequently, Elixir is safe to use.</p><p><i>Single-sentence paragraph Lost rhetorical grouping Single-sentence paragraph Oversimple text-clauses Single-sentence paragraph</i> <i>Single-sentence paragraph Lost rhetorical grouping Lost rhetorical grouping Single-sentence paragraph Single-sentence paragraph Single-sentence paragraph</i></p></appendix></body></article>