{ "paper_id": "P86-1038", "header": { "generated_with": "S2ORC 1.0.0", "date_generated": "2023-01-19T09:12:51.319514Z" }, "title": "A LOGICAL SEMANTICS FOR FEATURE STRUCTURES", "authors": [ { "first": "Robert", "middle": [ "T" ], "last": "Kasper", "suffix": "", "affiliation": { "laboratory": "", "institution": "University of Michigan Ann Arbor", "location": { "postCode": "48109", "region": "Michigan" } }, "email": "" }, { "first": "William", "middle": [ "C" ], "last": "Rounds", "suffix": "", "affiliation": { "laboratory": "", "institution": "University of Michigan Ann Arbor", "location": { "postCode": "48109", "region": "Michigan" } }, "email": "" } ], "year": "", "venue": null, "identifiers": {}, "abstract": "Unification-based grammar formalisms use structures containing sets of features to describe linguistic objects. Although computational algorithms for unification of feature structures have been worked out in experimental research, these algcwithms become quite complicated, and a more precise description of feature structures is desirable. We have developed a model in which descriptions of feature structures can be regarded as logical formulas, and interpreted by sets of directed graphs which satisfy them. These graphs are, in fact, transition graphs for a special type of deterministic finite automaton. This semantics for feature structures extends the ideas of Pereira and Shieber [11], by providing an interpretation for values which are specified by disjunctions and path values embedded within disjunctions. Our interpretati6n differs from that of Pereira and Shieber by using a logical model in place of a denotational semantics. This logical model yields a calculus of equivalences, which can be used to simplify formulas. Unification is attractive, because of its generality, but it is often computations/]), inefficient. Our mode] allows a careful examination of the computational complexity of unification. We have shown that the consistency problem for formulas with disjunctive values is NP-complete. To deal with this complexity, we describe how disjunctive values can be specified in a way which delays expansion to disjunctive normal form. 1 Background: Unification in Grammar Several different approaches to natural language grammar have developed the notion of feature structures to describe linguistic objects. These approaches include linguistic theories, such as Generalized Phrase Structure Grammar (GPSG) [2], Lexical Functional Grammar (LFG) [4], and Sys", "pdf_parse": { "paper_id": "P86-1038", "_pdf_hash": "", "abstract": [ { "text": "Unification-based grammar formalisms use structures containing sets of features to describe linguistic objects. Although computational algorithms for unification of feature structures have been worked out in experimental research, these algcwithms become quite complicated, and a more precise description of feature structures is desirable. We have developed a model in which descriptions of feature structures can be regarded as logical formulas, and interpreted by sets of directed graphs which satisfy them. These graphs are, in fact, transition graphs for a special type of deterministic finite automaton. This semantics for feature structures extends the ideas of Pereira and Shieber [11], by providing an interpretation for values which are specified by disjunctions and path values embedded within disjunctions. Our interpretati6n differs from that of Pereira and Shieber by using a logical model in place of a denotational semantics. This logical model yields a calculus of equivalences, which can be used to simplify formulas. Unification is attractive, because of its generality, but it is often computations/]), inefficient. Our mode] allows a careful examination of the computational complexity of unification. We have shown that the consistency problem for formulas with disjunctive values is NP-complete. To deal with this complexity, we describe how disjunctive values can be specified in a way which delays expansion to disjunctive normal form. 1 Background: Unification in Grammar Several different approaches to natural language grammar have developed the notion of feature structures to describe linguistic objects. These approaches include linguistic theories, such as Generalized Phrase Structure Grammar (GPSG) [2], Lexical Functional Grammar (LFG) [4], and Sys", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Abstract", "sec_num": null } ], "body_text": [ { "text": "temic Grammar [3] . They also include grammar formalisms which have been developed as computational tools, such as Functional Unification Grammar (FUG) [7] , and PATR-II [14] . In these computational formalisms, unificat/on is the primary operation for matching and combining feature structures.", "cite_spans": [ { "start": 14, "end": 17, "text": "[3]", "ref_id": "BIBREF2" }, { "start": 152, "end": 155, "text": "[7]", "ref_id": "BIBREF6" }, { "start": 170, "end": 174, "text": "[14]", "ref_id": "BIBREF14" } ], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null }, { "text": "Feature structures are called by several different names, including f-structures in LFG, and functional descriptiona in FUG. Although they differ in details, each approach uses structures containing sets of attributes. Each attribute is composed of a label/value pair. A value may be an atomic symbol, hut it may also be a nested feature structure. The intuitive interpretation of feature structures may be clear to linguists who use them, even in the absence of a precise definition. Often, a precise definition of a useful notation becomes possible only after it has been applied to the description of a variety of phenomena. Then, greater precision may become necessary for clarification when the notation is used by many different investigators. Our model has been developed in the context of providing a precise interpretation for the feature structures which are used in FUG and PATR-II. Some elements of this logical interpretation have been partially described in Kay's work [8] . Our contribution is to give a more complete algebraic account of the logical properties of feature structures, which can be used explicitly for computational manipulation and mathematical analysis. Proofs of the mathematical soundness and completeness of this logical treatment, along with its relation to similar logics, can be found in [12] .", "cite_spans": [ { "start": 983, "end": 986, "text": "[8]", "ref_id": "BIBREF7" }, { "start": 1327, "end": 1331, "text": "[12]", "ref_id": "BIBREF12" } ], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null }, { "text": "Karttunen [5] has shown that disjunction and negation are desirable extensions to PATR-II which are motivated by a wide range of linguistic phenomena. He discusses specifying attributes by disjunctive values, as shown in Figure 1 . A ~alue disjuactioa specifies alternative values of a single attribute. These alternative values may be either atomic or complex. Disjunction of a more general kind is an essential element of FUG. Geaera/ disjunction is used to specify alternative groups of multiple attributes, as shown in Figure 2 .", "cite_spans": [ { "start": 10, "end": 13, "text": "[5]", "ref_id": "BIBREF4" } ], "ref_spans": [ { "start": 221, "end": 229, "text": "Figure 1", "ref_id": "FIGREF0" }, { "start": 523, "end": 531, "text": "Figure 2", "ref_id": null } ], "eq_spans": [], "section": "Disjunction and Non-Local Values", "sec_num": "2" }, { "text": "Karttunen describes a method by which the basic unification procedure can be extended to handle negative and disjunctive values, and explains some of the complications that result from introducing value disjunction. When two values, A and B, are to be unified, and A is a disjunction, we cannot actually unify B with both alternatives of A, because one of the alternatives may become incompatible with B through later unifications. Instead we need to remember .a constraint that at least one of the alternatives of A must remain compatible with B.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Disjunction and Non-Local Values", "sec_num": "2" }, { "text": "An additional complication arises when one of the alternatives of a disjunction contains a value which is specified by a non-local path, a situation which occurs frequently in Functional Unification Grammar. In Figure 2 the obj attribute in the description of the adjunct attribute is given the value < actor >, which means that the obj attribute is to be unified with the value found at the end of the path labeled by < actor > in the outermost enclosing structure. This unification with a non-local value can be performed only when the alternative which Contains it is the only alternative remaining in the disjunction. Otherwise, the case = objective attribute might be added to the value of < actor > prematurely, when the alternative containing adjunct is not used. Thus, the constraints on alternatives of a disjunction must also apply to any non-local values contained within those alternatives. These complications, and the resulting proliferation of constraints, provide a practical motivation for the logical treatment given in this paper. We suggest a solution to the problem of representing non-local path values in Section 5.4.", "cite_spans": [], "ref_spans": [ { "start": 211, "end": 219, "text": "Figure 2", "ref_id": null } ], "eq_spans": [], "section": "Disjunction and Non-Local Values", "sec_num": "2" }, { "text": "The feature structure of Figure 1 can also be represented by a type of logical formula: die = case : (hOrn V acc)", "cite_spans": [], "ref_spans": [ { "start": 25, "end": 33, "text": "Figure 1", "ref_id": "FIGREF0" } ], "eq_spans": [], "section": "Logical Formulas for Feature Structures", "sec_num": "3" }, { "text": "A a~'eement : ( (gender : fern A number : sing) V number : pl)", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Logical Formulas for Feature Structures", "sec_num": "3" }, { "text": "This type of formula differs from standard propositional logic in that a theoretically unlimited set of atomic values is used in place of boolean values. The labels of attributes bear a superficial resemblance to modal operators. Note that no information is added or subtracted by rewriting the feature matrix of Figure 1 as a logical formula. These two forms may be regarded as notational variants for expressing the same facts. While feature matrices seem to be a more appealing and natural notation for displaying linguistic descriptions, logical formulas provide a precise interpretation which can be useful for computational and mathematical purposes. Given this intuitive introduction we proceed to a more complete definition of this logic.", "cite_spans": [], "ref_spans": [ { "start": 313, "end": 321, "text": "Figure 1", "ref_id": "FIGREF0" } ], "eq_spans": [], "section": "Logical Formulas for Feature Structures", "sec_num": "3" }, { "text": "As Pereira and Shieber [11] have pointed out, a grammatical formalism can be regarded in a way similar to other representation languages. Often it is useful to use a representation language which is disctinct from the objects it represents. Thus, it can be useful to make a distinction between the domain of feature structures and the domain of their descriptions. As we shall see, this distinction allows a variety of notational devices to be used in descriptions, and interpreted in a consistent way with a uniform kind of structure.", "cite_spans": [ { "start": 23, "end": 27, "text": "[11]", "ref_id": "BIBREF11" } ], "ref_spans": [], "eq_spans": [], "section": "A Logical Semantics", "sec_num": "4" }, { "text": "The PATR Figure 2 : Disjunctive specification containing non-local values, using the notation of FUG.", "cite_spans": [], "ref_spans": [ { "start": 9, "end": 17, "text": "Figure 2", "ref_id": null } ], "eq_spans": [], "section": "Domain of Feature Structures", "sec_num": "4.1" }, { "text": "2. labels (L)", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "The elements of both domains are symbols, usually denoted by character strings. Attribute I~ belt (e.g., acase~) are used to mark edges in a dag, and atoms (e.g., \"gen z) are used as primitive values at vertices which have no outgoing edges.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "A dag may also be regarded as a transition graph for a partially specified deterministic finite automaton (DFA). This automaton recognises strings of labels, and has final states which are atoms, as well as final states which encode no information. An automaton is formally described by a tuple", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": ".~ = (Q,L, 5,qo, F)", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "where L is the set of labels above, 6 is a partial function from Q \u00d7 L to Q, and where certain elements of F may be atoms from the set A. We require that ~ be connected, acyclic, and have no transitions from any final states. DFAs have several desirable properties as a domain for feature structures:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "1. the value of any defined path can be denoted by a state of the automaton;", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "2. finding the value of a path is interpreted by running the automaton on the path string;", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "3. the automaton captures the crucial properties of shared structure:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "(a) two paths which axe unified have the same state as a value,", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "(b) unification is equivalent to a statemerge operation;", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "4. the techniques of automata theory become available for use with feature structures.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "A consequence of item 3 above is that the dis-,\" tinction between type identity and token identity it clearly revealed by an automaton; two objects are necessarily the same token, if and only if they are represented by the same state. One construct of automata theory, the Nerode relation, is useful to describe equivalent paths. If #q is an automaton, we let P(A) be the set of all paths of ~4, namely the set {z E L* : 5(q0, z) is defined }. The Nerode relation N(A) is the equivalence relation defined on paths of P(~) by letting", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "atoms (A)", "sec_num": "1." }, { "text": "We now define the domain FML of logical formulas which describe feature structures. Figure 3 defines the syntax of well formed formulas. In the following sections symbols from the Greek alphabet axe used to stand for arbitrary formulas in FML. The formulas NIL and TOP axe intended to convey gno information z and ~inconsistent information s respectively. Thus, NIL corresponds to a unification variable, and TOP corresponds to unification failure. A formula l : ~b would indicate that a value has attribute l, which is itself a value satisfying the condition ~b. Conjunction and disjunction will have their ordinary logical meaning as operators in formulas. An interesting result is that conjunction can be used to describe unification. Unifying two structures requires finding a structure which has all features of both structures; the conjunction of two formulas describes the structures which satisfy all conditions of both formulas.", "cite_spans": [], "ref_spans": [ { "start": 84, "end": 92, "text": "Figure 3", "ref_id": "FIGREF1" } ], "eq_spans": [], "section": "Domain of Descriptions: Logical Formulas", "sec_num": "4.2" }, { "text": "One difference between feature structures and their descriptions should be noted. In a feature structure it is required that a particular attribute have a unique value, while in descriptions it is pouible to specify, using conjunction, several values for the same attribute, as in the formula s bj : (19e.so. : 3) ^ s bj: :", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Domain of Descriptions: Logical Formulas", "sec_num": "4.2" }, { "text": "A feature structure satisfying such a description will contain a unique value for the attribute, which can be found by unifying all of the values that are specified in the description. Formulas may also contain sets of paths, denoting equivalence classes. Each element of the set represents an existing path starting from the initial state of an automaton, and all paths in the set are required to have a common endpoint. If E = I< z >, < y >~, we will sometimes write E as < z >=< y >. This is the notation of PATR-II for pairs of equivalent paths. In subsequent sections we use E (sometimes with subscripts) to stand for a set of paths that belong to the same equivalence class.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Domain of Descriptions: Logical Formulas", "sec_num": "4.2" }, { "text": "We can now state inductively the exact conditions under which an automaton Jl satisfies a formula: Any formula can be regarded as a specification for the set of automata which satisfy it. In the case of conjunctive formulas (containing no occurences of disjunction) the set of automata satisfying the formula has a unique minimal element, with respect to subsumption.* For disjunctive formulas there may be several minimal elements, but always a finite number.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Interpretation of Formulas", "sec_num": null }, { "text": "It is possible to write many formulas which have an identical interpretation. For example, the formulas given in the equation below are satisfied by the same set of automata.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Calculus of Formulas", "sec_num": "4.4" }, { "text": "In this simple example it is clear that the right side of the formula is equivalent to the left side, and that it is simpler. In more complex examples it is not always obvious when two formulas are equivalent. Thus, we are led to state the laws of equivalence shown in Figure 4 . Note that equivalence (26) is added only to make descriptions of cyclic structures unsatisfiable.", "cite_spans": [], "ref_spans": [ { "start": 269, "end": 277, "text": "Figure 4", "ref_id": "FIGREF4" } ], "eq_spans": [], "section": "case : (gen V ace V dat) A case : ace = case : ace", "sec_num": null }, { "text": "1A subsumption order can be defined for the domain of automata, just as it is defined for dags by Shieber [15] . A formal definition of subsurnption for this domain appears in [12] . (1) ", "cite_spans": [ { "start": 106, "end": 110, "text": "[15]", "ref_id": "BIBREF15" }, { "start": 176, "end": 180, "text": "[12]", "ref_id": "BIBREF12" } ], "ref_spans": [], "eq_spans": [], "section": "case : (gen V ace V dat) A case : ace = case : ace", "sec_num": null }, { "text": "EQUATION", "cite_spans": [], "ref_spans": [], "eq_spans": [ { "start": 0, "end": 8, "text": "EQUATION", "ref_id": "EQREF", "raw_str": "(2)", "eq_num": "(3)" } ], "section": "case : (gen V ace V dat) A case : ace = case : ace", "sec_num": null }, { "text": "To date, the primary benefit of using logical formulas to describe feature structures has been the clarification of several problems that arise with disjunctive descriptions.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Complexity of Disjunctive Descriptions", "sec_num": "5" }, { "text": "One consequence of describing feature structures by logical formulas is that it is now relatively easy to analyse the computational complexity of various problems involving feature structures. It turns out that the satisfiability problem for CNF formulas of propositional logic can be reduced to the consistency (or satisfiability) problem for formulas in FML. Thus, the consistency problem for formulas in FML is NPcomplete. It follows that any unification algorithm for FML formulas will have non-polynomial worst-case complexity (provided P ~ NP!), since a correct unification algorithm must check for consistency.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "NP-completeness of consistency problem for formulas", "sec_num": "5.1" }, { "text": "Note that disjunction is the source of this complexity. If disjunction is eliminated from the domain of formulas, then the consistency problem is in P. Thus systems, such as the original PATR-II, which do not use disjunction in their descriptions of feature structures, do not have to contend with this source of NP-completeness.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "NP-completeness of consistency problem for formulas", "sec_num": "5.1" }, { "text": "A formula is in disjt, neti,~s normal form (DNF) if and only if it has the form ~1 V ... v ~bn, where each ~i is either The formal equivalences given in Figure 4 allow us to transform any satisfiable formula into its disjunctive normal form, or to TOP if it is not satisfiable. The algorithm for finding a normal form requires exponential time, where the exponent depends on the number of disjunctions in the formula (in the worst case).", "cite_spans": [], "ref_spans": [ { "start": 153, "end": 161, "text": "Figure 4", "ref_id": "FIGREF4" } ], "eq_spans": [], "section": "Disjunctive Normal Form", "sec_num": "5.2" }, { "text": "Most of the systems which are currently used to implement unification-based grammars depend on an expansion to disjunctive normal form in order to compute with disjunctive descriptions. 2 Such systems are exemplified by Definite Clause Grammar [10] , which eliminates disjunctive terms by multiplying rules which contain them into alternative clauses. Kay's parsing procedure for Functional Unification Grammar [8] also requires expanding functional descriptions to DNF before they are used by the parser. This expansion may not create much of a problem for grammars containlng a small number of disjunctions, but if the grammar contains 100 disjunctions, the expansion is clearly not feasible, due to the exponential sise of the DNF.", "cite_spans": [ { "start": 244, "end": 248, "text": "[10]", "ref_id": "BIBREF10" }, { "start": 411, "end": 414, "text": "[8]", "ref_id": "BIBREF7" } ], "ref_spans": [], "eq_spans": [], "section": "Avoiding expansion to DNF", "sec_num": "5.3" }, { "text": "Ait-Kaci [1] has pointed out that the expansion to DNF is not always necessary, in work with type structures which are very similar to the feature structures that we have described here. Although the NP-completeness result cited above indicates that any unification algorithm for disjunctive formulas will have exponential complexity in the worst case, it is possible to develop algorithms which have an average complexity that is less prohibitive. Since the exponent of the complexity function depends on the number of disjunctions in a formula, one obvious way to improve the unification algorithm is to reduce the number of disjunctions in the formula be/ors ezpan.sion to DNF. Fortunately the unification of two descriptions frequently results in a reduction of the number of alternatives that remain consistent. Although the fully expanded formula may be required as a final result, it is expedient to delay the expansion whenever possible, until after any desired unifications are performed.", "cite_spans": [ { "start": 9, "end": 12, "text": "[1]", "ref_id": "BIBREF0" } ], "ref_spans": [], "eq_spans": [], "section": "Avoiding expansion to DNF", "sec_num": "5.3" }, { "text": "The algebraic laws given in Figure 4 provide a sound basis for simplifying formulas containing disjunctive values without expanding to DNF. Our calculus differs from the calculus of Ait-Kaci by providing a uniform set of equivalences for formulas, including those that contain disjunction. These equivalences make it possible to ~ eliminate inconsistent terms before expanding to DNF. Each term thus eliminated may reduce, by as much as half, the sise of the expanded formula.", "cite_spans": [], "ref_spans": [ { "start": 28, "end": 36, "text": "Figure 4", "ref_id": "FIGREF4" } ], "eq_spans": [], "section": "Avoiding expansion to DNF", "sec_num": "5.3" }, { "text": "Representing Non-local Paths", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "5.4", "sec_num": null }, { "text": "The logic contains no direct representation for non-local paths of the type described in Section 2. The reason is that these cannot be interpreted without reference to the global context of the formula in which they occur. Recall that in Functional Unification Grammar a nonlocal path denotes the value found by extracting each of the attributes labeled by the path in successively embedded feature structures, beginning with the entire structure currently under consideration. Stated formally, the desired interpretstion of I :< p > is This interpretation does not allow a direct comparison of the non-local path value with other values in the formula. It remains an unknown quantity unless the environment is known. Instead of representing non-local paths directly in the logic, we propose that they can be used within a formula as a shorthand, but that all paths in the formula must be expanded before any other processing of the formula. This path expansion is carried out according to the equiva~ lences 9 and 6.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "5.4", "sec_num": null }, { "text": "After path expansion all strings of labels in a formula denote transitions from a common origin, so the expressions containing non-local paths can be converted to the equivalence class notation, using the schema Consider the passive voice alternative of the description of Figure 2 , shown here in Figure 5 . This description is also represented by the first formula of Figure 6 . The formulas to the right in Figure 6 are formed by It is now possible to unify the description of Figure 7 (call this X in the following discussion) with another description, making use of the equivalence classes to simplify the result. Consider unifTing X with the description Y = actor : case : nominative.", "cite_spans": [], "ref_spans": [ { "start": 273, "end": 281, "text": "Figure 2", "ref_id": null }, { "start": 298, "end": 306, "text": "Figure 5", "ref_id": null }, { "start": 370, "end": 378, "text": "Figure 6", "ref_id": null }, { "start": 410, "end": 418, "text": "Figure 6", "ref_id": null }, { "start": 480, "end": 488, "text": "Figure 7", "ref_id": "FIGREF8" } ], "eq_spans": [], "section": "5.4", "sec_num": null }, { "text": "The commutative law (10) makes it possible to unify Y with any of the conjuncts of X. If we unify Y with the disjunction which contains the vo/ce attributes, we can use the distributive law (16) to unify Y with both disjuncts. When Y is unified with the term containing This term is incompatible with the term adjunct : obj : case : objective, and by applying the equivalences (6, 4, 1, and 2) we can transform the entire disjunct to TOP. Equivalence (8) specifies that this disjunction can be eliminated. Thus, we are able to use the path equivalences during unification to reduce the number of disjunctions in a formula without expanding to DNF.", "cite_spans": [ { "start": 451, "end": 454, "text": "(8)", "ref_id": "BIBREF7" } ], "ref_spans": [], "eq_spans": [], "section": "5.4", "sec_num": null }, { "text": "Note that path expansion does not require an expansion to full DNF, since disjunctions are not multiplied. While the DNF expansion of a formula may be exponentially larger than the original, the path expansion is at most quadratically larger. The size of the formula with paths expanded is at most n x p, where n is the length of the original formula, and p is the length of the longest path. Since p is generally much less than n the size of the path expansion is usually not a very large quadratic.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "5.4", "sec_num": null }, { "text": "The path expansion procedure illustrated in Figure 6 can also be used to transform formulas containing value disjucntion into formulas containing general disjunction. For the reasons given above, value disjunctions which contain non-local path expressions must be converted into general disjunctions for further simplification.", "cite_spans": [], "ref_spans": [ { "start": 44, "end": 52, "text": "Figure 6", "ref_id": null } ], "eq_spans": [], "section": "General Disjunction", "sec_num": null }, { "text": "While it is possible to convert value disjunctions into general disjunctions, it is not always possible to convert general disjunctions into value disjunctions. For example, the first disjunction in the formula of Figure 7 cannot be converted into a value disjunction. The left side of equivalence (9) requires both disjuncts to begin with a common label prefix.", "cite_spans": [], "ref_spans": [ { "start": 214, "end": 222, "text": "Figure 7", "ref_id": "FIGREF8" } ], "eq_spans": [], "section": "General Disjunction", "sec_num": null }, { "text": "The terms of these two disjuncts contain several different prefixes (voice, actor, subj, goat, and adjunct), so they cannot be combined into a common value.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "General Disjunction", "sec_num": null }, { "text": "Before the equivalences of section 4 were formulated, the first author attempted to implement a facility to represent disjunctive feature structures with non-local paths using only value disjunction. It seemed that the unification algorithm would be simpler if it had to deal with disjuncti+ns only in the context of attribute values, rather than in more general contexts. While it w~ possible to write down grammatical definitions using only value disjunction, it was very difficult to achieve a correct unification algorithm, because each non-local path was much like an unknown variable. The logical calculus presented here clearly demonstrates that a representation of general disjunction provides a more direct method to determine the values for non-local paths.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "General Disjunction", "sec_num": null }, { "text": "The calculus described here is currently being implemented as a program which selectively applies the equivalences of Figure 4 to simplify formulas. A strategy (or algorithm) for simplifying formulas corresponds to choosing a particular order in which to apply the equivalences whenever more than one equivalence matches the form of the formula. The program will make it possible to test and evaluate different strategies, with the correctness of any such strategy following directly from the correctness of the calculus. While this program is primarily of theoretical interest, it might yield useful improvements to current methods for processing feature structures.", "cite_spans": [], "ref_spans": [ { "start": 118, "end": 126, "text": "Figure 4", "ref_id": "FIGREF4" } ], "eq_spans": [], "section": "Implementation", "sec_num": "6" }, { "text": "The original motivation for developing this treatment of feature structures came from work on an experimental parser based on Nigel [9] , a large systemic grammar of English. The parser is being developed at the USC/Information Sciences Institute by extending the PATR-II system of SRI International. The systemic grammar has been translated into the notation of Functional Unification Grammar, as described in [6] . Because this grammar contains a large number (several hundred) of disjunctions, it has been necessary to extend the unification procedure so that it handles disjunctive values containing non-local paths without expansion to DNF. We now think that this implementation of a relatively large grammar can be made more tractable by applying some of the transformations to feature descriptions which have been suggested by the logical calculus.", "cite_spans": [ { "start": 132, "end": 135, "text": "[9]", "ref_id": "BIBREF8" }, { "start": 411, "end": 414, "text": "[6]", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "Implementation", "sec_num": "6" }, { "text": "We have given a precise logical interpretation for feature structures and their descriptions which are used in unification-based grammar formalisms. This logic can be used to guide and improve implementations of these grammmm, and the processors which use them. It has allowed a closer examination of several sources of complexity that are present in these grammars, particularly when they make use of disjunctive descriptions. We have found a set logical equivalences helpful in suggesting ways of coping with this complexity.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Conclusion", "sec_num": "7" }, { "text": "It should be possible to augment this logic to include characterizations of negation and implication, which we are now developing. It may also be worthwhile to integrate the logic of feature struc-tures with other grammatical formalisms based on logic, such as DCG [10] and LFP [13] .", "cite_spans": [ { "start": 265, "end": 269, "text": "[10]", "ref_id": "BIBREF10" }, { "start": 278, "end": 282, "text": "[13]", "ref_id": "BIBREF13" } ], "ref_spans": [], "eq_spans": [], "section": "Conclusion", "sec_num": "7" }, { "text": "2One exception is Karttunen's implementation, which was described in Section 2, but it handles only value disjunctions, and does not handle non-local path values embedded within disjunctions.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null }, { "text": ":... :In :

= [<11 .... ,In >,

].", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null } ], "back_matter": [], "bib_entries": { "BIBREF0": { "ref_id": "b0", "title": "A New Model of Computation Based on a Calculus of Type Subsumption", "authors": [ { "first": "H", "middle": [], "last": "Ait-Kaci", "suffix": "" } ], "year": 1984, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Ait-Kaci, H. A New Model of Computa- tion Based on a Calculus of Type Subsump- tion. PhD thesis, University of Pennsylva- nia, 1984.", "links": null }, "BIBREF1": { "ref_id": "b1", "title": "Generalized Phrase Structure Grammar", "authors": [ { "first": "G", "middle": [], "last": "Gazdar", "suffix": "" }, { "first": "E", "middle": [], "last": "Klein", "suffix": "" }, { "first": "G", "middle": [ "K" ], "last": "Pullum", "suffix": "" }, { "first": "I", "middle": [ "A" ], "last": "Sag", "suffix": "" } ], "year": 1985, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Gazdar, G., E. Klein, G.K. Pullum, and I.A. Sag. Generalized Phrase Structure Gram- mar. BlackweU Publishing, Oxford, Eng- land, and Harvard University Press, Cam- bridge, Massachusetts, 1985.", "links": null }, "BIBREF2": { "ref_id": "b2", "title": "Halliday: System and Function in Language", "authors": [ { "first": "G", "middle": [ "R" ], "last": "Kress", "suffix": "" } ], "year": 1976, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "G.R. Kress, editor. Halliday: System and Function in Language. Oxford University Press, London, England, 1976.", "links": null }, "BIBREF3": { "ref_id": "b3", "title": "Lexical Functional Grammar: A Formal System for Grammatical Representation", "authors": [ { "first": "R", "middle": [], "last": "Kaplan", "suffix": "" }, { "first": "J", "middle": [], "last": "Bresnan", "suffix": "" } ], "year": 1983, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Kaplan, R. and J. Bresnan. Lexical Func- tional Grammar: A Formal System for Grammatical Representation. In J. Bresnan, editor, The Mental Representation of Gram- matical Relations. MIT Press, Cambridge, Massachusetts, 1983.", "links": null }, "BIBREF4": { "ref_id": "b4", "title": "Features and Values", "authors": [ { "first": "L", "middle": [], "last": "Karttunen", "suffix": "" } ], "year": 1984, "venue": "Proceedings of the Tenth International Conference on Computational Linguistics", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Karttunen, L. Features and Values. In Pro- ceedings of the Tenth International Confer- ence on Computational Linguistics, Stanford University, Stanford, California, July 2-7, 1984.", "links": null }, "BIBREF5": { "ref_id": "b5", "title": "Systemic Grammar and Functional Unification Grammar", "authors": [ { "first": "R", "middle": [], "last": "Kasper", "suffix": "" } ], "year": null, "venue": "Proceedings of the I~ h International Systemics Workshop", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Kasper, R. Systemic Grammar and Func- tional Unification Grammar. In J. Ben- son and W. Greaves, editors, Proceedings of the I~ h International Systemics Workshop, Norwood, New Jersey: Ablex (forthcoming).", "links": null }, "BIBREF6": { "ref_id": "b6", "title": "Proceedings of the Fifth Annual Meeting of the Berkeley Linguistics Society", "authors": [ { "first": "M", "middle": [], "last": "Kay", "suffix": "" }, { "first": "", "middle": [], "last": "Grammar", "suffix": "" } ], "year": 1979, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Kay, M. Functional Grammar. In Pro- ceedings of the Fifth Annual Meeting of the Berkeley Linguistics Society, Berkeley Lin- guistics Society, Berkeley, California, Febru- ary 17-19, 1979.", "links": null }, "BIBREF7": { "ref_id": "b7", "title": "Parsing in Functional Unification Grammar", "authors": [ { "first": "M", "middle": [], "last": "Kay", "suffix": "" } ], "year": 1985, "venue": "Natural Language Parsing", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Kay, M. Parsing in Functional Unification Grammar. In D. Dowty, L. Kartunnen, and A. Zwicky, editors, Natural Language Parsing. Cambridge University Press, Cam- bridge, England, 1985.", "links": null }, "BIBREF8": { "ref_id": "b8", "title": "Nigel: A Systemic Grammar for Text Generation", "authors": [ { "first": "W", "middle": [ "C" ], "last": "Mann", "suffix": "" }, { "first": "C", "middle": [], "last": "Matthiessen", "suffix": "" } ], "year": null, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Mann, W.C. and C. Matthiessen. Nigel: A Systemic Grammar for Text Generation.", "links": null }, "BIBREF9": { "ref_id": "b9", "title": "Systemic Perspectives on Discourse: Selected Papers Papers from the Ninth International Systemics Workshop", "authors": [], "year": 1985, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "USC / Information Sciences Institute, RR- 83-105. Also appears in R. Benson and J. Greaves, editors, Systemic Perspectives on Discourse: Selected Papers Papers from the Ninth International Systemics Work- shop, Ablex, London, England, 1985.", "links": null }, "BIBREF10": { "ref_id": "b10", "title": "Definite clause grammars for language analysisa survey of the formalism and a comparison with augmented transition networks", "authors": [ { "first": "F", "middle": [ "C N" ], "last": "Pereira", "suffix": "" }, { "first": "D", "middle": [ "H D" ], "last": "Warren", "suffix": "" } ], "year": 1980, "venue": "Arh'~-\u00a2ial Intelligence", "volume": "13", "issue": "", "pages": "231--278", "other_ids": {}, "num": null, "urls": [], "raw_text": "Pereira, F. C. N. and D. H. D. Warren. Defi- nite clause grammars for language analysis - a survey of the formalism and a comparison with augmented transition networks. Arh'~- \u00a2ial Intelligence, 13:231-278, 1980.", "links": null }, "BIBREF11": { "ref_id": "b11", "title": "The semantics of grammar formalisms seen as computer languages", "authors": [ { "first": "F", "middle": [ "C N" ], "last": "Pereira", "suffix": "" }, { "first": "S", "middle": [ "M" ], "last": "Shieber", "suffix": "" } ], "year": 1984, "venue": "Proceedings of the Tenth International Conference on Computational Linguist", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Pereira, F. C. N. and S. M. Shieber. The se- mantics of grammar formalisms seen as com- puter languages. In Proceedings of the Tenth International Conference on Computational Linguist,s, Stanford University, Stanford, California, July 2-7, 1984.", "links": null }, "BIBREF12": { "ref_id": "b12", "title": "A Complete Logical Calculus for Record Strucutres Representing Linguistic Information", "authors": [ { "first": "W", "middle": [ "C" ], "last": "Rounds", "suffix": "" }, { "first": "R", "middle": [], "last": "Kasper", "suffix": "" } ], "year": 1986, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Rounds, W. C. and R. Kasper. A Complete Logical Calculus for Record Strucutres Rep- resenting Linguistic Information. Submitted to the ~ymposium on Logic in Computer Sci- ence, to be held June 16-18, 1986.", "links": null }, "BIBREF13": { "ref_id": "b13", "title": "LFP: A Logic for Linguistic Descriptions and an Analysis of its Complexlty", "authors": [ { "first": "W", "middle": [ "C" ], "last": "Rounds", "suffix": "" } ], "year": null, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Rounds, W. C. LFP: A Logic for Linguis- tic Descriptions and an Analysis of its Com- plexlty. Submitted to Computational Lir,- Cui.~tics.", "links": null }, "BIBREF14": { "ref_id": "b14", "title": "The design of a computer language for linguistic information", "authors": [ { "first": "S", "middle": [ "M" ], "last": "Shieber", "suffix": "" } ], "year": 1984, "venue": "Proceed-ing8 o[ t~ Tenth International Con/erence on Computational Linguistics, Stanford University", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Shieber, S. M. The design of a computer lan- guage for linguistic information. In Proceed- ing8 o[ t~ Tenth International Con/erence on Computational Linguistics, Stanford Uni- versity, Stanford, California, July 2-7, 1984.", "links": null }, "BIBREF15": { "ref_id": "b15", "title": "An Introduction to Uai~ation-bo~ed Approaches to Grammar", "authors": [ { "first": "S", "middle": [ "M" ], "last": "Shieber", "suffix": "" } ], "year": null, "venue": "CSLI Lecture Notes Series", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Shieber, S. M. An Introduction to Uai~ation-bo~ed Approaches to Grammar. Chicago: University of Chicago Press, CSLI Lecture Notes Series (forthcoming).", "links": null } }, "ref_entries": { "FIGREF0": { "type_str": "figure", "num": null, "uris": null, "text": "A Feature Structure containing Value Disjunction." }, "FIGREF1": { "type_str": "figure", "num": null, "uris": null, "text": "NIL TOP aEA ~< 191 >,..., < 19, >] where each 19~ E L* l:~bwherelELand~bEFML \u00a2v\u00a2 The domain, FML, of logical formulas." }, "FIGREF2": { "type_str": "figure", "num": null, "uris": null, "text": "1. A ~ NIL always; 2. 11 ~ TOP never; 3. /l ~ a \u00a2=~ /I is the one-state automaton a with no transitions; 4. A ~ E \u00a2=~ E is a subset of an equivalence class of N(~); 5. A ~ l : cb \u00a2=~ A/l is defined and A/I ~ ~; where ~/I is defined by a subgraph of the automaton A with start state 5(qo, l), that is ira = (Q,L, 6, qo, F), then .~/l = (Q', L, 6, 6(qo, l), f'); where Qi and F' are formed from Q and F by removing any states which are unreachable from 6(q0, 0." }, "FIGREF3": { "type_str": "figure", "num": null, "uris": null, "text": "u{zy I ~ e El}) for any y such that 3z : z ~ El and zy E E2 --EA(A y:c) wherexeE glEE = E A {z} if\" z is a prefix of a string in E = NIL = TOP for any E such that there are strings z, zy E E and y # e" }, "FIGREF4": { "type_str": "figure", "num": null, "uris": null, "text": "Laws of Equivalence for Formulas." }, "FIGREF5": { "type_str": "figure", "num": null, "uris": null, "text": "~bx A ... A ~bm, where each ~bl is either (a) lx : ... : lk : a, where a E A, and no path occurs more than once (b) [< pl >,...,< p~ >], where each p~ E L*, and each set denotes an equivalence class of paths, and all such sets disjoint." }, "FIGREF6": { "type_str": "figure", "num": null, "uris": null, "text": "A~l:

in the context of~ 3B ~ and 3wEL* : E/to = A and 5(qo,, l) = 5(qo, ,p)." }, "FIGREF7": { "type_str": "figure", "num": null, "uris": null, "text": "converting the attributes containing nonlocal path values to formulas representing equivalence classes of paths. By following this procedure, the entire functional description of Figure 2 can be represented by the logical formula given in Figure 7. voice = passive goal =< subj > cat = pp prep = by adjenct = obj =< actor > = [ case----objective ] Functional non-local values." }, "FIGREF8": { "type_str": "figure", "num": null, "uris": null, "text": "Logical formula representing the description ofFigure 2." }, "FIGREF9": { "type_str": "figure", "num": null, "uris": null, "text": "< adjunct obj >, < actor >], the equivalence (22) specifies that we can add the term adjunct : obj : case : nominative." } } } }