<?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>WORKING WITH THE INTERACTIVE VERSION OF THE T.G.T.-SYSTEM OF JOYCE FRIEDMAN</title><author surname="BATORI" givenname="ISTVAN"><org  name="istvän bâtobi"/></author></firstpageheader><frontmatter><p><b>istvän bâtobi</b></p><p>WORKING WITH THE INTERACTIVE VERSION OF THE T.G.T.-SYSTEM OF JOYCE FRIEDMAN</p></frontmatter><abstract>The present paper does not claim to be a description of the <b>tgt-</b>System, since it was already presented by Professor Friedman herself at the International Conference on Computational Linguistics in Stock­holm in 1969. In addition the system has been described also in the book <b>Joyce Friedman, </b><i>A Computational Model of Transformational Gram­mar, </i>Elsevier, 1971. Our intention is to present the new interactive ver­sion of the <b>tgt</b>-System, which has been developed at the Basic Re­search of <b>ibm </b>Germany, and to show how it can be used in linguistic research. In order to appreciate the present interactive version, it will be, however, necessary to recall some essential aspects of the <b>tgt</b>-System, yet we do not want to discuss the Friedman System as such in a systematic fashion. Accordingly, in the first part of the paper I shall talk about the batch version, and about our experiences with the system and then I procède to the interactive version. </abstract></header><body><section number="1." title="the tgt-system in general"><p>The <b>tgt</b>-System of Friedman grew out of the necessity to verify or control a formal grammar. It becomes increasingly difficult to con­trol any formal system beyond a certain size: if one wishes to follow the interaction of two or three abstract rules with all their implications,</p><p><b>The new interactive version of the System has actually been installed at the C.N.U.C.E. in order to enable the participants of the Conference to see the systems as it works. I take this opportunity to thank the organizers of the conference, the C.N.U.C.E., and particularly Professor Faedo, Torrigiani, and Zampolli, once again, for their generous support of the demonstration. I also thank my collègues Mrs. Schirmer, Miss Zoeppritz and Mr. Henning, who assisted me to prepare the demonstration. I am especially indebted Dr. Picchi, who adopted the interactive version to the local </b><b>cms</b><b>-System.</b></p><page local="2" global="104"/><p><b>istvân bâtori</b> he may still use his head; for a dozen rules, he will need paper and pencil; and for hundreds of rules, he must have a computer.</p><p>As primary objective Friedman wanted to give a computational aid to the transformationally oriented linguists. Her system as it stands now can, however, be considered also as an attempt to formalize the transformational grammar in the strict mathematical sense as well. The basic intention of Friedman was not to argue for a specific type of generative grammar but rather to offer a framework as general as possible and let the linguist impose restrictions on his particular gram­mar. However, it cannot be overlooked that the starting point of Fried­man is clearly <b>Chomsky's </b><i>Aspects-model.</i></p><p>Accordingly, it is easy to learn how to work with the <b>tgt</b>-System if you are familiar with transformational theory. On the other hand, you can use to system " to learn " transformational grammar, as a tutorial aid. Since we do not want to discuss either the transformation­al grammar directly, nor the purely technical details of Friedman's System, please, let me presume familiarity with the basic notions of generative grammar and refer for the purely notational conventions once again to Friedman's book.</p></section><section number="2." title="the form of the grammar"><p>The form of the Grammar is strictly prescribed, but as already mentioned, it is very close to current transformationalist notation.</p><p>For the <b>tgt</b>-System a grammar consists of a <i>phrase structure, </i><b><i>a </i></b><i>lexicon, </i>and a <i>transformational part. </i>In the first phase of the processing the gram­mar is built up according to the users specifications and in the second, subsequent phase one sentence (or more) are constructed according to the grammar. Each of these major components is subdivided further into smaller units. The structuring of the Grammar is indicated by keywords, which must be used in certain positions and are anticipated by the System.</p><p>Let me shortly comment on some points of this scheme of grammar.</p></section><section number="3." title="the treatment of the contextual features"><p>Friedman introduced a new type of feature, called contextual, which comprises Chomsky's strict subcategorization and selectional restrictions; i.e., it is all the same for further processing, whether a contextual rule involves features, like (a) or just category symbols, like (b) in (Fig.<page local="3" global="105"/> 1.).</p><p><b><i>Contextual Rule</i></b> <b>(a) <i>HUMSBJ </i>= &lt; 5/ &lt; <i># {ART) N | + HUMAN | %_%» .</i></b><b><i></i></b></p><p><b>(b) <i>DIROBJ = &lt; VP &lt; %     NP_</i></b><b><i>&gt;&gt;.</i></b></p><p><b><i>Lexical Entries</i></b> <b><i>Imagine \ + </i></b><b><i>V.</i></b><b><i>...</i></b><b><i> + HUMSBJ..</i></b></p><doubt alpha="48.9" length="47" tooSmall="False" monospace="0.0">KeyI +N....- HUMAN |, Student \+N....+ HUMAN |,</doubt><p><b><i>Lexical Insertion</i></b> <b>1.</b><b> Category </b><b><i>N</i></b><b><i> </i></b><b><i>V</i></b><b><i> </i></b><b><i>...</i></b></p><doubt alpha="5.3" length="19" tooSmall="False" monospace="0.0">^__s .&lt;^---_»______</doubt><doubt alpha="26.7" length="15" tooSmall="False" monospace="0.0">#        NP VP#</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">I I</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">N V</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Student</doubt><doubt alpha="55.0" length="20" tooSmall="False" monospace="0.0">2. Category F iV____</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><p><b>I + </b><i>HUMAN </i><b>I</b></p><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">Fig. 1. SiVfe</doubt><p>But apart from this simplification, the treatment of these contextual features is significantly different from that of <b>Chomsky's </b>in;the <i>Aspects-model. </i>The main innovation is the concept of the " side effects ", which makes the selectional rules independent of the order of inserting lexical items into the derivational tree.</p><p>If the contextual feature refers to a node (or nodes) to which a lexical entry has already been attached, (as in (1) on Fig. 1) the program checks the compatibility of the item with its environment, just as in the Ajpecfo-model. If on the other hand (as in (2), Fig. 1) the node referred to in the contextual rule is still empty, the new item is intro­duced and the consequences of the contextual features, i.e. the feature on which the insertion depends, are projected into the invironment.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>Student</i></b></p><p><b>1 </b><b>+ n + </b><i>HUMAN </i><b>1</b></p></td><td class="cell"><p>c</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b><i>Jmagme</i></b></p><p><i>\ + V + HUMSBJ </i><b>1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="106"/></section><section number="4." title="the representation of trees"><p>Note that the output trees are leaned on the side to simplify print­ing. In addition the nodes are numbered for ease of reference. These numbers can be used, among others to localize the feature, which be­long to a specific node, also with higher, non-terminal nodes. Note also that features coming from the lexicon are associated originally with the lexical entries. After lexical insertion they are adjoined to the immediately dominating category node and not to the actual word any more.</p></section><section number="5." title="the form of transformations"><p>In comparison with the Phrase Structure Rules the notational conventions for transformations are less uniform. The notational un­steadiness is largely due to the lack of a strict, mathematically founded and universally accepted transformational theory.</p><p>There are two notational styles in use; the more popular of them is the MIT-Style. (Fig. 2).</p><p><b><i>Verbal Description of Passive:</i></b></p></section><section number="1." title="EXCHANGE SUBJECT AND OBJECT"></section><section number="2." title="INSERT THE WORD BY AS LEFT SISTER OF THE AGENT"></section><section number="3." title="MARK THE MAIN VERB AS PAST PARTICIPLE"><doubt alpha="55.0" length="20" tooSmall="False" monospace="0.0">M. I. T. - Notation:</doubt><doubt alpha="27.0" length="37" tooSmall="False" monospace="0.0">SD  #  NP X PASS V1    2   3      4 5</doubt><doubt alpha="20.0" length="30" tooSmall="False" monospace="0.0">SC   1    6   3      4 [+p5ART</doubt><p><b><i>MITRE - Notation:</i></b></p><doubt alpha="61.0" length="59" tooSmall="False" monospace="0.0">SD% 1 #2NP%PASS W4NP %,SC (PREP&lt;BY&gt;)ACHLE2,I +PARTIMERCEF3,</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">BY+27</doubt><p><b><i>ALESE </i>2, <i>ARISE </i>3.</b></p><p><b><i>Abbreviations</i></b> <b><i>ALESE   .</i></b><b><i>.. </i>add left sister <i>ARISE    </i></b><b>...</b><b> add right sister <i>MERGEF... </i>merge feature <i>ACHLE  </i></b><b>...</b><b> add by Chomsky ad­junction to the left</b> <b>Fig.</b><b> 2. <i>Writing Transformations</i></b><page local="5" global="107"/></p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">istvân</doubt><p>This convention for transformation is generally advocated in stan­dard introductory works. Accordingly, transformations are written in the form of pseudo-rewriting rules, where apparently, the structural description (SD) part should be replaced by the structural change (SC) part. With other words : you define the input and you define the output. The convention is self explanatory, but perhaps somewhat vague. The MIT notation is regarded even by its own adherents rather as a convenient short-hand for indicating structural changes and not as a proper, full scale formalism.</p><p>The other style is the MITRE-notation, which is less known and resembles computer commands. This convention defines the input into a transformation and lists the elementary operations, to be carried out on the input tree. The elementary operations should be defined in advance. On the whole this way of representing transformations is more abstract but it can be formalized more readily. Friedman uses this style of notation: there is no problem to reformulate a trans­formation from the pseudo-rewriting style into the operational representation.</p></section><section number="6." title='" the traffic rules "'><p>The purpose of the <i>control program (cv) </i>is to determine in which order, and at which point in a derivational tree, a transformation should be applied.</p><p>By means of a <b>fortran</b>-like control language (by the so called " traffic rules "), the linguist can execute the transformations cyclically, i.e. applying the same set of transformations to every clause, he can determine in which order the clauses of a sentence should be processed, he may change the order of execution depending on certain condition, e.g. on the success of preceding transformations etc. This control part of Friedman's System provides an enormous generative power, the possibilities of which have hardly been discussed in the linguistics. You can easily define several successive transformational cycles by the <b>cp </b>of Friedman, you can solve the ordering problem of transformations by defining unique jumps in order to leave out the execution of a transfor­mation, which in a " simple ", cyclically ordered grammar would be impossible.</p><page local="6" global="108"/><p><b>istvân bâtori</b></p></section><section number="7." title="using the sentence generator"><p>The actual testing of the Grammar is done by the Sentence Gen­erator. As already said the Grammar is laid on in the first phase of the processing and subsequently the system should be instructed to generate sentences according to the given grammar. Trivially in as much as the system generates correct sentences, the grammar is veri­fied to the extent the generated sentences are false, the grammar is wrong and has to be corrected.</p><p>The <i>sentence generator </i>as such can operate in one of three nodes (Fig. 3):</p></section><section number="1." title="Random Sentences:"><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><p><b>A random sentence will be generated</b></p></section><section number="2." title="Predefined Structures:"><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">S #</doubt><p><b><i>NP ART THE N BOY VP  AUX MOD </i>Q</b> <b><i>TNS PRS V PASS V READ NP     PRON WHAT</i></b> <b>The structure will be operated on according to your grammar</b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">#</doubt></section><section number="3." title="Directed Random Generation:"><p><b><i>S RES NDOM </i>Q</b> <b>A random sentence will be generated with the restriction that it will not dominate a Q-node</b> <b>Fig.</b><b> 3. <i>Types of Input into the Sentence Generator</i></b></p><p>1. It can generate sentences completely at random, where a ran­dom number generator mechanism controls the selection of grammat­ical rules and lexical insertion. All you have to do is to enter the sen­tence symbols S.</p><page local="7" global="109"/><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">#</doubt><p>2. You can predefine a sentence entirely at the level of deep structure and let the system check the tree and carry out the transfor­mations leading up to.the surface structure.</p><p>3. You can use partially defined input, e.g. defining just the struc­ture, but leaving open the lexical insertions, or just specifying a partic­ular structural configuration you are interested in, while letting the system fill up the rest at random.</p><p>For practical testing the second and the third way of using the sentence generator is clearly preferable. The random generator may produce spectacular sentences, but practically never the ones which have bearing on the problem you are interested in. The sentences delivered .by the random generator may be and are revealing, and nobody exper­imenting with the system would withstand the temptation to see what his grammar would produce " left entirely alone but it is not suitable for systematic work. You may correct a mistake detected by the random generator, but you better test the correction by a pre­determined skeleton, otherwise you may get a totally different sentence, from which you cannot see whether the error has really been corrected or not.</p><p>According to our experience, entirely predetermined structures in­cluding lexical entries are the best to test a grammar. In this case you can anticipate a normal sentence as the final output of the generator, and can immediately decide whether the generation is correct or not.</p><p>There are two input formats: a free, bracketed (<b>ftrin</b>) format, and a fixed tree format (<b>trin</b>). It is perhaps a matter of personal taste, yet for us the <b>ftrin</b>, that is the bracketed input, seemed to be more convenient. (Fig. 4)</p><p><b><i>FTRIN Format:</i></b></p><p><b>S &lt; # NP &lt; PRON &lt;JEMAND» VP &lt; NP&lt;ART&lt;D&gt; N&lt;BUCH» V &lt; LES » MOD &lt; V &lt;HAB&gt; TNS&lt; PRS » # &gt;.</b></p><p><b><i>TRIN Format:</i></b></p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">NP</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">VP</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">MOD #</doubt><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">PRON NP</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">V V</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">TNS</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">JEMAND</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">ART D</doubt><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">N BUCH</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">LES</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">HAB</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">PRS</doubt><p><b>Fig. 4.</b></p><page local="8" global="110"/><p><b>istvän bâtom</b></p><p>Usually, the interaction of the phrase structure rules is fairly straight­forward, while that of the transformational rules is much more intricate. Therefore you can easily predefine a skeleton by using your own phrase structure rules " manually " and then let the system apply the transfor­mations to the prefabricated input. If you use partially predetermined trees, you may be distracted by mistakes, which occur at places which are of no interest to you. Note that you cannot correct all errors, at least not at once, and therefore you had better concentrate on a few points, otherwise you loose sight of you own grammar.</p></section><section number="8." title="the output of the batch version"><p>The original batch output of the <b>tgt</b>-System has been designed to provide all possible information about the processing, which the linguist may possibly need. First the input grammar is listed, followed by the content of the major internal tables, according to which the subsequent generation procèdes. Then, the process of sentence genera­tion is reported in such a manner, that the linguist can follow the sig­nificant steps of the processing (Fig. 5 (1)).</p></section><section number="9." title="the interactive version of the tgt-system"><p>The present interactive version has been developed according to the experiences gained by working with the original batch version. We have noticed in general that we are interested in the linguistic aspects of the derivation, such as changes in the tree, or in the final output, but not the actual computation.</p><p>The demand for a more condensed output will be even more im­perative in a terminal environment where the time and the output should be restricted to a minimum. Therefore we defined a new ad­ditional output file, containing just the essential information in which a linguist is interested (Fig. 5).</p><p>The original batch protocol enables you to follow the actual flow of computation, e.g. in the case of a transformation you get the modules called to perform the successive steps of the processing. The interplay of the different subroutines is, however, always the same: <i>ANTEST </i>calls <i>PASSIV, PASSIV </i>calls <i>ELEMOP </i>etc. Since Friedman's System works practically free of error, there is no need to check the subroutine<page local="9" global="111"/></p><p><b><i>The Transformations as formulated in the Grammar:</i></b></p><p><b>TRANS 1 PASSIV " PASSIVBILDUNG " | OB. SD # 1NP 2NP 3V 4V </b>I <b>+ PASS | %. SC (PREP </b>I <b>+ DAT </b>I <b>&lt; VON&gt; ) AFIDE 1, </b>I <b>+ PART </b>I <b>MERGEF 3, 2 ALESE 1.</b></p><p><b><i>The Derivational Tree to he Manipulated on :</i></b></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">20 #</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">11 WAS</doubt><p><b><i>The Report on the Successful Completion :</i></b></p></section><section number="1." title="The original hatch protocol"><doubt alpha="61.8" length="68" tooSmall="False" monospace="0.0">ANTEST CALLED FOR 2" PASSIV "(AC ) ,SD = 7. RESTRICTION = O. TOP=l.S</doubt><doubt alpha="59.1" length="22" tooSmall="False" monospace="0.0">ANTEST RETURNS ** 1 **</doubt><doubt alpha="63.2" length="38" tooSmall="False" monospace="0.0">CHANGE. CALL ELEMOP FOR AFIDE     21 3</doubt><doubt alpha="63.2" length="38" tooSmall="False" monospace="0.0">CHANGE. CALL ELEMOP FOR ALESE      9 3</doubt></section><section number="2." title="The new interactive protocol"><doubt alpha="52.9" length="121" tooSmall="False" monospace="0.0">PASSIV AFIDE      21        3       ADDED SUBTREE: 21 IS HEADED BY PREP PASSIV MERGEF  12   + PART PASSIV ALESE       9 3</doubt><p><b>Fig. 5. <i>The Protocol of the Transformations</i></b></p><p>calls every time. This information, therefore, can be dispensed with for the most purposes.</p><p>We have designed a slighdy different, more comprehensive format, which contains only the linguistically relevant information. The new output format of the interactive version makes a clear reference to the input grammar, such as the name of the transformation, the name of the elementary operations, the nodes affected by them. In one point the interactive version provides information, which has not been explic­itly reported in the original batch version. You can follow now also the feature operations in the same form as you follow the tree opera­tions : the interactive protocol delivers the features names and the actual feature value. For a linguist testing feature operations this is an innovation over the original batch version, which suffices to give a hint at this point, that the feature operation has been successfully comple­ted without further details.<page local="10" global="112"/></p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">1 S</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>2 #</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>3 NP</b></p></td><td class="cell"><p><b>4 ART</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"><p><b>D</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>6 N</b></p></td><td class="cell"><p><b>7</b></p></td><td class="cell"><p><b>STUDENT3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>8 VP</b></p></td><td class="cell"><p><b>9 NP</b></p></td><td class="cell"><p><b>10</b></p></td><td class="cell"><p><b>PRON</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>12 V</b></p></td><td class="cell"><p><b>13</b></p></td><td class="cell"><p><b>LES</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>14 MOD</b></p></td><td class="cell"><p><b>15 V</b></p></td><td class="cell"><p><b>16</b></p></td><td class="cell"><p><b>WERD</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>17 TNS</b></p></td><td class="cell"><p><b>18</b></p></td><td class="cell"><p><b>PRS</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>19 Q</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>It should be noted, that batch-output and terminal output are not mutually exclusive, the terminal output is a summary extracted from the original and placed on a separate file output. The original output is, however, still available. The file on which is written is normally set dummy, but it can be reactivated and listed, in the very same form as in the original version.<footnote anchor="1"/></p></section><section number="10." title="the commands of the interactive version"><p>The interactive version on the whole uses a fairly straightforward language. The answer to most of the questions is either <i>yes </i>or <i>no </i>(or just the first letter of these words). Every answer is prompted; and should be answered by saying yes or no. In such cases where an other answer is expected the book of Friedman should be consulted. Note that in case you want to enter the input skeleton not from the terminal you must have the file allocated prior to calling the <b>tgt</b>-System.</p></section><section number="11." title="the control of the input"><p>Summarizing: if you want to run the <b>tgt</b>-System you have to define and enter a grammar, give a command for the sentence gener­ator, and you have to deliver a skeleton to be expanded (Fig. 6). Orig­inally all these three kinds of input were entered in sequence into the system on the same file as data.</p><p>It should be noted that the grammar is a part of the input data, which is entered and processed in each run. This homogenous input is then interpreted by the system as grammar or as input into the sen­tence generator according to the internal logics of the program. In order to achieve greater flexibility while testing a grammar, we sepa­rated the three logically different input into three logically different files. The input grammar, usually a text of several hundreds of lines,<page local="11" global="113"/></p><footnote label="1">The files 8 and 9, containing system messages have been, however, dropped; they were of no interest to ordinary users.</footnote><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">istvân</doubt><p><b><i>Batch Input Interactive Input</i></b> <b>Fig.</b><b> 6. <i>The Reorganization of Input</i></b></p><p>is normally already stored on an external device and entered accord­ingly. The generator command (the <b>$MAiN</b>-card) may be attached to the grammar, if not, it is prompted and you may enter it from the terminal.</p><p>Similarly, you may predefine input skeletons to be tested and enter them just as you enter the grammar as a separate file. You have, how­ever, the choice to enter skeletons directly from the terminal. In case of interest you may enter as many skeleton as you like. The random generator then provides for variation.</p><p>Technically, the separation of the three logically different kinds of input has been accomplished by introducing a file variable, which is set first to accept the grammar from a permanent data set and then changed over to the terminal or an other permanent input data set ac­cording to user specifications at session time.</p><page local="12" global="114"/><p><b>istvân bâtori</b></p></section><section number="12." title="the treatment oe the error messages"><p>The same file variable technique is used to control the error mes­sages. The error file is set either to the terminal or to the batch file al­ternatively. There would be no problem to assign the error messages permanently, yet an eventual change of the file requirements in ter­minal environment would mean a revision of several hundreds of er­ror messages, while <b>a </b>file variable can be controlled by <b>a </b>single instruc­tion.</p><p>There is <b>a </b>further problem to be faced and that is the reference point of the error message. In the original batch version the error mes­sage precedes the actual erroneous line in the grammar or inserted in the protocol at the appropriate point.</p><p>In the first case the interactive version does not display the original input grammar, and therefore a message that e.g. brackets are opened, but not closed or "special character expected", but not found, and the like are not very informative, since the user would be left alone to find the critical place in the grammar. Therefore the error messages during the processing of the input grammar are preceded by the actual line in which the error has occurred. The line numbering will help the linguist to localize the erroneous section in the input grammar.</p><p>If on the other hand the error occurs during sentence generation, the message will be inserted in the terminal protocol at the appro­priate place.</p></section><section number="13." title="the control of output"><p>Another crucial point is the control of the terminal output. You can have the following choices as regards extent of output:</p><p>1) You are not interested in any further details, you do not want to see the full input tree. In this case you still get: 1., the linear representation of the input, 2., the list of transformations which have been applied and 3., the output of the transformations, also in the linear form. This is the minimal amount of output (Fig. 7) :</p><p>2) You wish to see the input tree into the transformational com­ponent, you answer to the question <i>PRINTOUT INPUT TREE? </i>by saying " yes ". In this case you get also the full output tree of the</p><page local="13" global="115"/><p><b>ERROR MESSAGES WANTED?</b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">y</doubt><p><b>INPUT TREE FROM TERMINAL?</b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">a</doubt><p><b>PRINTOUT INPUT TREE? a</b> <b>INPUT TO TRANSFORMATIONS:</b><b></b></p><p><b># Q NEG WER EIN PREIS ERHOEH WERD HAB KOENN WERD PRS #</b> <b>TRANSFORMATIONS WHICH APPLY:</b><b></b></p><p><b>ADDED SUBTREE: 32</b> <b>ADDED SUBTREE:</b><b> 41 ADDED SUBTREE: 43</b> <b>OUTPUT GENERATED BY TRANSFORMATIONS:</b><b> ★</b> <b>VON WEM WIRD KEIN PREIS ERHOEHT WORDEN SEIN KOENNEN QMARK PUNKT</b> <b>Kg- 7.</b><b></b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">★</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">*</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>AUXELIM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>20</b></p></td><td class="cell"><p><b>19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>AUXELIM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>22</b></p></td><td class="cell"><p><b>19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>AUXELIM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>24</b></p></td><td class="cell"><p><b>19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>AUXELIM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>26</b></p></td><td class="cell"><p><b>19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>AUXELIM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>28</b></p></td><td class="cell"><p><b>19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KEIN</b></p></td><td class="cell"><p><b>AFIDE</b></p></td><td class="cell"><p><b>K</b></p></td><td class="cell"><p><b>13</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KEIN</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>6</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PASSIV</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"><p><b>8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PASSIV</b></p></td><td class="cell"><p><b>AFIDE</b></p></td><td class="cell"><p><b>32</b></p></td><td class="cell"><p><b>8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>logoff in 15 min</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PASSIV</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>8</b></p></td><td class="cell"><p><b>17</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KNGRUM</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>28</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VRISE</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>26</b></p></td><td class="cell"><p><b>11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VRISE</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>24</b></p></td><td class="cell"><p><b>11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VRISE</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>22</b></p></td><td class="cell"><p><b>11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VRISE</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>20</b></p></td><td class="cell"><p><b>11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VRISE</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>17</b></p></td><td class="cell"><p><b>11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>TOPIC</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>TOPIC</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>8</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VERBUM3</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>26</b></p></td><td class="cell"><p><b>8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>GRMARK</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>GRMARK</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>30</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>ALADE</b></p></td><td class="cell"><p><b>T</b></p></td><td class="cell"><p><b>17</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>WORDEN</b></p></td><td class="cell"><p><b>21</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>SEIN</b></p></td><td class="cell"><p><b>23</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>ALADE</b></p></td><td class="cell"><p><b>EN</b></p></td><td class="cell"><p><b>24</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>MORPHY</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>WIRD</b></p></td><td class="cell"><p><b>27</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INDART</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>EIN</b></p></td><td class="cell"><p><b>14</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PROMOR</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>WEM</b></p></td><td class="cell"><p><b>10</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PUNKT</b></p></td><td class="cell"><p><b>ALADE</b></p></td><td class="cell"><p><b>41</b></p></td><td class="cell"><p><b>1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PUNKT</b></p></td><td class="cell"><p><b>ALADE</b></p></td><td class="cell"><p><b>43</b></p></td><td class="cell"><p><b>1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="14" global="116"/><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">3 NP</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">*</doubt><p><b>istvän bâtori</b> whole generation automatically. You get also the list of the transforma­tions which apply displayed; to be more precise you get the list of tree operations (Fig. 8):</p><p><b>ENTER RANDOM GENERATOR COMMANDS! $main trin gen trail.</b></p><p><b>INPUT TREE FROM TERMINAL? yes</b> <b>ENTER RANDOM GENERATOR INPUT IN THE FORM OF TRIN!</b><b></b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">+</doubt><p><b>PRINTOUT INPUT TREE? yes</b></p><p><b>PRINTOUT FEATURES? no</b></p><p><b>INPUT TO TRANSFORMATIONS: </b><b>IS</b><b> </b><b>2</b><b> </b><b>#</b> <b>PRON NP V</b> <b># JEMAND HANS SEH PRS Q NEG #</b> <b>TRANSFORMATIONS WHICH APPLY:</b><b> *</b> <b>ADDED SUBTREE:</b><b> 18</b> <b>OUTPUT GENERATED BY TRANSFORMATIONS:</b><b> *</b></p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">4 VP</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">5 MOD</doubt><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">9 7 8 11 12</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">TNS Q</doubt><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">15 JEMAND 10 N</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">16 SEH</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">17 PRS</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">14 HANS</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">13 NEG</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">1 S</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">8 V</doubt><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">9 PRON</doubt><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">7 NP 18 NEG</doubt></section><section number="19" title="NICHT"><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">20 FRGZ</doubt><p><b>SEH JEMAND HANS NICHT FRGZ</b> <b>ENTER GENERATOR INPUT AS TRIN</b></p><doubt alpha="0.0" length="19" tooSmall="False" monospace="0.0">+ +      +      + +</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">/*</doubt><p><b>TRIN .NO MORE INPUTS. READY</b> <b>Kg- 8.</b><b></b></p><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">OR QUIT BY &gt;/«&gt;!</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NICHT</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>18</b></p></td><td class="cell"><p><b>9</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NICHT</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>13</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KONGRUE5</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VERBUM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>8</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VERBUM</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>GRLOE</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>GRLOE</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>FRGZ</b></p></td><td class="cell"><p><b>6</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="15" global="117"/><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">4 ART</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">6 N</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">12 V</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">15 V</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">20 #</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">11 WAS</doubt><p><b>INPUT TO TRANSFORMATIONS:</b></p><p><b>TRANSFORMATIONS WHICH APPLY:</b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">★</doubt><p><b>PRINTOUT INPUT TREE? yes</b></p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">1 S</doubt><p>3) You may want to see also the features associated with the nodes in the tree - then you respond to the next question of the system <i>PRINTOUT FEATURES </i>correspondingly - and you get the features displayed both of the input and the output tree. In addition you get also the list of transformations applying, now including also the fea­ture operations (Fig. 9):</p><doubt alpha="52.6" length="19" tooSmall="False" monospace="0.0">call new(tgt 250) *</doubt><p><b>WELCOME TO THE INTERACTIVE VERSION OF</b></p><p><b>FRIEDMAN|S TGT-SYSTEM! ERROR MESSAGES WANTED? yes</b></p><p><b>INPUT TREE FROM TERMINAL? no</b></p><p><b>PRINTOUT FEATURES? yes</b></p><doubt alpha="35.3" length="51" tooSmall="False" monospace="0.0">+ V + EN + STRK + &lt;S/&gt;#NP&lt;(ART)* | + HUMAN |&gt;%_%» |</doubt></section><section number="17" title="TNS + TNS + PRS I #D STUDENTEN WAS LES WERD PRS Q#"><p><b>ADDED SUBTREE: 21</b><page local="16" global="118"/></p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">NODE</doubt><doubt alpha="46.2" length="13" tooSmall="False" monospace="0.0">4- ART +DEF |</doubt><doubt alpha="55.3" length="38" tooSmall="False" monospace="0.0">+ N + MASC -SG + HUMAN + ANIM -PRPNM |</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">10 PRON</doubt><doubt alpha="42.5" length="40" tooSmall="False" monospace="0.0">+ PRON + SG -HUMAN + ANIM + &lt;S/&lt;%_%Q%» |</doubt><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">+ V + PASSI</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>2 #</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>3 NP</b></p></td><td class="cell"><p><b>4 ART</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"><p><b>D</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>6 N</b></p></td><td class="cell"><p><b>7</b></p></td><td class="cell"><p><b>STUDENT3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>8 VP</b></p></td><td class="cell"><p><b>9 NP</b></p></td><td class="cell"><p><b>10</b></p></td><td class="cell"><p><b>PRON</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>12 V</b></p></td><td class="cell"><p><b>13</b></p></td><td class="cell"><p><b>LES</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>14 MOD</b></p></td><td class="cell"><p><b>15 V</b></p></td><td class="cell"><p><b>16</b></p></td><td class="cell"><p><b>WERD</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>17 TNS</b></p></td><td class="cell"><p><b>18</b></p></td><td class="cell"><p><b>PRS</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>19 Q</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PASSIV</b></p></td><td class="cell"><p><b>AFIDE</b></p></td><td class="cell"><p><b>21</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PASSIV</b></p></td><td class="cell"><p><b>MERGEF</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"><p><b>+ PART</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>PASSIV</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>9</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NOMIN</b></p></td><td class="cell"><p><b>MERGEF</b></p></td><td class="cell"><p><b>9</b></p></td><td class="cell"><p><b>+ NOM</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>NOMIN</b></p></td><td class="cell"><p><b>MERGEF</b></p></td><td class="cell"><p><b>10</b></p></td><td class="cell"><p><b>+ NOM</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>DATIV</b></p></td><td class="cell"><p><b>MERGEF</b></p></td><td class="cell"><p><b>3</b></p></td><td class="cell"><p><b>+ DAT</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p><b>istvân bâtori</b></p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">8 VP</doubt><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">11 WAS</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">12</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">1 S</doubt><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">+ SG + PRS</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">9 NP 15 V 3 NP</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">21 4 6</doubt><doubt alpha="46.2" length="13" tooSmall="False" monospace="0.0">22 VON 26 DEN</doubt></section><section number="7" title="STUDENT3"><doubt alpha="41.7" length="12" tooSmall="False" monospace="0.0">23 GE 13 LES</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">24 EN</doubt><doubt alpha="41.7" length="24" tooSmall="False" monospace="0.0">28 FRGZ NODE        9 NP</doubt><doubt alpha="54.2" length="24" tooSmall="False" monospace="0.0">I+ NOMINODE      10 PRON</doubt><doubt alpha="41.9" length="62" tooSmall="False" monospace="0.0">I+ PRON + SG -HUMAN + ANIM + NOM + &lt;S/&lt;%-%Q%» | NODE      15 V</doubt><doubt alpha="46.2" length="39" tooSmall="False" monospace="0.0">I+ V + SG + PRS + PASSINODE        3 NP</doubt><doubt alpha="54.2" length="24" tooSmall="False" monospace="0.0">I+ DATINODE      21 PREP</doubt><doubt alpha="50.0" length="24" tooSmall="False" monospace="0.0">I+ DATINODE        4 ART</doubt><doubt alpha="46.4" length="28" tooSmall="False" monospace="0.0">I+ ART + DEFINODE        6 N</doubt><doubt alpha="49.1" length="55" tooSmall="False" monospace="0.0">I+ N + MASC -SG + HUMAN + ANIM -PRPNM | NODE       12 V</doubt><doubt alpha="60.2" length="93" tooSmall="False" monospace="0.0">I+ V + EN + STRK + PART + &lt;S/&lt;#NP&lt;(ART)* | + HUMAN |&gt; WAS WIRD VON DEN STUDENTEN GELESEN FRGZ</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">READY</doubt><p><b>Fig. 9.</b></p><doubt alpha="53.3" length="15" tooSmall="False" monospace="0.0">10 PRON 25 WIRD</doubt><p><b>PREP ART N V</b><page local="17" global="119"/></p><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KONGRUE5</b></p></td><td class="cell"><p><b>MOVEF</b></p></td><td class="cell"><p><b>10</b></p></td><td class="cell"><p><b>15</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KONGRUE5</b></p></td><td class="cell"><p><b>MOVEF</b></p></td><td class="cell"><p><b>17</b></p></td><td class="cell"><p><b>15</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>KONGRUE5</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>17</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VERBUM</b></p></td><td class="cell"><p><b>ALESE</b></p></td><td class="cell"><p><b>15</b></p></td><td class="cell"><p><b>9</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>VERBUM</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>ERGFR</b></p></td><td class="cell"><p><b>ARISE</b></p></td><td class="cell"><p><b>9</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>ERASEF</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"><p><b>SG</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>PRS</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>AFIDE</b></p></td><td class="cell"><p><b>GE</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>INFPAR</b></p></td><td class="cell"><p><b>ALADE</b></p></td><td class="cell"><p><b>N</b></p></td><td class="cell"><p><b>12</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>MORPHY</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>WIRD</b></p></td><td class="cell"><p><b>16</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>DEFART</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>DEN</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>DEFART</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>DEN</b></p></td><td class="cell"><p><b>5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>GRLOE</b></p></td><td class="cell"><p><b>ERASE</b></p></td><td class="cell"><p><b>0</b></p></td><td class="cell"><p><b>2</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>GRLOE</b></p></td><td class="cell"><p><b>SUBSE</b></p></td><td class="cell"><p><b>FRGZ</b></p></td><td class="cell"><p><b>20</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>OUTPUT GENERATED</b></p></td><td class="cell"><p><b>BY TRANSFORMATIO</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>4) You may be interested in even more details, for instance in some intermediate trees and you have inserted <b>trace</b>-cards in the con­trol program of the grammar just as they are inserted in the original batch version. Now if you answer to the question <i>PRINTOUT IN­PUT TREE </i>by saying <i>ALL, </i>you will receive every intermediate tree as well, in addition to the input and output tree with features and fea­ture operations. Otherwise the <b>trace </b>function returns just the terminal string of the derivation. Fig. 10 shows the general logics of the output control:</p><p><b>Fig. 10. <i>The Control of Interactive Output</i></b></p></section><section number="14." title="closing remarks"><p>A grammar developed directly with the aid of the TGT-System is practically never complete, it generates only a subset of the language in question. You may add, change, remove parts of the grammar and thus you can easily produce minor variants of the same grammar one of which may be preferable over the other. In fact this is the nor­mal way to work with the system.</p><p>At the C.N.U.C.E.-installation there was a number of test-gram­mars (German, Italian, English and Spanish), offered to the participants to try how such testing looks like. The participants of the Conference were invited to look at the Grammar Tester as it works. In the Centro Nazionale Universitario di Calcolo Elettronico the Transformational Grammar Tester was running on a <b>ibm </b>System/360 Model 67 under <b>cp-cms</b>-67.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Printout input tree?</b></p></td><td class="cell"><p><b>No</b></p></td><td class="cell"><p><b>Yes</b></p></td><td class="cell"><p><b>Yes</b></p></td><td class="cell"><p><b>All</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Printout features?</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>No</b></p></td><td class="cell"><p><b>Yes</b></p></td><td class="cell"><p>—</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Output produced:</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Terminal strings</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Trees</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Features</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>—</p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Tree operations</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Feature operations</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>—</p></td><td class="cell"><p></p></td><td class="cell"><p><b>+</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Intermediate Trees by </b><b>trace</b></p></td><td class="cell"><p>—</p></td><td class="cell"><p>—</p></td><td class="cell"><p>—</p></td><td class="cell"><p><b>+</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="18" global="120"/></section><references><p><b>N. </b><b>Chomsky, </b><b><i>Aspects of the Theory of Syntax, </i>Cambridge (Mass.), 1965.</b></p><p><b>J. Friedman, T. H. Bredt </b><b><i>Lexical Insertion in Transformational Grammar, </i>Palo Alto (Calif.), 1968.</b></p><p><b>J. Friedman</b><b>, R. W. </b><b>Doran, </b><b><i>A Formal Syntax for Transformational Grammar, </i>Palo Alto (Calif.), 1968.</b></p><p><b>J. Friedman</b><b>, P. </b><b>Myslensky, </b><b><i>Computer Experiments in Transformational Gram­mar: The UCLA English Grammar, </i>Ann Arbor (Mich.), 1970.</b></p><p><b>J. Friedman, </b><b><i>Application of a Computer System for Transformational Grammar, </i>Preprint No. 14, in <i>International Con­ference on Computational Linguistics, </i>Stockholm, 1969.</b></p><p><b>J. Friedman, </b><b><i>Directed Random Generations </i></b><b><i>of</i></b><b><i> Sentences, </i>in « Communications of the ACM», XII (1969) 1.</b></p><p><b>J. Friedman, </b><b><i>A Computer System for Transformational Grammar, </i>in « Com­munications of the ACM», XII (1969) 1.</b></p><p><b>J. Friedman, </b><b><i>Distribution and Use of the Computer System for Transformational Grammar, </i>Working paper in Compu­tational Linguistics, M-27, The Uni­versity of Michigan, 1973.</b></p><p><b>J. Friedman, </b><b><i>et al, A Computer Model </i></b><b><i>of</i></b><b><i> Transformational Grammar (Mathemat­ical Linguistics and Automatic Language Processing </i>Nr. 9), New York, London, Amsterdam, 1971.</b></p><p><b>Y. </b><b>Ch. Morin, </b><b><i>Computer Experiments in Transformational Grammar: French </i></b><b><i>I,</i></b><b><i> </i>Ann Arbor (Mich.), <i>(Natural Language Studies </i>Nr. 3), 1969.</b></p><p><b>P. </b><b>Rosenbaum, D. Lochak, </b><b><i>The IBM Core Grammar of English, </i>Yorktown Heights (New York), 1966.</b></p></references></body></article>