Michael O`Donnell
To download postscript version press HERE.
The Systemic Workbench for Analysis and Generation (WAG: O'Donnell 1994a, 1994b) is an application for working with Systemic Grammars. Various processes are supported including:
: A Partial Graph of the Clause Sub-Network
WAG is available for distribution, at no charge. It requires Macintosh Common Lisp to run (a version for Suns is under development). The distribution package includes manuals, binaries, and a small resource-set for English.
WAG's sentence generator has been developed to replicate the functionality of Penman, although there is no code in common between the two systems. Because of this, WAG's semantic input is similar to Penman's SPL, with some differences. For instance, the following semantic-specification would result in the generation of the sentence: ``I'd like information on some panel beaters".
(say dialog-5 :is (:and initiate propose) :Speaker (Caller :is human :number 1) :Hearer (Operator :is human :number 1) :Proposition (P5 :is like-process :sensor Caller :phenomenon (info :is (:and information generic-thing) :matter (pb :is panel-beater :number 2)) :polarity (pol5 :is positive) :modality (mod5 :is (:and volitional conditional))) :theme Caller :relevant-entities (P5 info pol5 Caller pb))
This form improves on Penman's SPL in the following ways:
To generate a sentence, one just evaluates a semantic representation. The sentence string, graphologically formatted appears. The user can also use the ``Generation Interface" to step through the generation process (see Figure 2).
: WAG's Generation Interface
Apart from the resource maintenance tools which make WAG an easier system to develop grammars on, WAG's generation system improves on Penman in two major ways. Firstly, Penman's Semantic-Grammar mapping rules (the Chooser-Inquiry interface) has been replaced with a constraint-based approach, whereby each grammatical feature has an associated semantic constraint which must be met for that feature to be chosen in generation (a formalism originally developed by Bob Kasper, unpublished). This move to a declarative representation allows the Systemic mapping resources to be used for both analysis and generation, which was not possible with the Chooser-Inquiry approach. Also the feature-based approach makes it easier to modify the resources, since these constraints map directly from grammatical features to the semantic-form, while using Penman, one needs to look from feature to system to chooser to inquiry to semantic-form.
Secondly, WAG uses the same formalism for representing ideational (conceptual) networks/structures and also for grammatical networks/structures. The same unificational processes can be used for all levels of representation. Penman uses Loom for ideational potential, and knowledge representation, an internal representation for SPLs, and another form for grammatical networks.
The default output of sentence generation is just the generated text. However, we can also view the generated sentence structure in terms of a printed functional representation of the sentence. Alternatively, we can view a graph of the generated sentence structure, as shown in figure 3. Another option is to explore the structure in a hypertext manner using the Resource Explorer.
: The Generated Sentence Structure
The WAG system offers an easy-to-use Systemic Grammar Development Environment, allowing easy modification and viewing of the resources. WAG can also be used as a sentence generation component in a multi-sentential text generation system, or a dialogue system. At present, because of the limited linguistic coverage of the supplied resource models, it may function better as a computational linguistics teaching tool, although the resource size is quickly approaching usable coverage.
MacGregor, Robert & Raymond Bates 1987 ``The LOOM Knowledge Representation Language'', Technical Report ISI/RR-87-188/Information Sciences Institute.
O'Donnell, Michael 1994a Sentence Analysis and Generation - A Systemic Perspective, Ph.D. Thesis, Department of Sydney, University of Sydney, Australia.
O'Donnell, Michael 1994b Workbench for Analysis and Generation: User Manual, WAG System Documentation.
Mick O'Donnell