next up previous
Next: Global inheritance Up: Formal theory of inference Previous: Inference in DATR

Local inheritance

 

As a point of departure, this section provides rules of inference for a restricted variant of DATR which lacks both global inheritance and the default mechanism. This variant will be referred to as tex2html_wrap_inline4445 . The syntax of tex2html_wrap_inline4445 is as given in Section 3.1.4 except, of course, that the three forms of global inheritance descriptor are omitted. An example of a simple tex2html_wrap_inline4445 theory is presented below:

    NOUN:
        <cat> == noun
        <suff> == s.
    Llama:
        <cat> == NOUN
        <root> == llama
        <sing> == <root>
        <plur> == <root> NOUN:<suff>.
The tex2html_wrap_inline4445 theory defines the properties of two nodes, NOUN and Llama. The definitional sentences specify values for node/path pairs, where the specification is either direct (a particular value is exhibited), or indirect (the value is obtained by local inheritance). For example, the value of the node/path pair NOUN:<cat> is specified directly as noun. In contrast, the node/path pair Llama:<cat> obtains its value indirectly, by local inheritance from the value of NOUN:<cat>. Thus Llama:<cat> also has the value noun. The value of Llama:<plur> is specified indirectly by a sequence of descriptors Llama:<root> NOUN:<suff>. Intuitively, the required value is obtained by concatenating the values of the descriptors Llama:<root> and NOUN:<suff>, yielding llama s.

We wish to provide an inductive definition of an evaluation relation (denoted tex2html_wrap_inline4427 ) between sequences of DATR descriptors in tex2html_wrap_inline3897 and sequences of atoms (i.e., values) in tex2html_wrap_inline3885 . We write

displaymath4439

to mean that the sequences of descriptors tex2html_wrap_inline3899 evaluates to the sequence of atoms tex2html_wrap_inline3887 . With respect to the tex2html_wrap_inline4445 theory above we should expect that tex2html_wrap_inline4501 and that tex2html_wrap_inline4503 , amongst other things.

   figure1005
Figure 3: Evaluation semantics for DATR tex2html_wrap_inline4505

The formal definition of tex2html_wrap_inline4427 for tex2html_wrap_inline4445 is provided by just four rules of inference, as shown in Figure 3. The rule for Values states simply that a sequence of atoms evaluates to itself. Another way of thinking about this is that atom sequences are basic, and thus cannot be evaluated further. The rule for Definitions was briefly discussed in the previous section. It permits inferences to be made about the values associated with node/path pairs, provided that the theory tex2html_wrap_inline3951 contains the appropriate definitional sentences. The third rule deals with the evaluation of sequences of descriptors, by breaking them up into shorter sequences. Given that the values of the sequences tex2html_wrap_inline3899 and tex2html_wrap_inline3901 are known, then the value of tex2html_wrap_inline4517 can be obtained simply by concatenation. Note that this rule introduces some non-determinism, since in general there is more than one way to break up a sequence of value descriptors. However, whichever way the sequence is broken up, the result (i.e., value obtained) should be the same. The following proof serves to illustrate the use of the rules Val, Def and Seq. It establishes formally that the node/path pair Llama:<plur> does indeed evaluate to llama s given the tex2html_wrap_inline4445 theory above.

displaymath4441

The final rule of Figure 3 deals with DATR's evaluable path construct. Consider a value descriptor of the form tex2html_wrap_inline4525 . To determine the value of the descriptor it is first necessary to establish what path is specified by the path descriptor tex2html_wrap_inline4527 . This involves evaluating the descriptor tex2html_wrap_inline4529 and then plugging in the resultant value tex2html_wrap_inline3887 to obtain the path tex2html_wrap_inline4533 . The required value is then obtained by evaluating tex2html_wrap_inline4535 . The rule for Evaluable Paths provides a general statement of this process: if a sequence of value descriptors tex2html_wrap_inline3899 evaluates to tex2html_wrap_inline3887 and tex2html_wrap_inline4541 evaluates to tex2html_wrap_inline3889 , then tex2html_wrap_inline4545 also evaluates to tex2html_wrap_inline3889 .


next up previous
Next: Global inheritance Up: Formal theory of inference Previous: Inference in DATR

Copyright © Roger Evans, Gerald Gazdar & Bill Keller
Wed Feb 26 12:00:02 GMT 1997