File Information

File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/metho/82/p82-1006_metho.xml

Size: 39,278 bytes

Last Modified: 2025-10-06 14:11:27

<?xml version="1.0" standalone="yes"?>
<Paper uid="P82-1006">
  <Title>TOWARDS A THEORY OF COMPREHENSION OF DECLARATIVE CONTEXTS</Title>
  <Section position="1" start_page="0" end_page="0" type="metho">
    <SectionTitle>
TOWARDS A THEORY OF COMPREHENSION OF DECLARATIVE CONTEXTS
</SectionTitle>
    <Paragraph position="0"/>
  </Section>
  <Section position="2" start_page="0" end_page="0" type="metho">
    <SectionTitle>
ABSTRACT
</SectionTitle>
    <Paragraph position="0"> An outline of a theory of comprehension of declarative contexts is presented. The main aspect of the theory being developed is based on Kant's distinction between concepts as rules (we have called them conceptual specialists) and concepts as an abstract representation (schemata, frames).</Paragraph>
    <Paragraph position="1"> Comprehension is viewed as a process dependent on the conceptual specialists (they contain the inferential knowledge), the schemata or frames (they contain the declarative knowledge), and a parser.</Paragraph>
    <Paragraph position="2"> The function of the parser is to produce a segmentation of the sentences in a case frame structure, thus determininig the meaning of prepositions, polysemous verbs, noun group etc. The function of this parser is not to produce an output to be interpreted by semantic routines or an interpreter~ but to start the parsing process and proceed until a concept relevant to the theme of the text is recognized. Then the concept takes control of the comprehension process overriding the lower level linguistic process. Hence comprehension is viewed as a process in which high level sources of knowledge (concepts) override lower level linguistic processes.</Paragraph>
    <Paragraph position="3"> i. Introduction This paper deals with a theory of computer comprehension of descriptive contexts. By &amp;quot;descriptive contexts&amp;quot; I refer to the language of scientific books, text books, this text, etc.. In the distinction performative vs. declarative, descriptive texts clearly fall in the declarative side. Recent work in natural language has dealt with contexts in which the computer understanding depends on the meaning of the action verbs and the human actions (plans, intentions, goals) indicated by them (Schank and Abelson 1977; Grosz 1977; Wilensky 1978; Bruce and Newman 1978). Also a considerable amount of work has been done in a plan-based theory of task oriented dialogues (Cohen and Perrault 1979; Perrault and Allen 1980; Hobbs and Evans 1980). This work has had very little bearing on a theory of ~omputer understanding of descriptive contexts. One of the main tenets of the proposed research is that descriptive (or declarative as we prefer to call them) contexts call for different theoretical ideas compared to those proposed for the understanding of human actions, although~ naturally there are aspects that are common.</Paragraph>
    <Paragraph position="4"> An important characteristic of these contexts is the predominance of descriptive predicates and verbs (verbs such as &amp;quot;contain,&amp;quot; &amp;quot;refer,&amp;quot; &amp;quot;consist of,&amp;quot; etc.) over action verbs. A direct result of this is that the meaning of the sentence does not depend as much on the main verb of the sentence as on the concepts that make it up. Hence meaning representations centered in the main verb of the sentence are futile for these contexts. We have approached the problem of comprehension in these contexts by considering concepts both as active agents that recognize themselves and as an abstract representation of the properties of an object. This aspect of the theory being developed is based on Kant's distinction between concepts as rules (we have called them conceptual specialists) and concepts as an abstract representation (frames, schemata). Comprehension is viewed as a process dependent.on the conceptual specialists (they contain the inferential knowledge), the schemata (they contain structural knowledge), and a parser. The function of the parser is to produce a segmentation of the sentences in a case frame structure, thus determining the meaning of prepositions, polysemous verbs, noun group, etc.. But the function of this parser is not to produce an output to be interpreted by semantic routines, but to start the parsing process and to proceed until a concept relevant to the theme of the text is recognized. Then the concept (a cluster of production rules) takes control of the comprehension process overriding the lower level linguistic processes. The concept continues supervising and guiding the parsing until the sentence has been understood, that is, the meaning of the sentence has been mapped into the final internal representation. Thus a text is parsed directly into the final knowledge structures.</Paragraph>
    <Paragraph position="5"> Hence comprehension is viewed as a process in which high level sources of knowledge (concepts) override lower level linguistic processes. We have used these ideas to build a system, called LLULL, to unde{stand programming problems taken verbatim from introductory books on programming.</Paragraph>
  </Section>
  <Section position="3" start_page="0" end_page="36" type="metho">
    <SectionTitle>
2. Concepts, Schemata and Inferences
</SectionTitle>
    <Paragraph position="0"> In Kant's Critique of Pure Reason one may find two views of a concept. According to one view, a concept is a system of rules governing the application of a predicate to an object. The rule that  tells us whether the predicate &amp;quot;large&amp;quot; applies to the concept Canada is a such rule. The system of rules that allows us to recognize any given instance of the concept Canada constitutes our concept of Canada. According to a second view, Kant considers a concept as an abstract representation (vorstellung) of the properties of an object. This second view of a concept is akin to the notion of concept used in such knowledge representation languages as FRL, KLONE and KIIL.</Paragraph>
    <Paragraph position="1"> Frames have played dual functions. They have been used as a way to organize the inferences, and also as a structural representation of what is remembered of a given situation. This has caused confusion between two different cognitive aspects: memory and comprehension (see Ortony, 1978). We think that one of the reasons for this confusion is due to the failure in distinguishing between the two types of concepts (concepts as rules and concepts as a structural representation). We have based our analysis on Kant's distinction in order to separate clearly between the organization of the inferences and the memory aspect. For any given text, a thematic frame contains structural knowledge about what is remembered of a theme.</Paragraph>
    <Paragraph position="2"> One of the slots in this frame contains a list of the relevant concepts for that theme. Each of these concepts in this list is separately organized as a cluster of production rules. They contain the inferential knowledge that allows the system to interpret the information being presently processed, to anticipate incoming information, and to guide and supervise the parser (see below). In some instances, the conceptual specialists access the knowledge stored in the thematic frame to perform some of these actions.</Paragraph>
  </Section>
  <Section position="4" start_page="36" end_page="37" type="metho">
    <SectionTitle>
3. Linguistic Knowledge, Text Understanding
</SectionTitle>
    <Paragraph position="0"> and P arsin$ In text understanding, there are two distinct issues. One has to do with the mapping of individual sentences into some internal representation (syntactic markers, some type of case grammar, Wilks' preference semantics, Schank's conceptual dependency etc.). In designing this mapping, several approaches have been taken. In Winograd (1972) and Marcus (1979), there is an interplay between syntax, and semantic markers (in that order), while in Wilks (1973) and Riesbeck (1975) the parser rely almost exclusively on semantic categories.</Paragraph>
    <Paragraph position="1"> A separate issue has to do with the meaning of the internal representation in relation to the understanding of the text. For instance, consider the following text (it belongs to the second example): &amp;quot;A bank would like to produce records of the transactions during an accounting period in connection with their checking accounts. For each account the bank wants a list showing the balance at the beginning of t1~e period, the number of deposits and withdrawals, and the final balance.&amp;quot; Assume that we parse these sentences into our favorite internal representation. Now what we do with the internal representation? It is still far distant from its textual meaning. In fact, the first sentence is only introducing the topic of the programming problem. The writer could have achieved the same effect by saying: &amp;quot;The following is a checking account problem&amp;quot;. The textual meaning of the second sentence is the description of the output for that problem. The writer could have achieved the same effect by saying that the output for the problem consists of the old-balance, deposits, withdrawals, etc.. One way to produce the textual meaning of the sentence is to interpret the internal representation that has already been built. Of course, that is equivalent to reparsing the sentence. Another way is to map the sentence directly into the final representation or the textual meaning of the sentence. That is the approach we have taken. DeJong (1979) and Schank etal. (1979) are two recent works that move in that direction. DeJong's system, called FRUMP, is a strong form of top down parser. It skims the text looking for those concepts in which it is interested. When it finds all of them, it ignores the remainder of the text. In analogy to key-word parsers, we may describe FRUMP as a key-concept parser. In Schank etal. (1979), words are marked in the dictionary as skippable or as having high relevance for a given script. When a relevant word is found, some questions are formulated as requests to the parser. These requests guide the parser in the understanding of the story. In our opinion, the criteria by which words are marked as skippable or relevant are not clear.</Paragraph>
    <Paragraph position="2"> There are significant differences between our ideas and those in the aforementioned works. The least signiPSicant o~ them is that the internal representation selected by us has been a type of case grammar, while in those works the sentences are mapped into Schank's conceptual dependency notation. Due to the declarative nature of the texts we have studied, we have not seen a need for a deeper representation of the action verbs. The most important difference lies in the incorporation in our model of Kant's distinction between concepts as a system of rules and concepts as an abstract representation (an epistemic notion that is absent in Schank and his collobarators' work). The inclusion of this distinction in our model makes the role and the organization of the different components that form part of comprehension differ markedly from those in the aforementioned works.</Paragraph>
    <Paragraph position="3">  4. Organization and Communication between the System Components  The organization that we have proposed appears in Fig. I. Central to the organization are the conceptual specialists. The other components are subordinated to them.</Paragraph>
    <Paragraph position="5"> * &amp;quot;ne parser is essentially based on semantic markers and parses a sentence in to a case frame structure.</Paragraph>
    <Paragraph position="6"> The specialists contain contextual knowledge relevant to each ~pecific topic. This knowledge is 6f inferential type. What we have termed &amp;quot;passive frames&amp;quot; contain what the system remembers of a given topic. At the beginning of the parsing process, the active frames contain nothing. At the end of the process, the meaning of the text will be recorded in them. Everything in these frames, including the name of the slots, are built from scratch by the conceptual specialists.</Paragraph>
    <Paragraph position="7"> The communication between these elements is as follows. When a text is input to the system, the parser begins to parse the first sentence. In the parser there are mechanisms to recognize the passive frame associated with the text. Once this is done, mechanisms are set on to check if the most recent parsed conceptual constituent of the sentence is a relevant concept. This is done slmply by checking if the concept belongs to the list of relevant concepts in the passive frame. If that is the case the specialist (concept) override the parser. What does this exactly mean? It does not mean that the specialist will help the parser to produce the segmentation of the sentence, in a way similar to Winograd's and Marcus' approaches in which semantic selections help the syntax component of the parser to produce the right segmentation of the sentence. In fact when the specialists take over the segmentation of the sentence stops. That is what &amp;quot;overriding lower linguistic processes&amp;quot; exactly means. The specialist has knowledge to interpret whatever structure the parser has built as well as to make sense directly of the remaining constituents in the rest of the sentence. &amp;quot;To interpret&amp;quot; and &amp;quot;make sense directly&amp;quot; means that the constituents of the sentence will be mapped directly into the active frame that the conceptual specialists are building. However this does not mean that the parser will be turned off. The parser continues functioning, not in order to continue with the segmentation of the sentence but to return the remaining of the conceptual constituents of the sentence to the specialist in control when asked by it. Thus what we have called &amp;quot;linguistic knowledge&amp;quot; has been separated from the high level &amp;quot;inferential knowledge&amp;quot; that is dependent on the subject matter of a given topic as well as from the knowledge that is recalled from a given situation. These three different cognitive aspects correspond to what we have called &amp;quot;parser,&amp;quot; &amp;quot;conceptual specialists,&amp;quot; and &amp;quot;passive frames&amp;quot; respectively.</Paragraph>
  </Section>
  <Section position="5" start_page="37" end_page="37" type="metho">
    <SectionTitle>
5. The Parser
</SectionTitle>
    <Paragraph position="0"> In this section we explain some of the components of the parser so that the reader can follow the discussion of the examples in the next section.</Paragraph>
    <Paragraph position="1"> We refer the reader to Gomez (1981) for a detailed description of these concepts. Noun Group: The function that parses the noun group is called DESCRIPTION. DESCR is a semantic marker used to mark all words that may form part of a noun group.</Paragraph>
    <Paragraph position="2"> An essential component of DESCRIPTION is a mechanism to identify the concept underlying the complex nominals (cf. Levi, 1978). See Finin (1980) for a recent work on complex nominals that concentrates on concept modification. This is of most importance because it is characteristic of declarative contexts that the same concept may be referred to by different complex nominals. For instance, it is not rare to find the following complex nominals in the same programming problem all of them referring to the same concept: &amp;quot;the previous balance,&amp;quot; &amp;quot;the starting balance,&amp;quot; &amp;quot;the old balance&amp;quot; &amp;quot;the balance at the beginning of the period.&amp;quot; DESCRIPTION will return with the same token (old-bal) in all of these cases. The reader may have realized that &amp;quot;the balance at the beginning of the period&amp;quot; is not a compound noun. They are related to compound nouns. In fact many compound nouns have been formed by deletion of prepositions. We have called them prepositional phrases completing a description, and we have treated them as complex nominals. Prepositions: For each preposition (also for each conjunction) there is a procedure. The function of these prepositional experts (cf. Small, 1980) is =o determine the meaning of the preposition. We refer to them as FOR-SP, ON-SP, AS-SP, etc.. Descri~tiue Verbs: (D-VERBS) are those used to describe. We have categorized them in four classes. There are those that describe the constituents of an object.</Paragraph>
    <Paragraph position="3"> Among them are: consist of, show, include, be ~iven by, contain, etc.. We refer to them as</Paragraph>
  </Section>
  <Section position="6" start_page="37" end_page="37" type="metho">
    <SectionTitle>
CONSIST-OF D-VERBS. A second class are those
</SectionTitle>
    <Paragraph position="0"> used to indicate that something is representing something. Represent, indicate, mean, describe, etc.. belong to this class. We refer to them as REPRESENT D-VERBS. A third class are those that fall under the notion of appear. To this class belong appear, belong, be $iven on etc.. We refer to them as APPEAR D-VERBS. The fourth class are formed by those that express a spatial relation.</Paragraph>
    <Paragraph position="1"> Some of these are: follow, precede , be followed by any spatial verb. We refer to them as SPATIAL D-VERBS. Action Verbs: We have used different semantic features, which indicate different levels of abstraction, to tag action verbs. Thus we have used the marker SUPL to mark in the dictionary &amp;quot;supply&amp;quot;, &amp;quot;provide&amp;quot;, &amp;quot;furnish&amp;quot;, but not &amp;quot;offer&amp;quot;. From the highest level of abstraction all of them are tagged with the marker ATRANS. The procedures that parse the action verbs and the descriptive verbs are called ACTION-VERB and DESCRIPTIVE-VERB respectively.</Paragraph>
  </Section>
  <Section position="7" start_page="37" end_page="40" type="metho">
    <SectionTitle>
6. Recognition of C~ ~pts
</SectionTitle>
    <Paragraph position="0"> The concepts relevant to a programming topic are grouped in a passive frame. We distinguish between those concepts which are relevant to a  specific programming task, like balance to checking-account programs, and those relevant to any kind of program, like output, inRut, end-of-data, etc.. The former can be only recognized when the programming topic has been identified. A concept like output will not only be activated by the word &amp;quot;output&amp;quot; or by a noun group containing that word. The verb &amp;quot;print&amp;quot; will obviously activate that concept. Any verb that has the feature REQUEST, a semantic feature associated with such verbs as &amp;quot;like,&amp;quot; &amp;quot;want,&amp;quot; &amp;quot;need,&amp;quot; etc., will activate also the concept output. Similarly nominal concepts like card and verbal concepts like record, a semantic feature for verbs like &amp;quot;record,&amp;quot; &amp;quot;punch,&amp;quot; etc. are Just two examples of concepts that will activate the input specialist.</Paragraph>
    <Paragraph position="1"> The recognition of concepts is as follows: Each time that a new sentence is going to be read, a global variable RECOG is initialized to NIL.</Paragraph>
    <Paragraph position="2"> Once a nominal or verbal concept in the sentence has been parsed, the function RECOGNIZE-CONCEPT is invoked (if the value of RECOG is NIL). This function checks if the concept that has been parsed is relevant to the progran~ning task in general or (if the topic has been identified) is relevant to the topic of the programming example. If so, RECOGNIZE-CONCEPT sets RECOG to T and passes control to the concept that takes control overriding the parser. Once a concept has been recognized, the specialist for that concept continues in control until the entire sentence has been processed.</Paragraph>
    <Paragraph position="3"> The relevant concept may be the subject or any other case of the sentence. However if the relevant concept is in a prepositional phrase that starts a sentence, the relevant concept will not take control.</Paragraph>
    <Paragraph position="4"> The following data structures are used during parsing. A global variable, STRUCT, holds the result of the parsing. STRUCT can be considered as a STM (short term memory) for the low level linguistic processes. A BLACKBOARD (Erman and Lesser, 1975) is used for communication between the high level conceptual specialists and the low level linguistic experts. Because the information in the blackboard does not go beyond the sentential level, it may be considered as STM for the high level sources of knowledge. A global variable WORD holds the word being examined, and WORDSENSE holds the semantic features of that word.</Paragraph>
    <Paragraph position="5"> 7. Example 1 An instructor records the name and five test scores on a data card for each student. The registrar also supplies data cards containing a student name, identification number and number of courses passed.</Paragraph>
    <Paragraph position="6"> The parser is invoked by activating SENTENCE.</Paragraph>
    <Paragraph position="7"> Because &amp;quot;an&amp;quot; has the marker DESCR, SENTENCE passes control to DECLARATIVE which handles sentences starting with a nominal phrase. (There are other functions that respectively handle sentences starting with a prepositional phrase, an adverbial clause, a co~nand, an -ing form, and sentences introduced by &amp;quot;to be&amp;quot; (there be, will be, etc.) with the meaning of existence.) DECLARATIVE invokes DESCRIPTION. This parses &amp;quot;an instructor&amp;quot; obtaining the concept instructor. Before returning control, DESCRIPTION activates the functions RECOG-NIZE-TOPIC and RECOGNIZE-CONCEPT. The former function checks in the dictionary if there is a frame associated with the concept parsed by DESCRIPTION. The frame EXAM-SCORES is associated with instructor, then the variable TOPIC is instantiated to that frame. The recognition of the frame, which may be a very hard problem, is very simple in the programming problems we have studied and normally the first guess happens to be correct.</Paragraph>
    <Paragraph position="8"> Next, RECOGNIZE-CONCEPT is invoked. Because instructor does not belong to the relevant concepts of the EXAM-SCORES frame, it returns control.</Paragraph>
    <Paragraph position="9"> Finally DESCRIPTION returns control to DECLARATIVE, along with a list containing the semantic features of instructor. DECLARATIVE, after checking that the feature TIME does not belong to those features, inserts SUBJECT before &amp;quot;instructor&amp;quot; in STRUCT. Before storing the content of WORD, &amp;quot;records,&amp;quot; into STRUCT, DECLARATIVE invokes RECOGNIZE-CONCEPT to recognize the verbal concept. All verbs with the feature record, as we said above, activate the input specialist, called INPUT-SP. When INPUT-SP is activated, STRUCT looks like (SUBJ (INSTUCTOR)).</Paragraph>
    <Paragraph position="10"> As we said in the introduction, the INPUT specialist is a collection of production rules. One of those rules says: IF the marker RECORD belongs to WORDSENSE then activate the function ACTION-VERB and pass the following recommendations to it: l)activate the INPUT-SUPERVISOR each time you find an object 2) if a RECIPIENT case is found then if it has the feature HVM_AN, parse and ignore it. Otherwise awaken the INPUT-SUPERVISOR 3) if a WHERE case (the object where something is recorded) is found, awaken the INPUT-SUPERVISOR.</Paragraph>
    <Paragraph position="11"> The INPUT-SUPERVISOR is a function that is controlling the input for each particular problem.</Paragraph>
    <Paragraph position="12"> ACTION-VERB parses the first object and passes it to the INPUT-SUPERVISOR. This checks if the semantic feature IGENERIC (this is a semantic feature associated with words that refer to generic information like &amp;quot;data,&amp;quot; &amp;quot;information,&amp;quot; etc.) does not belong to the object that has been parsed by ACTION-VERB. If that is not the case, the INPUT-SUPERVISOR, after checking in the PASSIVE-FRAME that name is normally associated with the input for EXAM-SCORES, inserts it in the CONSIST-OF slot of input. The INPUT-SUPERVISOR returns control to ACTION-VERB that parses the next object and the process explained above is repeated.</Paragraph>
    <Paragraph position="13"> When ACTION-VERB finds the preposition &amp;quot;on,&amp;quot; the routine ON-SP is activated. This, after checking that the main verb of the sentence has been parsed and that it takes a WHERE case, checks the BLACKBOARD to find out if there is a recommendation for it. Because that is the case, ON-SP tells DESCRIPTION to parse the nominal phrase &amp;quot;on data cards&amp;quot;. This returns with the concept card. ON-SP activates the INPUT-SUPERVISOR with card. This routine, after checking that cards is a type of input that the solver handles, inserts &amp;quot;card&amp;quot; in  the INPUT-TYPE slot of input and returns control.</Paragraph>
    <Paragraph position="14"> What if the sentence had said &amp;quot;... on a notebook&amp;quot;? Because notebook is not a form of input, the INPUT -~ SUPERVISOR would have not inserted &amp;quot;book&amp;quot; into the INPUT-TYPE slot. Another alternative is to let the INPUT-SUPERVISOR insert it in the INPUT-TYPE slot and let the problem solver make sense out of it.</Paragraph>
    <Paragraph position="15"> There is an interesting tradeoff between understanding and problem solving in these contexts.</Paragraph>
    <Paragraph position="16"> The robuster the understander Is~ the weaker the solver may bed and vice versa. The prepositional phrase &amp;quot;for each student&amp;quot; is parsed similarly. ACTION-VERB returns control to INPUT-SP that inserts &amp;quot;instructor&amp;quot; in the SOURCE slot of input. Finally, it sets the variable QUIT to T to indicate to DECLARATIVE that the sentence has been parsed and returns control to it. DECLARATIVE after checking that the variable QUIT has the value T, returns control to SENTENCE. This resets the variables RECOG, QUIT and STRUCT to NIL and begins to examine the next sentence.</Paragraph>
    <Paragraph position="17"> The calling sequence for the second sentence is identical to that for the first sentence except that the recognition of concepts is different. The passive frame for EXAM-SCORES does not contain anything about &amp;quot;registrar&amp;quot; nor about &amp;quot;supplies&amp;quot;. DECLARATIVE has called ACTION-VERB to parse the verbal phrase. This has invoked DESCRIPTION to parse the object &amp;quot;data cards&amp;quot;. STRUCT looks like: (SUBJ (REGISTRAR) ADV (ALSO) AV (SUPPLIES) OBJ ).</Paragraph>
    <Paragraph position="18"> ACTION-VERB is waiting for DESCRIPTION to parse &amp;quot;data cards&amp;quot; to fill the slot of OBJ. DESCRIPTION comes with card from &amp;quot;data cards,&amp;quot; and invokes RECOGNIZE-CONCEPT. The specialist INPUT-SP is connected with card and it is again activated.</Paragraph>
    <Paragraph position="19"> This time the production rule that fires says: If what follows in the sentence is &lt;univer-</Paragraph>
    <Paragraph position="21"> is found.</Paragraph>
    <Paragraph position="22"> The pattern &lt;universal quantifier&gt; + &lt;D-VERB&gt; appears in the antecedent of the production rule because we want the system also to understand: &amp;quot;data cards each containing...&amp;quot;. The rest of the sentence is parsed in a similar way to the first sentence. The INPUT-SUPERVISOR returns control to INPUT-SP that stacks &amp;quot;registrar&amp;quot; in the source slot of input. Finally the concept input for this prob- null If none of the concepts of a sentence are recognized - that is the sentence has been parsed and the variable RECOG is NIL - the system prints the sentence followed by a question mark to indicate that it could not make sense of it. That will happen if we take a sentence from a problem about checking~accounts and insert it in the middle of a problem about exam scores. The INPUT-SP and the INPUT-SUPERVISOR are the same specialists. The former overrides and guides the parser'when a concept is initially recognized, the latter plays the same role after the concept has been recognized.</Paragraph>
    <Paragraph position="23"> The following example illustrates how the INPUT-SUPERVISOR may furthermore override and guide the parser.</Paragraph>
    <Paragraph position="24"> The registrar also provides cards.</Paragraph>
    <Paragraph position="25"> Each card contains data including an identification number ...</Paragraph>
    <Paragraph position="26"> When processing the subject of the second sentence, INPUT-SP is activated. This tells the function DESCRIPTIVE-VERB to parse starting at &amp;quot;contains ...&amp;quot; and to awaken the INPUT-SUPERVISOR when an object is parsed. The first object is &amp;quot;data&amp;quot; that has the marker IGENERIC that tells the INPUT-SUPERVISOR that &amp;quot;data&amp;quot; can not be the value for the input. The INPUT-SUPERVISOR will examine the next concept looking for a D-VERB. Because that is the case, it will ask the routine DESCRIPTIVE-VERB to parse starting at &amp;quot;including an identification n~mber...&amp;quot; 8. Example 2 We will comment briefly on the first six sentences of the example in Fig. 2. We will name each sentence by quoting its beginning and its end. There is a specialist that has grouped the knowledge about checking-accounts. This specialist, whose name is ACCOUNT-SP, will be invoked when the parser finds a concept that belongs to the slot of relevant concepts in the passive frame. The first sentence is: &amp;quot;A bank would like to produce... checking accounts&amp;quot;. The OUTPUT-SP is activated by &amp;quot;like&amp;quot;. When 0UTPUT-SP is activated by a verb with the feature of REQUEST, there are only two production rules that follow. One that considers that the next concept is an action verb, and another that looks for the pattern &lt;REPORT + CONSIST D-VERB&gt; (where &amp;quot;REPORT&amp;quot; is a semantic feature for &amp;quot;report,&amp;quot; &amp;quot;list,&amp;quot; etc.). In this case, the first rule is fired. Then ACTION-VERB is activated with the recommendation of invoking the OUTPUT-SUPERVISOR each time that an object is parsed. ACTION-VERB awakens the OUTPUT-SUPERVISOR with (RECORDS ABOUT (TRANSACTION)), Because &amp;quot;record&amp;quot; has the feature IGENERIC the OUTPUT-SUPERVISOR tries to redirect the parser by looking for a CONSIST D-VERB. Because the next concept is not a D-VERB, OUTPUT-SUPERVISOR sets RECOG to NIL and returns control to ACTION-VERB. This parses the adverbial phrase introduced by &amp;quot;during&amp;quot; and the prepositional phrase introduced by &amp;quot;with&amp;quot;. ACTION-VERB parses the entire sentence without recognizing any relevant concept, except the identification of the frame that was done while processing &amp;quot;a bank&amp;quot;. The second sentence &amp;quot;For each account the bank wants ... balance.&amp;quot; is parsed in the following way. Although &amp;quot;account&amp;quot; belongs to slot of relevant concepts for this problem, it is skipped because it is in a prepositional phrase that starts a sentence. The 0UTPUT-SP is activated by a  REQUEST type verb, &amp;quot;want&amp;quot;. STRUCT looks like: (RECIPIENT (ACCOUNT UQ (EACH)) SUBJECT (BANK)).</Paragraph>
    <Paragraph position="27"> The production rule whose antecedent is &lt;RECORD + CONSIST D-VERB&gt; is fired. The DESCRIPTIVE-VERB function is asked to parse starting in &amp;quot;showing,&amp;quot; and activate the OUTPUT-SUPERVISOR each time an object is parsed. The OUTPUT-SUPERVISOR inserts all objects in the CONSIST-OF slot of output, and returns control to the OUTPUT-SP that inserts the RECIPIENT, &amp;quot;account,&amp;quot; in the CONSIST-OF slot of output and returns control.</Paragraph>
    <Paragraph position="28"> The next sentence is &amp;quot;The accounts and transactions ... as follows:&amp;quot; DECLARATIVE asks DESCRIPTION to parse the subject. Because account belongs to the relevant concepts of the passive frame, the ACCOUNT-SP specialist is invoked. There is nothing in STRUCT. When a topic specialist is invoked and the next word is a boolean conjunction, the specialist asks DESCRIPTION to get the next concept for it. If the concept does not belong to the llst of relevant concepts, the specialist sets RECOG to NIL and returns control. Otherwlse it continues examining the sentence. Because transaction belongs to the slot of relevant concepts of the passive frame, ACCOUNT-SP continues in control.</Paragraph>
    <Paragraph position="29"> ACCOUNT-SP finds &amp;quot;for&amp;quot; and asks DESCRIPTION to parse the nominal phrase. ACCOUNT-SP ignores anything that has the marker HUMAN or TIME.</Paragraph>
    <Paragraph position="30"> Finally ACCOUNT-SP finds the verb, an APPEAR D-VERB and invokes the DESCRIPTIVE-VERB routine with the recommendation of invoking the ACCOUNT-SUPERVISOR each time a complement is found. The ACCOUNT-SUPERVISOR is awakened with card. This inserts &amp;quot;card&amp;quot; in the INPUT-TYPE slot of account and transaction and returns control to the DESCRIPTIVE-VERB routine. AS-SP (the routine for &amp;quot;as&amp;quot;) is invoked next. This, after finding &amp;quot;follows&amp;quot; followed by &amp;quot;:,&amp;quot; indicate to DESCRIPTIVE-VERB that the sentence has been parsed. ACCOUNT-SP returns control to DECLARATIVE and this, after checking that QUIT has the value T, returns control to SENTENCE.</Paragraph>
    <Paragraph position="31"> The next sentence is: &amp;quot;First will be a sequence of cards ... accounts.&amp;quot; The INPUT-SP specialist is invoked. STRUCT looks like: (ADV (FIRST) EXIST ). &amp;quot;Sequence of cards&amp;quot; gives the concept card activating the INPUT-SP specialist.</Paragraph>
    <Paragraph position="32"> The next concept is a REPRESENT D-VERB. INPUT-SP activates the DESCRIPTIVE-VERB routine and asks it to activate the INPUT-SUPERVISOR each time an object is found. The INPUT-SUPERVISOR checks if the object belongs to the relevant concepts for checking accounts. If not, the ACCOUNT-SUPERVISOR will complain. That will be the case if the sentence is: &amp;quot;First will be a sequence of cards describing the students&amp;quot;. Assume that the above sentence says: &amp;quot;First will be a sequence of cards consisting of an account number and the old balance.&amp;quot; In that case, the INPUT-SP will activate also the INPUT-SUPERVISOR but because the verbal concept is a CONSIST D-VERB, the INPUT-SUPERVISOR will stack the complements in the slot for INPUT.</Paragraph>
    <Paragraph position="33"> Thus, what the supervisor specialists do depend on the verbal concept and what is coming after.</Paragraph>
    <Paragraph position="34"> The next sentence is: &amp;quot;Each account is described by ..., in dollars and cents.&amp;quot; Again, the ACCOUNT-SP is activated. The next concept is a CONSIST D-VERB. ACCOUNT-SP assumes that it is the input for accounts and activates the DESCRIPTIVE-VERB function, and passes to it the recommendation of activating the INPUT-SUPERVISOR each time an object is parsed. The INPUT-SUPERVISOR is awakened with (NUMBERS CARDINAL (2)). Because number is not an individual concept (like, say, 0 is) the INPUT-SUPERVISOR reexamines the sentence and finds &amp;quot;:,&amp;quot; it then again asks to DESCRIPTIVE-VERB to parse starting at &amp;quot;the account number...&amp;quot;. The INPUT-SUPERVISOR stacks the complements in the input slot of the concept that is being described: account.</Paragraph>
    <Paragraph position="35"> The next sentence is: &amp;quot;The last account is followed by ... to indicate the end of the list.&amp;quot; The ACCOUNT-SP is invoked again. The following production rule is fired: If the ordinal &amp;quot;last&amp;quot; is modifying &amp;quot;account&amp;quot; and the next concept is a SPATIAL D-VERB then activate the END-OF-DATA specialist. This assumes control and asks DESCRIPTIVE-VERB to parse starting at &amp;quot;followed by&amp;quot; with the usual recommendation of awakening the END-OF-DATA supervisor when a complement is found, and the recommendation of ignoring a PURPOSE clause if the concept is end-of-list or end-of-account. The END-OF-DATA is awakened with &amp;quot;dummy-account&amp;quot;. Because &amp;quot;dtumny-account&amp;quot; is not an individual concept, the END-OF-DATA supervisor reexamines the sentence expecting that the next concept is a CONSIST D-VERB. It finds it, and redirects the parser by asking the DESCRIPTIVE-VERB to parse starting in &amp;quot;consisting of two zero values.&amp;quot; The END-OF-DATA is awakened with &amp;quot;(ZERO CARD (2))&amp;quot;. Because this time the object is an individual concept, the END-OF-DATA supervisor inserts it into the END-OF-DATA slot of the concept being described: account.</Paragraph>
  </Section>
  <Section position="8" start_page="40" end_page="41" type="metho">
    <SectionTitle>
9. Conclusion
</SectionTitle>
    <Paragraph position="0"> LLULL was running in the Dec 20/20 under UCI Lisp in the Department of Computer Science of the Ohio State University. It has been able to understand ten programming problems taken verbatim from text books. A representative example can be found in Fig. 2. After the necessary modifications, the system is presently running in a VAXlI/780 under Franz Lisp. We are now in the planning stage of extensively experimenting with the system. We predict that the organization that we have proposed will make relatively simple to add new problem areas. Assume that we want LLULL to understand programming problems about roman numerals, say.</Paragraph>
    <Paragraph position="1"> We are going to find uses of verbs, prepositions, etc. that our parser will not be able to handle.</Paragraph>
    <Paragraph position="2"> We will integrate those uses in the parser. On top of that we will build some conceptual specialists that will have inferential knowledge about roman numerals, and a thematic frame that will hold structural knowledge about roman numerals. We are presently following this scheme in the extension of LLULL. In the next few months we expect to fully evaluate our ideas.</Paragraph>
    <Paragraph position="3"> I0. A Computer Run  The example below has been taken verbatim from Conway and GriPs (1975). Some notes about the output for this problem are in order.</Paragraph>
    <Paragraph position="4"> i) &amp;quot;SPEC&amp;quot; is a semantic feature that stands for specification. If it follows a concept,- it means that the concept is being further specified or described. The semantic feature &amp;quot;SPEC&amp;quot; is followed by a descriptive verb or adjective, and finally it comes the complement of the specification in parentheses. In the only instance in which the descriptive predicate does not follow the word SPEC is in expressions like &amp;quot;the old balance in dollars and cents&amp;quot;. Those expressions have been treated as a special construction. 2) All direct objects connected by the conjunction &amp;quot;or&amp;quot; appear enclosed in parentheses. 3) &amp;quot;REPRESENT&amp;quot; is a semantic marker and stands for a REPRESENT D-VERB.</Paragraph>
  </Section>
class="xml-element"></Paper>
Download Original XML