File Information

File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/metho/80/c80-1059_metho.xml

Size: 35,225 bytes

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

<?xml version="1.0" standalone="yes"?>
<Paper uid="C80-1059">
  <Title>PROCESSING OF SYNTAX AND SEMANTICS OF NATURAL LANGUAGE BY PREDICATE LOGIC</Title>
  <Section position="1" start_page="0" end_page="0" type="metho">
    <SectionTitle>
PROCESSING OF SYNTAX AND SEMANTICS OF NATURAL LANGUAGE
BY PREDICATE LOGIC
</SectionTitle>
    <Paragraph position="0"/>
    <Section position="1" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
Summary
</SectionTitle>
      <Paragraph position="0"> The syntax and semantic analyses of natural language are described from the standpoint of man-machine communication. The knowledge based system KAUS(Knowledge Acquisition and Utilization System) which has capabilities of deductive inference and automatic program generation of database access is utilized for that purpose. We try to perform syntax and semantic analyses of English sentences more or less conccurently by defining the correspondence between the basic patterns of English and the extended atomic formula in the framework of KAUS. Knowledge representation based on sets and logic, the sentence analysis utilizing this knowledge are given with some examples.</Paragraph>
      <Paragraph position="1"> i. Introduction This paper presents natural language understanding in man-machine invironments. The syntax and semantic analyses program is given almost in logical forms of the knowledge based system KAUS (knowledge Acquisition and Utilization System).</Paragraph>
      <Paragraph position="2"> KAUS is a logic machine based on the axiomatic set theory and it has capabilities of deductive inference and automatic program generation of database access.</Paragraph>
      <Paragraph position="3"> In natural language understanding, it should be required that the syntax analysis is performed with association of word semantics. The descriptions of word semantics are fundamental as well as syntax features in language analysis. When using natural language to communicate with a machine, the understanding of meanings of sentences is presupposed to the machine.</Paragraph>
      <Paragraph position="4"> We think of words as representing concept sets or property sets, and formalize them into a structure called SKELETON STRUCTURE using their element-set relationships. In this, we can represent semantic categories of words in hierarchical order. The correspondence between natural language expressions and system's logical formulas is given in the straightforward manner such as &amp;quot;X give Y to Z&amp;quot; --- (GIVE X Z Y P) where the variables X, Y and I are usually bounded by their semantic categories. We call this set of representations ATOM FORMAT DEFINITION SET. Furthermore, causality relations of general facts and paraphrases of sentences are given as general axioms. Individual facts are also given as axioms. We call these sets of representations AXIOM SET. Conceptual schemas of databases can also be given in the axiom set. The KAUS's knowledge base comprises the above three components. null Utilizing this knowledge base, we try to perform the syntax and semantic analyses of natural language more or less conccurently in the sense that all these processes will be carried out through the deductive process in KAUS. At the time, the logic program of the analyses written in KAUS language is executed by the deductive process.</Paragraph>
      <Paragraph position="5"> In the chapter 2, some considerations oh natural language(NL) processing are given as preliminaries. In the chapter 3, the outline of KAUS is described, where the knowledge representation, the system language and the deductive inference rule are presented. In the chapter 4, a rather intuitive and straightforward approach to the analyses of English sentences is described with some examples. A part of the logic program of the analyses is also given there.</Paragraph>
    </Section>
  </Section>
  <Section position="2" start_page="0" end_page="0" type="metho">
    <SectionTitle>
2. Some Considerations on NL Processing
</SectionTitle>
    <Paragraph position="0"> When we are going to construct a natural language understanding system, the following four points must be clarified: i). the main motivation and goal for NL processing 2). knowledge representation suitable for NL processing 3). the aspect of programming language and methodology by which the modification, updating and extension of the program of NL processing can be easily made.</Paragraph>
    <Paragraph position="1"> 4). the efficiency of processing In the sequel, we will clarify our standpoint about the above matters.</Paragraph>
    <Section position="1" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
2.1 Motivation and Goal
</SectionTitle>
      <Paragraph position="0"> At present, the details of the mechanism of human language comprehension and knowledge memorization have not yet been clarified. These are still left uncertain. Now, let us consider the human process of natural language understanding.</Paragraph>
      <Paragraph position="1">  --389--When we read a sentence, we make an image (meaning) of each word and match the pattern of the sentence predicting what sorts of words will be coming to the next. The imagination, prediction and pattern matching are usually made involuntarily. Furthermore, if several sentences are following, we settle the scene of the discourse and extract the meaning of the current sentence with relation to the discourse. That is, the word meanings (semantics), the sentence pattern (syntax) and the world knowledge are fundamental components for the sentence comprehension. null Our main motivation and goal are to deal with the NL processing from the standpoint of man-machine communication, and with the above consideration, to write a syntax and semantics analysis program under the knowledge-based system ~US which has capabilities of deductive inference and automatic program generation of data-base access.</Paragraph>
    </Section>
    <Section position="2" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
2.2 Knowledge Representation
</SectionTitle>
      <Paragraph position="0"> In natural language analysis, knowledge representation to parse the sentences and extract their meanings is most crucial. The various kinds of parsers have been revised by experts; among them, the ATN parser by W. Woods is wide-spread and used elsewhere. It is essentially a context-free grammar based one. Further, to represent the semantic structure of the sentences, the frame theory revised by M. Minsky is widespread. The system using the ATN or ATN-like parser and the frame or frame-like structure, present them in semantic networks.</Paragraph>
      <Paragraph position="1"> On the other hand, predicate calculus oriented knowledge representation is also available to language processing. We will adopt predicate calculus oriented representation of knowledge for NL processing and database definitions.</Paragraph>
      <Paragraph position="2"> In database applications, predicate logic is of greate advantage to define intensional and extensional data to which the deductive inference rule can be applied. Moreover, it has been pointed out that there exist similarities between natural language and predicate logic. But as the expressive power of first order logic is rather restricted, we will extend the formalism of first order logic. This formalism will be given in the next chapter.</Paragraph>
    </Section>
    <Section position="3" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
2.3 Programming Langua$e and Methodology
</SectionTitle>
      <Paragraph position="0"> To make a computer understand natural language, we must program &amp;quot;the understanding mechanism&amp;quot; and give &amp;quot;the state of the world&amp;quot; to the machine. It should be noticed here that natural language contains ambiguous expressions in itself. It is usually very difficult how to process ambiguities of sentences. In general, &amp;quot;ambiguity&amp;quot; may be a property of subjects but should not be a property of the processing mechan&amp;sm; the solution of the subject and the subject itself may be given plausibly or uncertainly but not the solution mechanism itself.</Paragraph>
      <Paragraph position="1"> With this consideration, we adopt the logic programming method which can be involved in KAUS's system language. By this method, we can design a sentence analysis program in the top-down style. The logic programming with use of the KAUS's formal logic is perspicuous, by which the modification, updating and extension can be made easily. In particular, the correspondences between the form of natural language expressions and the system's own formulas can be defined fairly in the straightforward manner, which are referred to in turn by the deductive inference and retrieval mechanism to translate the former into the latter.</Paragraph>
    </Section>
    <Section position="4" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
2.4 Efficiency of Processing
</SectionTitle>
      <Paragraph position="0"> With respect to the efficiency of processing, the program written in KAUS's logic programming style may be slightly less comfortable than the program written altogether in the procedural form becuase of the necessity of the execution of deductive retrieval program. However, the efficiency would be slightly sacrificed at the moment for the sake of clarity of the program.</Paragraph>
    </Section>
  </Section>
  <Section position="3" start_page="0" end_page="0" type="metho">
    <SectionTitle>
3. Outline of KAUS
</SectionTitle>
    <Paragraph position="0"> In this chapter, we describe briefly about an knowledge based system called KAUS(Knowledge Acquisition and Utilization System) which was realized in accordance with the design philosophy presented in the paper \[6\] and \[7\]. KAUS is constructed on the basis of the axiomatic set theory which has capabilities of deductive inference and automatic program generation for database access. It can be also applied to the logic programming of the semantic processing of natural language. In the following, we focus our discussions to the characteristics of knowledge representation formalism, the deductive inference rule and the system language features.</Paragraph>
    <Section position="1" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
3.1 Knowledge Representation Formalism
</SectionTitle>
      <Paragraph position="0"> We think of words as representing concept or property sets of things, and organize them into a structure on the basis of their set-theoretic implications. We will call such a structure SKELETON STRUCTURE. Using this formalism, we can represent semantic categories of words in hierarchical order. For example, the following set relations are structurized into Figure i.</Paragraph>
      <Paragraph position="1">  In the figure, the relation of set inclusion is uniformly represented as the element-set relations by using the concept of power sets. Then the power set of PERSON (we denote it by @PERSON) comprises all the subsets of PERSON: @PERSON = \[ MAN, WOMAN, BOY, GIRL ....</Paragraph>
      <Paragraph position="2"> .... #JOHN, #MARY .... \] (2) Hereupon, let us consider the ordinary first order predicate logic at a moment. In the first order logic, domains of variables are described by using predicates. For example, &amp;quot;every man walks&amp;quot; is represented by (Vx)\[MAN(x) ...... &gt; WALK(x)\] (3) where MAN(x) is used for the domain restriction of the variable X. Thus, this restriction can be interpreted as &amp;quot;x is an element of MAN&amp;quot;. Moreover, if it were required to answer the question &amp;quot;does every boy walks?&amp;quot;, the following axiom would have to be given.</Paragraph>
      <Paragraph position="4"> Then, using (3) and (4), the above question can be evaluated by Resolution Principle. But such descriptions as (3) and (4) are rather cumbersome. In place of them, we give the following  (5) and (6) which have the same interpretation as (3) and (4) respectively.</Paragraph>
      <Paragraph position="6"> where the prefix (Vx/MAN) in (5) which can be included in our axiom set described later denotes &amp;quot;for every x~ MAN&amp;quot; The set relation (6) can be also given in our skeleton structure.</Paragraph>
      <Paragraph position="7"> Using both (5) and (6), we can derive the answer of the above question faster than the ordinary first order logic where such representations as (3) and (4) are used. This is the merit of the skeleton structure and will be much more clarified in the section of Deductive Inference Rule. Atom Format Definition Set In the first order logic, constants, variables and functions are recognized as terms. Then, an atom is defined as P(t~, t2,..., t~) where P is a n-place predicate symbol and t~ (i = l,...,n) is a term. A formula is defined by using such atoms, logical connectives and quantifiers. However, when we wish to translate a natural laguage expression into a predicate form in the above formalism; we cannot directly handle phrases and clauses both of which are used as verb objects or verb complements. Therefore, we extend the atom definition as follows: i). a formula can be permitted as a term besides constants, variables and functions null 2). a function can be used as an atom --we call this type of an atom PROCEDURAL TYPE ATOM (PTA), while the other type atom is called NONPROCEDURAL TYPE ATOM (NTA). (note: because of permitting a PTA as an atom, we can perceive that our logical formulas afford a sort of logic programming facilities.) The atom format definition set provide us with a definition of a correspondence between some syntactic features bf natural language and our logical formulas. In addition, PTA definitions are also given in the set. In the figure 2, some examples are illustrated , where all of the used atom formats conform to the following standard format definitions:</Paragraph>
      <Paragraph position="9"> NTAI is usually used for representing a simple sentence, while NTA2 is used for representing an Adj.x Noun phrase. In the NTA\] definition, V denotes a predicate symbol. S, XI, X~ and P are terms, of which S is usually used as the subject of V, and P is a formula which denotes the modifiers concerning time, locus, goal, reason and manner of V. Some of the terms may be omitted according to the syntactic feature of a sentence. In the NTA2 definition, (A 0 V) denotes &amp;quot;the Attribute of Object is Value&amp;quot;. Finally, in the PTA definition, F denotes a function name which takes input variables Xt ,..</Paragraph>
      <Paragraph position="10"> .., X~ and output variables Yi ,..., Y~ * It must be remarked here that some of the variables in (7), (8) and (9) may be bounded by their domains or semantic categories, but they were omitted for the sake of simplicity.</Paragraph>
      <Paragraph position="11"> &amp;quot;X give Y to Z ..... (GIVE X Z Y P) &amp;quot;red X ..... (COLOR X RED) &amp;quot;two X' .... (CARDINAL X 2) &amp;quot;X on Y&amp;quot; --- (ON X Y P) &amp;quot;X be father of Y&amp;quot; --- (FATHER Y X)</Paragraph>
      <Paragraph position="13"> of the world which specify general facts such as causality relations of things and sentence paraphrasing, and individual facts such as &amp;quot;John gave a red car to Mary&amp;quot;. These facts are represented by formulas in the standard form</Paragraph>
      <Paragraph position="15"> Where Q represents quantification of variables, taking the form (q, V~/d, )(qzvz/d~ )... (qKv,/dK), in which q~ denotes a quantifier symbol V or 3, vz is a variable name and dz indicates the domain of the variable VZ. F and G represent premise and conclusion respectively in the formula; namely, F --~ G. More clearly, F is constituted from NTAs and PTAs by using logical connectives A , V ands, and also the same is G except that no PTAs are permitted. The internal representation of a formula in KAUS is an AND-OR tree to whose root node the quantification part Q is attached (see Figure 3).</Paragraph>
      <Paragraph position="16"> Now, we have here several examples* * Example I. We can represent a causality relation of &amp;quot;give&amp;quot; as follows:</Paragraph>
      <Paragraph position="18"> This says that &amp;quot;if X ~ PerSon) gave Z ~ Physical-Object) to y (~PerSon), then y has Z and X has not Z at the moment&amp;quot;.</Paragraph>
      <Paragraph position="19"> Example 2. We can paraphrase &amp;quot;x give z to y&amp;quot; to &amp;quot;y receive z from x&amp;quot; * (Vx/PS)(Vy/PS)(Vz/PO)(Vp/VMOD) \[--~(GIVE x y z p)v (RECEIVE y z x p)\] where p/VMOD specifies that p is any formula which qualifies the predicates.</Paragraph>
      <Paragraph position="20"> Example 3. We can express the meaning of &amp;quot;float&amp;quot; as follows :</Paragraph>
      <Paragraph position="22"> This says that &amp;quot;if the specific gravity of x is U, the specific gravity of y is V and U is less than V , then X float on y&amp;quot;.</Paragraph>
      <Paragraph position="23">  Example 4. The fact, &amp;quot;John gave a red car to Mary&amp;quot; is represented as follows : \[(GIVE #JOHN #MARY CAR (TIME PAST)) A (COLOR CAR RED)^ (QF CAR A)\] Example 5. The fact, &amp;quot;John drinks coffee after John plays tennis&amp;quot; is represented as follows :</Paragraph>
    </Section>
  </Section>
  <Section position="4" start_page="0" end_page="0" type="metho">
    <SectionTitle>
(DRINK #JOHN COFFEE (TIME (AFTER (PLAY #JOHN
TENNIS (TIME PRESENT)))))
</SectionTitle>
    <Paragraph position="0"> All of these general/individual facts can be put into the axiom set and they will be referred to through the deductive retrieval mechanism in KAUS.</Paragraph>
    <Paragraph position="1"> *). The real notation implemented by KAUS is partly modified (see 3.3 System Language).</Paragraph>
    <Paragraph position="2"> @W, \[~\] --- Q, @w3</Paragraph>
    <Paragraph position="4"/>
    <Section position="1" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
Axioms and Skeleton Structure
3.2 Deductive Inference Rule
</SectionTitle>
      <Paragraph position="0"> In the previous section, we have given the formalism of knowledge representation, where the concepts and properties of words can be partially ordered according to their set-theoretic implications. Moreover, we have defined the correspondence between the syntax features of natural language and logical expressions somewhat in the straightforward manner. We have also described how to represent universal/individual facts in our axiom set. However, it must be stressed here that these three types of knowledge are not independently presented in the knowledge base but interrelated each other with respect to domains of variables of atoms; that is, the bidirected access paths to each constituent of the knowledge base are mutually defined (see Figure 3). By making much use of these access paths, the knowledge only necessary for deduction can be retrieved efficiently. The deduction is performed by the inference rule comprising the following four components:  i). S R: Selection Rule for a literal resolved upon 2). TIC: Test for Implicative Condition 3). R R: Replacement Rule 4). T T: Test for Termination of deduction SR(Selection Rule) A literal resolved upon is  selected from the query tree. The selection criterions are as follows. First, the left-to-right search for a non-evaluated NTA(non-procedural type atom) is made in the tree. When it is found, it is checked whether a constant or 3-variable is contained in the NTA. If it does the case, this NTA is took as a candidate resolved upon. If no such a literal is presented in the tree, certain counterplans are executed. The details would be omitted here.</Paragraph>
      <Paragraph position="1"> TIC(Test for Implicative Condition) After the candidate literal to be resolved upon is decided, axioms which contain the literals with the same predicate symbol as the candidate literal's but with the opposite sign are retrieved in the knowledge base. At that occasion, the search domain is narrowed to the subset of the axiom set by indexing the variable domains of the &amp;quot; 392literal resolved upon. The skeleton structure is referred to for this purpose.</Paragraph>
      <Paragraph position="2"> Now, let us denote P as such a literal searched in the knowledge base and C as a candidate literal resolved upon. TIC checks the implicative conditions of P ---&gt; C. One of the conditions to be checked is the set relation of the P's variable domains to the corresponding C's variable domains. The Table 1 shows this condition. Let us consider an example:</Paragraph>
      <Paragraph position="4"> P says that &amp;quot;a certain particular girl is loved by every man&amp;quot;. On the other hand, C says that &amp;quot;every boy loves some woman&amp;quot; in the ordinary sense. In this case, P ---&gt; C can be established because all the corresponding variable pairs (X, U), (y, V) and (p, q) satisfy the condition in Table i. However, if P and C are</Paragraph>
      <Paragraph position="6"> then, P ---&gt; C can never established in spite of satisfaction of Table i, because the most general significant unifier does not exist, TIC tests this condition, too.</Paragraph>
      <Paragraph position="7"> RR(Replacement Rule) Let F be an axiom containing P and let G be the query clause containing C. RR generates a new query clause R after substitution o has been done. That is, Co is replaced with (Fo - Po), resulting in R: QR (G~ - C~) .(Fo - P~) (15) where * denotes that (Fo - Po) should be attached to the place where C was resided. Substitution o is defined in Table I.</Paragraph>
      <Paragraph position="8"> TT(Test for Termination) When all the nodes in the query tree have been evaluated, deduction is terminated. Though we have said that all NTA nodes in the query tree are evaluated by means of the above SR, TIC and RR, we have not said almost anything about PTAs. We must now mention about them. PTAs in the query tree are in general, ready to be evaluated just at the time when all its input variables have been filled up with their values. Then, the evaluation is performed by calling the subroutines attached to PTAs.</Paragraph>
    </Section>
    <Section position="2" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
3,3 System Language
</SectionTitle>
      <Paragraph position="0"> The system language provide us with fucalties of constructing knowledge base and relational database. Besides that, it can be used as sub- null sentations. The syntax of the system language has already been supposed in the section 3.1. At this section, we present the really implemented features of the language briefly. Details are excluded because this is not the purpose of this paper.</Paragraph>
      <Paragraph position="1"> The syntax of the system language is based on the tuple (V0, Vi,... , V n) where V 0 is either a system command name, a predicate symbol or a variable whose domain is a PREDICATE; Vi(i Y=0 ) is a term as which a string and a numerical constant and a formula are permitted. The system language has the following characteristics that are not included in the first order logic: i). Variables can be explicitly specified.</Paragraph>
      <Paragraph position="2"> For example, \[AX/MAN\]\[EY*/WOMAN\] where A and E denote the universal and existential quantifier respectively, and the symbol * attached to Y denotes that Y is a query variable.</Paragraph>
      <Paragraph position="3"> 2). A predicate symbol itself can be a variable. For example, \[EX*/PRED\]($X, #JOHN, #MARY)? where the symbol $ attached to X denotes that X is a variable and the symbol ? denotes that the expression is a query.</Paragraph>
      <Paragraph position="4">  3). A recursive expression can be permitted. 4). A procedural type atom PTA --- a function --- can be permitted as an atom.</Paragraph>
      <Paragraph position="5"> For this reason, an aspect of logic programming is obtained.</Paragraph>
      <Paragraph position="6"> 4. Syntax and Semantics Analyses  In syntax and semantics analyses, word meanings, sentence patterns and world knowledge are fundamental. Characteristics of the sentence analysis partly depend on knowledge representation used. As described in the chapter 3, we represent knowledge in the framework of sets and logic in KAUS. The characteristics of our sentence analysis program are that, during the analysis, we use the rather direct correspondence between the basic sentence patterns (syntax) of natural language and the extended atomic formulas in KAUS, and that the pattern matching method can be used together with the deductive - 393 inference rule. A more characteristic is that words in a clause are put into four groups preserving the word order, each of which contains subjects, the main verb, direct objects/complements and indirect objects/complements respectively. In this chapter we present the English sentence analysis program using the above method.</Paragraph>
    </Section>
    <Section position="3" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
4.1 Descriptive Presentation of the analysis
</SectionTitle>
      <Paragraph position="0"> The analysis takes the following steps: i. The parts of speech of each word in the input sentence and atom format definitions attached to each predicative/attributive word such as verbs, adjectives, prepositions and the others are fetched from the knowledge base.</Paragraph>
      <Paragraph position="1"> 2. The input sentence is partitioned into a set of clauses by considering the positions of conjunctions, relative pronouns and punctuation marks.</Paragraph>
      <Paragraph position="2"> 3. Words in a clause are put into four groups preserving the word order in the clause, each of which may contain subjects, the main verb, direct objects/complements respectively. For this purpose, the correspondence relation be- null tween the NL syntax and the atomic formula syntax is utilized.</Paragraph>
      <Paragraph position="3"> 4. Each phrase in the four groups is decided whether it indicates qualification of nouns or of predicates.</Paragraph>
      <Paragraph position="4"> 5. If there are AND/OR conjunctions in a clause it is decided whether they are in the scope of a preposition or not.</Paragraph>
      <Paragraph position="5"> 6. After all of the words in a clause have been interrelated each other, the remaining clauses are processed by repeating 3 to 5. 7. After all of the clauses have been processed,  substantiation of each personal and demonstrative pronoun is established.</Paragraph>
      <Paragraph position="6"> 8. In consequence, the extended formula deduced from the input sentence is obtained.</Paragraph>
      <Paragraph position="7"> To get comprehension of the above description, let us consider the next example: IN HIBIYA-PARK, JOHN MET JACK AND MARY. (16) This is the case that the sentence comprises only one clause. On this sentence, the basic sentence pattern of &amp;quot;meet&amp;quot;, that is, &amp;quot;PERSON1 meet PERSON2&amp;quot;, is fetched from the atom format definition set. The atom format definition of the preposition, &amp;quot;in&amp;quot; is also fetched; that is, &amp;quot;THING in PLACE&amp;quot;. But this will not be used in this case. Then, grouping of words in the sentence is made according to the pattern &amp;quot;PERSON1 meet PERSON2&amp;quot;, resulting in  where the words marked with the star symbol * denote the instances of PERSON1 and PERSON2. This can be established by using the skeleton structure in which JOHN, JACK and MARY are defined as elements of PERSON. In the next place, the phrase &amp;quot;IN HIBIYA-PARK&amp;quot; is decided as indicating qualification of the verb &amp;quot;MET&amp;quot;. The conjunction &amp;quot;AND&amp;quot; is then determined as to be in the scope of the conjunction of direct objects of &amp;quot;MET&amp;quot;. As the final result, we obtain the following formula:</Paragraph>
    </Section>
  </Section>
  <Section position="5" start_page="0" end_page="0" type="metho">
    <SectionTitle>
\[(MEET JOHN JACK (TIME PAST)~(PLACE (IN
HIBIYA-PARK)))A(MEET JOHN MARY (TIME PAST)
A(PLACE (IN HIBIYA-PARK)))\] (17)
</SectionTitle>
    <Paragraph position="0"> Let us consider a more complex sentence which contains a relative clause and a personal pronoun in it:</Paragraph>
  </Section>
  <Section position="6" start_page="0" end_page="0" type="metho">
    <SectionTitle>
JOHN GAVE A RED CAR TO MARY WHO HE LOVES. (18a)
JOHN GAVE A RED CAR TO MARY WHO LOVES HIM.(18b)
</SectionTitle>
    <Paragraph position="0"> In this case, both of the sentence (18a) and (18b) are split into the two clauses respectively; among which, each nucleus clause of (18a) and (18b) is the same, that is, &amp;quot;John gave a red car to Mary&amp;quot;; but the relative clause in (18a) means that &amp;quot;John loves Mary&amp;quot; while that in (18b) means that &amp;quot;Mary loves John&amp;quot;. On the nucleus clause, the basic sentence pattern &amp;quot;PERSON1 gave THING to PERSON2&amp;quot; for &amp;quot;give&amp;quot; and &amp;quot;red THING&amp;quot; for the attributive adjective &amp;quot;red&amp;quot; are fetched from the knowledge base. Then, grouping of words in the clause is made according to the basic sentence pattern, resulting in  group 1 : \[ JOHN* \] group 2 : \[ GAVE \] group 3 : \[ A RED CAR* \] group 4 : \[ TO MARY* \]  In the next place, the pattern &amp;quot;red THING&amp;quot; is applied to &amp;quot;RED CAR&amp;quot; in the group 3, and in consequence, the formula (COLOR CAR RED) is derived, We translate the indefinite article &amp;quot;a&amp;quot; into the formula (QF CAR A) to denote that &amp;quot;car&amp;quot; is qualified by &amp;quot;a&amp;quot; in the clause. Thus, all the semantic relations among words in the nucleus clause &amp;quot;John gave a red car to Mary&amp;quot; have been derived:</Paragraph>
  </Section>
  <Section position="7" start_page="0" end_page="0" type="metho">
    <SectionTitle>
(GIVE #JOHN #MARY CAR (TIME PAST))
A(COLOR CAR RED)A(QF CAR A) (19)
</SectionTitle>
    <Paragraph position="0"> The relative clause in (18a), &amp;quot;who he loves&amp;quot;, is transformed to (LOVE HE MARY (TIME PRESENT)), and &amp;quot;who loves him&amp;quot; in (18b) is transformed to (LOVE MARY HE (TIME PRESENT)). This can be attained by making use of the basic sentence pattern, &amp;quot;PERSON1 love PERSON2&amp;quot;. In case of &amp;quot;who he loves&amp;quot;, the following four word groups are initially generated by using this pattern.</Paragraph>
    <Paragraph position="1">  --- (WHO) HE LOVES --group 1 : \[ (WHO) HE* \] group 2 : \[ LOVES \] - 394 group 3 : \[ # \] ; an empty group group 4 : \[ \] ; not to be used  Then, taking account of the state of the group 1 and the group 2, the antecedent of &amp;quot;who&amp;quot; is decided to be the direct object of &amp;quot;love&amp;quot;. In the last place, the personal pronoun &amp;quot;he&amp;quot; is substantiated by&amp;quot;John&amp;quot;. The similar discussion can be given to the case, &amp;quot;who loves him&amp;quot;, and therefore, it is omitted here. The final results of the analysis of (18a) and (18b) are</Paragraph>
  </Section>
  <Section position="8" start_page="0" end_page="0" type="metho">
    <SectionTitle>
(GIVE #JOHN #MARY CAR (TIME PAST))
A(COLOR CAR RED)^ (QF CAR A)
^(LOVE #JOHN #MARY (TIME PRESENT)) (20a)
(GIVE #JOHN #MARY CAR (TIME PAST))
A (COLOR CAR RED) A (QF CAR A)
A(LOVE #MARY #JOHN (TIME PRESENT)) (20b)
</SectionTitle>
    <Paragraph position="0"> So far, we have been concerned with declarative sentences. With regard to interrogative and imperative sentences, we transform them to declarative sentences prior to the successive analysis of them. Further, passive sentences have not been taken into account of hitherto.</Paragraph>
    <Paragraph position="1"> The passive voice is especially used in sentences in which it is unnecessary or undesirable to mention the agent, though the agent may be expressed by means of an adjunct with &amp;quot;by,'. The verbal meaning of the passive voice may also be brought out by adjuncts expressing other adverbial relations, such as time, manner, cause or instrument. A passive sentence may be analyzed with adaptation of the special treatment of the verb &amp;quot;be&amp;quot; followed by a past participle. For example,</Paragraph>
  </Section>
  <Section position="9" start_page="0" end_page="0" type="metho">
    <SectionTitle>
(IN ENGLISH))A(TIME PRESENT))
A(QF BOOK THE)\] (22)
</SectionTitle>
    <Paragraph position="0"> where the \[ \] is used to denote special attention to readings. The special treatment of the verb &amp;quot;be&amp;quot; is not only introduced to passive sentences but also to the other fragments shown in</Paragraph>
    <Section position="1" start_page="0" end_page="0" type="sub_section">
      <SectionTitle>
4.2 Logic Program
</SectionTitle>
      <Paragraph position="0"> By using a logic programming method, we can clearly show what should be done in the program depending on an approach taken for the sentence analysis, in which modification, updating and extension can easily be made. In the previous section, we have shown our approach by which a sentence may be analyzed rather intuitively and straightforwardly in the framework of KAUS. According to this method, we present, in this section, a part of the program by which an input clause is analyzed yielding an extended formula in KAUS. The execution of the program is undertaken by the deductive retrieval process with use of the merits of our knowledge representation. In the following representation of the program, we made convention that the top formula is concluded if all of the successive formulas indented are evaluated (proofed).</Paragraph>
    </Section>
  </Section>
  <Section position="10" start_page="0" end_page="0" type="metho">
    <SectionTitle>
'(GET-DON SDOM XDOM YDOM ; VP S)
'(CREATE-GROUP SGP VGP XGP YGP ;
SDOM VP XDOM YDOM S)
(ARGUMENT SUBJ SDOM SGP)
(ARGUMENT XOBJ XDOM XGP)
(ARGUMENT YOBJ YDOM YGP)
(NOD-ATOM SHOD SUBJ SGP)
(NOD-ATOM XMOD XOBJ XGP)
(NOD-ATOM YMOD YOBJ YGP)
(VMOD-ATOM VMOD VGP SGP XGP YGP)
(KERNEL-S KS VP MVERB SUBJ XOBJ YOBJ VMOD)
</SectionTitle>
    <Paragraph position="0"> The first program denotes that an input clause S is translated into an extended formula EP by evaluating the successive thirteen indented formulas, of which the ARGUMENT formulas are in turn to be replaced with the premises of the second or the third ARGUMENT program, or the other ARGUMENT programs that are not exhibited here, by the deductive inference rule. Then, these premises are in turn to be evaluated. The third ARGUMENT program exhibited above is concerned with a relative clause except where- and prep.-relative-noun clauses. The other NTAs in the first program may be evaluated in the similar way. The figure 4 shows a sample process of the program, where the main terms used in the program are also shown by categorizing them hierarchically in the skeleton structure.</Paragraph>
    <Paragraph position="1"> Conclusion We have described the syntax and semantics analyses of natural language (English) within the framework of the intelligent man-machine system KAUS. The more the volume of data related to the sentence analysis is enlarged in the knowledge base and the sentence analysis program itself is extended, the more the class of acceptable sentences will be broadened. This may be ensured by the method described hitherto.</Paragraph>
  </Section>
class="xml-element"></Paper>
Download Original XML