Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "E85-1037",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T11:30:29.317912Z"
},
"title": "A PROBLEM SOLVING APPROACH TO GENERATING TEXT FROM SYSTEMIC GRAMMARS*",
"authors": [
{
"first": "Terry",
"middle": [],
"last": "Patten",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Edinburgh Hope Park Square",
"location": {
"addrLine": "Meadow Lane",
"postCode": "EH8 9NW"
}
},
"email": ""
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "",
"pdf_parse": {
"paper_id": "E85-1037",
"_pdf_hash": "",
"abstract": [],
"body_text": [
{
"text": "This paper will describe an approach to text generation where AI problem solving techniques are used to generate text from systemic grammars.** Problem solving is a general term used here to refer to areas of AI research such as 'expert systems', 'planning', 'design' and so on .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "INTRODUCTION",
"sec_num": null
},
{
"text": "Techniques developed in these fields are applied directly to an unadulterated systemic grammar, resulting in a simple, efficient text generator firmly based in an established linguistic theory.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "INTRODUCTION",
"sec_num": null
},
{
"text": "This approach is only possible because of a fundamental relationship that exists between systemic grammar and AI problem solving. This relationship is described in the next section. The third section will be concerned with one of the most important manifestations of this special relationship: a common representation. The following section will show how this common representation allows goal directed problem solving techniques to be aPPlied directly to the grammar.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "INTRODUCTION",
"sec_num": null
},
{
"text": "One of the most novel and important aspects of this approach is that it is compatible with the semantic stratum described in the systemic theory: a system network organized around the idea of 'register' {Halliday, 1978) .",
"cite_spans": [
{
"start": 192,
"end": 219,
"text": "'register' {Halliday, 1978)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "INTRODUCTION",
"sec_num": null
},
{
"text": "The semantic stratum and its relationship to the grammar will be discussed next. Some advantages of the approach will then be put forward. * Many thanks to my supervisors Graeme Ritchie and Austin Tare. This work was supported in part by an ORS award. ** For an overview of systemic grammar, see [Winograd, 1983] Chapter 6.",
"cite_spans": [
{
"start": 296,
"end": 312,
"text": "[Winograd, 1983]",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "INTRODUCTION",
"sec_num": null
},
{
"text": "Finally, the current status of the project will be described, including sample output generated from a large grammar.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "INTRODUCTION",
"sec_num": null
},
{
"text": "I. \"The central nature of intelligent Problem solving is that a system must construct its solution selectively and efficiently from a space of aiternatlves.\" 2. \"We shall define language as 'meaning potential': that is as sets of options or alternatives, in meaning, that are available to the speaker-hearer.\" [Halliday in deJoia et al., 1980, I~72) Compare these two quotations. Notice that both AI problem solving and systemic grammar have at their very core the idea of choosing from alternatives. Systemic grammar is probably unique in having such emphasis on the idea of choice; or in different terminology, systemic grammar is distinguished in allowing the paradigmatic mode of description to dominate over the syntagmatic [see Halliday et al., 1981, p. 19) .",
"cite_spans": [
{
"start": 310,
"end": 349,
"text": "[Halliday in deJoia et al., 1980, I~72)",
"ref_id": null
},
{
"start": 729,
"end": 763,
"text": "[see Halliday et al., 1981, p. 19)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "THE FUNDAMENTAL RELATIONSHIP",
"sec_num": null
},
{
"text": "Thus, this is a special relationship between systemic grammar and AI problem solving. This fundamental relationship can be exploited because systemic grammar provides knowledge [in the AI sense) about the various linguistic alternatives, and AI problem solving provides computational techniques for choosing between the alternatives, given the appropriate knowledge. The text generation approach described here is simply the standard AI knowledge-based problem solving methodology, with a systemic grammar acting as Dart of the knowledge base.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE FUNDAMENTAL RELATIONSHIP",
"sec_num": null
},
{
"text": "One of the manifestations of this fundamental relationship between AI problem solving and systemic grammar is a common representation of knowledge.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "KNOWLEDGE REPRESENTATION",
"sec_num": null
},
{
"text": "Both of these fields represent the interdependencies between the various alternatives as \"condltion/effect\" relationships.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "KNOWLEDGE REPRESENTATION",
"sec_num": null
},
{
"text": "The last decade has produced problem solving techniques which use domain-specific knowledge to guide the problem solving process.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "problem solving",
"sec_num": null
},
{
"text": "Problem solving knowledge is often expressed as condition/effect rules. For instance, a medical problem solver may have the rule: if then a patient has symptoms X, and Y drug A should be administered.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "problem solving",
"sec_num": null
},
{
"text": "Here if the conditions Ithe symptomsJ are satisfied, the problem solver can infer that drug A should be given. At this point other rules may be involved: if a drug should be administered and not in stock then...",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "problem solving",
"sec_num": null
},
{
"text": "The problem solver is forming a chain of inferences which leads toward the solution. This is called \"forward chaining\".",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "Condition/effect rules can also be used to reason from the effects back to the conditions. SUDDOSe we have a rule: if then a surface is hot and compound B is applied the surface will be made Permanently non-reflective.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "If a problem solver has a goal to make a surface non-reflectlve, it can see from the effects that this rule will achieve the goal. The conditions of the rule are set as subgoals, and the problem solver will try to find rules to achieve these. Rules must then be found that have the effects of heating the surface and applying the compound. Here the problem solver is working backward from the solution. This is called \"goal-directed backward chaining\". s~stemic grammar Systemic linguistics was developed in the early sixties by M.A.K.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "Halliday, although its roots in sociology and anthropology extend back much further.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The emphasis of systemic linguistics has not been on the structure of language, but on its function; systemicists are not so much interested in what language 'looks llke', as in how it is used. They are interested in how language is used to ask questions and make statements, how language can be used to relate 'who did what to whom', and how language ties itself to previous discourse.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The relationship between this functional view of language and the structural tradition is analogous to the relationshi~ between Physiology and anatomy*, and is equally complementary.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "This functional perspective has led to a different conceptualization of what language is, and how it should be described.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The most important knowledge structure in systemic grammar is the 'system' ~ this is where the theory gets its name.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "A system is simply a mutually exclusive choice between a set of alternative features. Figure I shows a system that represents a choice between a marked-and unmarked-wh-theme. Systems also have 'entry conditions': a logical combination of features that must be chosen before the particular choice is appropriate. In this case the entry condition is simply the feature wh-. So the clause must be a wh-clause before the choice between a marked-or unmarked-wh-theme is relevant.",
"cite_spans": [],
"ref_spans": [
{
"start": 86,
"end": 94,
"text": "Figure I",
"ref_id": null
}
],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The boxes contain what are called 'realization rules'. These specify the syntactic consequences of choosing the associated feature. \"Wh / Topical\" is read:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "\"the Wh element is conflated with the Topical\", meaning that the Wh and Topical are realized by the same item. \"Wh \" Finite\" is read: \"the Wh element is adjacent to the Finite element\", meaning that the Wh element immediately precedes the Finite element in the clause. In Figure 2 the curly bracket means AND, and the square bracket means OR. A gate also may have realization rules. Here the Finite element is constrained to be some form of 'does': \"does\", \"does not\" or \"doesn't\".",
"cite_spans": [],
"ref_spans": [
{
"start": 272,
"end": 280,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The significant difference between systems and gates is that gates do not involve a choice. * This analogy was probably first made by Firth (1957) and has been used several times since --see [Winograd, 1983, p Now consider these two constructs from a problem solving point of view. A feature that is part of a system can be \" interpreted as a condltion/effect rule. The conditions are simply the entry conditions of the system; the effects are choosing the feature, and doing whatever the realization rules say. This means that these features can be interpreted as problem solving rules and put at the disposal of the problem solver.",
"cite_spans": [
{
"start": 134,
"end": 146,
"text": "Firth (1957)",
"ref_id": null
},
{
"start": 191,
"end": 209,
"text": "[Winograd, 1983, p",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "Again it must be stressed that a system involves choice. From a problem solving point of view choices should be avoided whenever possible, in case the wrong choice is made. Notice if a system feature is used for backward chaining the choice is not explicitly considered. Suppose there is a goal to choose unmarked-wh-theme.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "Since the problem solver can interpret the system features as condition/effect rules, it sees that there is a rule called unmarked-wh-theme that achieves this goal as one of its effects. The problem solver begins to backward chain by invoking this rule and setting its condition, wh-, as a subgoal.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The feature marked-whtheme was never explicitly considered.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "Similarly, features that are gates can be interpreted as forward chaining condition/effect rules. In Figure 2 , if the entry conditions are satisfied, the does rule fires, choosing does and constraining the Finite element.",
"cite_spans": [],
"ref_spans": [
{
"start": 101,
"end": 109,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "it is",
"sec_num": null
},
{
"text": "The last section showed that features from systemic grammars can be interpreted as a condition/effect rule of the type used by AI Problem solvers, regardless of whether they are part of a system or a gate. An AI problem solver can thus use a systemic grammar as part of its knowledge base, and solve grammatical problems in exactly the same way as it solves medical problems using medical knowledge, or chemistry problems using chemistry knowledge.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "an examDle Figure 3 is a simplified excerpt from a systemic grammar. Suppose, for the moment, that the semantics wants to choose unmarked-declarativetheme and operative.",
"cite_spans": [],
"ref_spans": [
{
"start": 11,
"end": 19,
"text": "Figure 3",
"ref_id": "FIGREF2"
}
],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "The grammar provides rules that achieve these goals as Dart of their effects. The feature unmarked-declarative-theme can be thought of as a rule that chooses that feature and conflates the Subject with the Theme. This rule has, however, the condition declarative.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "This is set as a subgoal which can be achieved by another rule tl~at in turn has the condition indicative.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "In this way the problem solver backward chalnsfrom unmarked-declaratlve-theme through declarative, through indicative, through finite, to clause. At this point the backward chaining stops because clause has no conditions.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "The problem solver also backward chains from operative through effective to clause.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Once clause is chosen, the gate theme fires [the only instance of forward chaining in this example).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Every time a rule is used the 'realization rules' in the effects are accumulated, gradually constraining the structure of the clause.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "In the example, the Agent has been constrained to be the leftmost constituent in the clause.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "The semantics will choose other features of course, from parts of the grammar not shown here, and after further forward and backward chaining, the clause will be completely determined.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "The careful reader may have noticed that it is possible for the semantics to start the same process with the goal \"move the agent into the theme Position\"",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "[conflate Agent and ThemeJ, assuming there is a rule expressing the transitivity of conflation.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "The transitivity rule would set as subgoais: \"conflate Agent with X\" and \"conflate Theme with X\", where X could be instantiated to Subject.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "From there the problem solving would proceed as before. However, this would require far too much inference for such a simple goal. First, the transitivity would have to be worked out correctly. Second, there are likely to be other rules with the same realization rules, but which would lead to conflicts, and backtracking.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "In problem solving, if a simple goal requires too much inference, its solution can be 'compiled' [Brachman, 1983J. Here, the semantics may have a rule that says: if then there is a goal to make a statement and a goal to move the agent into the theme Position choose unmarked-declarative-theme and operative.",
"cite_spans": [
{
"start": 97,
"end": 114,
"text": "[Brachman, 1983J.",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "This use of compiled knowledge to actually choose features from the grammar corresponds to the systemic idea of 'preselection'.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Preselection is an important part of systemic theory, being the vehicle of realization across network boundaries. Systemic grammar:adopts ... the general perspective on the linguistic system you find in Hjelmslev, in the Prague school, with Firth in the London school, with Lamb and to a certain extent with Pike -language as a basically tristratai system: semantics, grammar, phonology. [Halliday, 1978, P.39J Each level must Pass down information to the level below. Realization rules at the higher level Dreselect features from the next level below. The semantic stratum [described in the next sectionJ preselects features from the grammatical stratum [e.g.",
"cite_spans": [
{
"start": 388,
"end": 410,
"text": "[Halliday, 1978, P.39J",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "unmarked-declarative-theme and operative in the example aboveJ. Simliarly, the grammatlcai stratum preselects phonologlcal/graphologlcal features.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Preselection is also used to interface the different ranks at the grammatical level [clause, group and wordj. The colon in Figure 2 is the symbol for preseleetlon.",
"cite_spans": [],
"ref_spans": [
{
"start": 123,
"end": 131,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Thus the feature does at the clause rank preselects the feature does from the auxiliary network at the word rank. If, for instance, the features reduced and negative are also preseleoted, the Finite element will be realized as \"doesn't\".",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Returning to Figure 3 , compare this backward chaining approach to Mann's [1983) NIGEL system. NIGEL begins at the left hand side of the network and works its way towards the right. It starts by choosing the feature clause.",
"cite_spans": [
{
"start": 67,
"end": 80,
"text": "Mann's [1983)",
"ref_id": "BIBREF11"
}
],
"ref_spans": [
{
"start": 13,
"end": 21,
"text": "Figure 3",
"ref_id": "FIGREF2"
}
],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Then it sees that it must choose between finite and non-finite.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "There is a semantic 'choice-expert' associated with this system which cannot make the choice without specific information about the context and the communicative goals, The choice expert gains this information by passing messages to the 'environment'.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "In this case the answer returned from the environment will indicate that finite should be chosen.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Another choice expert will now choose between indicative and imperative and so on.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Whether or not this is a valid or interesting way to do text generation is not at issue here. From a computational point of view NIGEL has some drawbacks. Most importantly, an explicit choice must be made for every system encountered during the process.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "For large grammars, this will number in the hundreds, and will result in a large overhead.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "In contrast, the preselection -backward chaining approach outlined in this paper greatly reduces the number of explicit choices,",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "The reason these choices are avoided here is that the problem solving process is ~oal-directed. The semantic stratum chooses some features from the right hand side of the network, which greatly reduces the number of Possible paths through the network from the very start.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "It could be argued that this kind of goaldirected search is non-deterministlc because systems may have disjunctive entry conditions, There is, however, an AI problem solving technique which has been developed for this purpose: least commitment [Stefik et al., 1983~. Least commitment is simply the principle of not making any choices until absolutely necessary. Whenever a disjunctive entry condition is encountered, a decision must be made about which subgoal to set. There is no requirement that the decision be made at that particular instant, so it is suspended until one of the subgoals is set as part of another chain in inference [gratuitously solving the original prob-lemJ. Of course there will be cases where none of the subgoals [entry conditions) are part of another inference. In these cases, it must be assumed that the semantics will preselect a feature corresponding to one of the subgoals.",
"cite_spans": [
{
"start": 244,
"end": 266,
"text": "[Stefik et al., 1983~.",
"ref_id": "BIBREF12"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "Clearly this whole text generation method relies on the semantic level to preselect the appropriate grammatical features. The next section will briefly look at this semantic level. ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "THE METHOD",
"sec_num": null
},
{
"text": "No motivation for the stratified approach adopted by systemic grammar will be given here, except pointing out that the role of the semantic stratum is to interface the extra-linguistic with the grammatical [Halliday, 1978) . In order to preselect the correct features from the grammar, this level must contain a considerable amount of knowledge [in the AI sense) relating grammatical features to extra-lingulstic factors.",
"cite_spans": [
{
"start": 206,
"end": 222,
"text": "[Halliday, 1978)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "In this section we will look at one particular organization of the semantic stratum, as presented in [Halliday, 1978) . Halliday organized his semantic stratum around the idea of 'register':",
"cite_spans": [
{
"start": 101,
"end": 117,
"text": "[Halliday, 1978)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "It refers to the fact that the language we speak or write varies according to the type of situation ... What the theory of register does isattempt to uncover the general principles which govern this variation, so that we can begin to understand what situational factors determine what linguistic features. [Halliday in deJoia st al., 1980, #764) Halliday uses the same system network notation to describe the semantics. Figure 4 [adapted from [Halliday, 1978) ) describes the control strategies that a mother can use on her child.",
"cite_spans": [
{
"start": 306,
"end": 345,
"text": "[Halliday in deJoia st al., 1980, #764)",
"ref_id": null
},
{
"start": 443,
"end": 459,
"text": "[Halliday, 1978)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 420,
"end": 428,
"text": "Figure 4",
"ref_id": "FIGREF4"
}
],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "The features of a semantic system network, llke those of the grammatical networks, have realization rules ~ including preselection. For instance the semantic feature re4ection Dreselects the features which will make the hearer the Medium [Affected), and realize it with the pronoun 'you' [by preselecting from the nominal group and noun networks).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "The semantic feature decision preselects, for instance, the clause feature declarative.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "The semantic feature resolution Preselect3 the features present-in and present to give this type of threat its tense construction -e.g. \"you're going upstairs\", \"I'm taking you upstairs\". Similarly, obligation preselects necessary passive modulation [Halliday, 1970) --e.g. \"I'll have to take you upstairs\", \"you'll have to go upstairs\" [Halliday, 1978) .",
"cite_spans": [
{
"start": 250,
"end": 266,
"text": "[Halliday, 1970)",
"ref_id": "BIBREF5"
},
{
"start": 337,
"end": 353,
"text": "[Halliday, 1978)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "Unfortunately, very little work has been done in the area of register, even by Halliday and his colleagues, so no large portions of a semantic stratum have been built. However, this example illustrates the idea.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "SEMANTICS",
"sec_num": null
},
{
"text": "The backward chaining approach outlined here has several advantages.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "ADVANTAGES",
"sec_num": null
},
{
"text": "First, this method does not involve any linguistic sacrifices, since an established linguistic formalism is utilized. Systemic grammar was developed by linguists for linguistic purposes, and is used here in a totally unadulterated form. Nothing llnguisticaily ad hoc has been introduced for computational reasons.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "ADVANTAGES",
"sec_num": null
},
{
"text": "Second, no computational sacrifices have been made to accommodate the linguistic formalism.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "ADVANTAGES",
"sec_num": null
},
{
"text": "State-of-the-art computational techniques are being exploited at all stages of the problem solving process.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "ADVANTAGES",
"sec_num": null
},
{
"text": "Third, the approach is parsimonious. There is no need for a sPecial-purpose text generation component. Other methods involve an AI problem solver that does the extra-linguistic work and perhaps the high-level 'text-plannlng', then passes a specification off to a special-purpose mechanism that processes the grammar. Here the AI problem solver can directly process the grammar; eliminating the special purpose component, and avoiding the kind of message passing that NIGEL, for example, must do.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "ADVANTAGES",
"sec_num": null
},
{
"text": "At present, this approach to text generation is being tested on a large systemic grammar. The grammar has been collected from a variety of sources [Mann/Halliday) [ Kress, 1976J [Halliday & Hasan, 1976 [Winograd, 1983J , and contains about six hundred grammatical features.",
"cite_spans": [
{
"start": 147,
"end": 162,
"text": "[Mann/Halliday)",
"ref_id": null
},
{
"start": 165,
"end": 201,
"text": "Kress, 1976J [Halliday & Hasan, 1976",
"ref_id": null
},
{
"start": 202,
"end": 218,
"text": "[Winograd, 1983J",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "Fragments of grammar usually appear in the linguistic literature as 'system networks'.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "These are entered as LISP data structures, and translated by a three page LISP program into OPS5 production rules, lOPS5 is a widely used production system that was used to implement, for example, RI [Gaschnig et al., 1983JJ.",
"cite_spans": [
{
"start": 200,
"end": 217,
"text": "[Gaschnig et al.,",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "once the grammar is in the form of OPS5 rules, OPS5 can perform forward and backward chaining directly. The rest of the system consists mostly of OPS5 rules to act on the realization rules of the grammar, and to output the text as it is being generated.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "The interface between the grammar and the semantics has been implemented, namely preselection. Since preselectlon is done via realization rules, it is implemented by a small group of OPS5 rules as just mentioned.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "Although the interface between the grammar and the semantics has been implemented, the semantic stratum itself has not. This means that to test the approach, those features that would have been preselected by the semantics must be preselected by hand.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "Another limitation at the moment is that there is no graphological level.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "This means that the output does not contain punctuation, capitals, the word \"an\", and so on.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "To put all this in perspective, recall that systemic linguistics stratifies language into the semantic, the grammatical, and the graphological [or if working with speech, phonologicalJ strata. Currently only the middle stratum, the grammatical; has been implemented.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "Again it should be Pointed out that the interfacebetween the different strata [preselectlon in each caseJ has been implemented as well.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "PROJECT STATUS",
"sec_num": null
},
{
"text": "Consider the context of a medical expert system that is trying to diagnose a patient's illness. Suppose there is a patient named Mary who has been having headaches and stiff neck muscles. The expert system hypothesizes that Mary has a fever, and tests this hypothesis by asking \"Does Mary have a fever ?-At this point, the user, who we will assume is neither a medical or computing expert, can ask \"WHY\" [did you ask me that question?J*.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "sample output",
"sec_num": null
},
{
"text": "The test system at this stage can generate the fol\" lowing response [bars have been added to indicate clause boundaries).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "sample output",
"sec_num": null
},
{
"text": "il well mary has been having headaches II on this basis perhaps she has a infection II this DOSSlbility would be SUPDorted by a fever II so we ask I does she have one",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "sample output",
"sec_num": null
},
{
"text": "Remember that at present, the features that would be preselected by the semantics must be preselected by hand for each individual clause. However, this example illustrates the grammar we are working with, and demonstrates that this approach works very well with large grammars. CONCLUSION This paper has described a new approach to generating text from systemic grammars. State-ofthe-art AI problem solving techniques are applied directly to an unadulterated systemic grammar. We have seen how this approach is made possible by a special relationship between systemic linguistics and AI problem solving. A semantic stratum, consisting of a large knowledge base relating different 'registers' to grammatical features, preselects some features from the grammatical level. The large number of features which are not preselected are inferred efficiently by goaldirected backward chaining and forward chaining.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "il",
"sec_num": null
},
{
"text": "This approach has the advantage of being able to combine an established linguistic formalism with powerful AI methods. It also has the advantage of simplicity resulting from the application of these same methods throughout the generation process.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "il",
"sec_num": null
},
{
"text": "This approach has been applied successfully to a large grammatical stratum. Of course it will not have been tested properly until a substantial semantic stratum is developed.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "il",
"sec_num": null
},
{
"text": "In conclusion, although there are still many unresolved linguistic matters in systemic text generation, we hope this approach has moved toward solving the computational problems involved.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "il",
"sec_num": null
},
{
"text": "* Following an example from [Hasling et al., 1984) .",
"cite_spans": [
{
"start": 28,
"end": 50,
"text": "[Hasling et al., 1984)",
"ref_id": "BIBREF7"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "il",
"sec_num": null
}
],
"back_matter": [],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "What are Expert Systems ?",
"authors": [
{
"first": "R",
"middle": [],
"last": "Braohman",
"suffix": ""
},
{
"first": "S",
"middle": [],
"last": "Amarel",
"suffix": ""
},
{
"first": "C",
"middle": [],
"last": "Engelman",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Engelmore",
"suffix": ""
},
{
"first": "E",
"middle": [],
"last": "Feigenbaum",
"suffix": ""
},
{
"first": "D",
"middle": [],
"last": "Wilkins",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Hayes-Roth",
"suffix": ""
}
],
"year": 1983,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Braohman,R., Amarel,S., Engelman,C., Engelmore,R., Feigenbaum,E., Wilkins,D. \"What are Expert Systems ?\" In [Hayes-Roth et al.; 1983).",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "A synopsis of linguistic theory 1930-1955J",
"authors": [
{
"first": "J",
"middle": [
"R"
],
"last": "Firth",
"suffix": ""
}
],
"year": null,
"venue": "Studies in Linguistic Analysis",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Firth,J.R., \"A synopsis of linguistic theory 1930-1955J.\" Studies in Linguistic Analysis.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "OPS5 User's Manual",
"authors": [
{
"first": "C",
"middle": [
"L"
],
"last": "Forgey",
"suffix": ""
}
],
"year": null,
"venue": "CMU-CS-81",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Forgey,C.L. \"OPS5 User's Manual\". CMU-CS-81-",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "Evaluation of Expert Systems: Issues and Case Studies",
"authors": [
{
"first": "J",
"middle": [],
"last": "Gaschnig",
"suffix": ""
},
{
"first": "P",
"middle": [],
"last": "Klahr",
"suffix": ""
},
{
"first": "H",
"middle": [],
"last": "Pople",
"suffix": ""
},
{
"first": "E",
"middle": [],
"last": "Shortllffe",
"suffix": ""
},
{
"first": "A",
"middle": [],
"last": "Terry",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Hayes-Roth",
"suffix": ""
}
],
"year": 1981,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Carnegie Mellon University, Pittsburgh, 1981. Gaschnig,J., Klahr,P., Pople,H., Shortllffe,E., Terry,A., \"Evaluation of Expert Systems: Issues and Case Studies.\" In [Hayes-Roth et al., 1983J.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Explorations in the Functions of Language",
"authors": [
{
"first": "M",
"middle": [
"A K"
],
"last": "Halliday",
"suffix": ""
}
],
"year": 1970,
"venue": "",
"volume": "197",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Halliday, M.A.K., Explorations in the Func- tions of Language. Edward Arnold, London, 1973. --, Language as a Social Semiotic. Edward Arnold, London, 197~. --, \"Modality and modulation in English.\" In [Kress, 1976, Ch. 13), 1970.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Strategic explanation for a diagnostic consultation system",
"authors": [
{
"first": "D",
"middle": [],
"last": "Hasling",
"suffix": ""
},
{
"first": "W",
"middle": [],
"last": "Clancey",
"suffix": ""
},
{
"first": "G",
"middle": [],
"last": "Rennels",
"suffix": ""
}
],
"year": 1984,
"venue": "Developments in Expert Systems",
"volume": "",
"issue": "",
"pages": "117--133",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Hasling,D., Clancey,W., Rennels,G., \"Strategic explanation for a diagnostic consultation system.\" In Coombs,M.[ed.) Developments in Expert Systems. Academic Press, London, 1984, pp. 117-133.",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "983. deJoia,A. & Stenton,A. Terms in Systemic Linguistics",
"authors": [],
"year": 1976,
"venue": "Halliday: S~m and Function in Language",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Building Expert Systems. Addlson-Wesley, London, ; 983. deJoia,A. & Stenton,A. Terms in Systemic Linguistics. Batsford Academic, London, 1980. Kress,G. led.) Halliday: S~m and Function in Language. Oxford, London, 1976.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Systemic Grammar of English",
"authors": [
{
"first": "W",
"middle": [],
"last": "Mann",
"suffix": ""
},
{
"first": "M",
"middle": [
"A"
],
"last": "Halliday",
"suffix": ""
}
],
"year": null,
"venue": "Clause Systems\". From the PENMAN system, InfOrmation Sciences Institute",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Mann,W./Halliday,M.A.K. \"Systemic Grammar of English, S.G. Clause Systems\". From the PENMAN system, InfOrmation Sciences Institute, USC.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Nigel: A Systemic Grammar for Text Generation",
"authors": [
{
"first": "W",
"middle": [],
"last": "Mann",
"suffix": ""
},
{
"first": "C",
"middle": [],
"last": "Matthlessen",
"suffix": ""
}
],
"year": 1983,
"venue": "RR-83-I05, Information Sciences Institute, USC",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Mann,W. & Matthlessen,C. \"Nigel: A Systemic Grammar for Text Generation\". RR-83-I05, Informa- tion Sciences Institute, USC. 1983.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "The architecture of expert systems",
"authors": [
{
"first": "J",
"middle": [],
"last": "Monaghan",
"suffix": ""
},
{
"first": "M",
"middle": [],
"last": "Stefik",
"suffix": ""
},
{
"first": "J",
"middle": [],
"last": "Aikins",
"suffix": ""
},
{
"first": "R",
"middle": [],
"last": "Balzer",
"suffix": ""
},
{
"first": "J",
"middle": [],
"last": "Benoit",
"suffix": ""
},
{
"first": "L",
"middle": [],
"last": "Birnbaum",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Hayes-Roth~f",
"suffix": ""
},
{
"first": "E",
"middle": [],
"last": "Sacerdoti",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Hayes-Roth",
"suffix": ""
}
],
"year": 1983,
"venue": "The Neo-Firthian Tradition and its Contribution to General Linguistics. Max Niemeyer Veriag, Tublngen, ;979",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Monaghan,J. The Neo-Firthian Tradition and its Contribution to General Linguistics. Max Niemeyer Veriag, Tublngen, ;979. Stefik,M., Aikins,J., Balzer,R., Benoit,J., Birnbaum,L., Hayes-Roth~F., Sacerdoti,E., \"The architecture of expert systems.\" In [Hayes-Roth et al., 1983), 1983. WinoErad,T. Language as ~ Cognitive Process.",
"links": null
}
},
"ref_entries": {
"FIGREF1": {
"num": null,
"uris": null,
"text": "I. A system ~Mann/Halliday I .",
"type_str": "figure"
},
"FIGREF2": {
"num": null,
"uris": null,
"text": "A grammar excerpt.",
"type_str": "figure"
},
"FIGREF4": {
"num": null,
"uris": null,
"text": "Some semantic choices",
"type_str": "figure"
}
}
}
}