ACL-OCL / Base_JSON /prefixJ /json /J01 /J01-2005.json
Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "J01-2005",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T02:42:15.321106Z"
},
"title": "Squibs and Discussions Nonminimal Derivations in Unification-based Parsing",
"authors": [
{
"first": "Noriko",
"middle": [],
"last": "Tomuro",
"suffix": "",
"affiliation": {},
"email": "tomuro@cs.depaul.edu"
},
{
"first": "Steven",
"middle": [
"L"
],
"last": "Lytinen",
"suffix": "",
"affiliation": {},
"email": "lytinen@cs.depaul.edu"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "parsing algorithm (Shieber 1992)for unification grammars is an extension of Earley's algorithm (Earley 1970)for context-free grammars to feature structures. In this paper, we show that, under certain conditions, Shieber ' s algorithm produces what we call a nonminimal derivation: a parse tree which contains additional features that are not in the licensing productions. While Shieber's definition of parse tree allows for such nonminimal derivations, we claim that they should be viewed as invalid. We describe the sources of the nonminimal derivation problem, and propose a precise definition of minimal parse tree, as well as a modification to Shieber's algorithm which ensures minimality, although at some computational cost.",
"pdf_parse": {
"paper_id": "J01-2005",
"_pdf_hash": "",
"abstract": [
{
"text": "parsing algorithm (Shieber 1992)for unification grammars is an extension of Earley's algorithm (Earley 1970)for context-free grammars to feature structures. In this paper, we show that, under certain conditions, Shieber ' s algorithm produces what we call a nonminimal derivation: a parse tree which contains additional features that are not in the licensing productions. While Shieber's definition of parse tree allows for such nonminimal derivations, we claim that they should be viewed as invalid. We describe the sources of the nonminimal derivation problem, and propose a precise definition of minimal parse tree, as well as a modification to Shieber's algorithm which ensures minimality, although at some computational cost.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "Unification grammar is a term often used to describe a family of feature-based grammar formalisms, including GPSG (Gazdar et al. 1985) , PATR-II (Shieber 1986) , DCG (Pereira and Warren 1980) , and HPSG (Pollard and Sag 1994) . In an effort to formalize the common elements of unification-style grammars, Shieber (1992) developed a logic for describing them, and used this logic to define an abstract parsing algorithm. The algorithm uses the same set of operations as Earley's (1970) algorithm for context-free grammars, but modified for unification grammars.",
"cite_spans": [
{
"start": 114,
"end": 134,
"text": "(Gazdar et al. 1985)",
"ref_id": "BIBREF2"
},
{
"start": 145,
"end": 159,
"text": "(Shieber 1986)",
"ref_id": "BIBREF11"
},
{
"start": 166,
"end": 191,
"text": "(Pereira and Warren 1980)",
"ref_id": "BIBREF5"
},
{
"start": 203,
"end": 225,
"text": "(Pollard and Sag 1994)",
"ref_id": "BIBREF7"
},
{
"start": 305,
"end": 319,
"text": "Shieber (1992)",
"ref_id": "BIBREF12"
},
{
"start": 469,
"end": 484,
"text": "Earley's (1970)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1."
},
{
"text": "In this paper, we show that, under certain conditions, Shieber's algorithm produces unintended, spurious parses in addition to the intended ones. We call these spurious parses nonminimal derivations (or nonminimal parse trees), because they contain extra features which are not in the productions that license the parse, a We claim that such nonminimal derivations are invalid. The basis of our claim is that the unification operation as set union preserves minimality; thus any correct unification-based parsing algorithm should produce parses that contain all and only features from the licensing productions (i.e., minimal derivations or minimal parse trees). Nonminimal derivations are also undesirable in practice because, given a parse tree, we cannot tell whether a particular feature should be in the model or not unless we reconstruct the whole tree.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1."
},
{
"text": "Despite the nonminimal derivations, Shieber (1992) proved the correctness of his algorithm. As it turned out, his definition of parse tree, which his proof relied on, was",
"cite_spans": [
{
"start": 36,
"end": 50,
"text": "Shieber (1992)",
"ref_id": "BIBREF12"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1."
},
{
"text": "Examples of productions.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 1",
"sec_num": null
},
{
"text": "((cat) --NP pl = (\"John\",~l : ~ (head agr pers) -3rd } > ~, (head agr num)-singJ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 1",
"sec_num": null
},
{
"text": "((cat) --V \"]",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 1",
"sec_num": null
},
{
"text": "~l (head agr pers) -3rd / P3 = (\"sleeps\", ,I~ 3 : ] (head agr num) -sing ) I, (head tense} -pres not constraining enough to disallow nonminimal derivations. To solve this twofold problem, we propose an alternate definition of minimal parse tree for unification grammars, and present a modification to Shieber's algorithm which ensures minimality.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 1",
"sec_num": null
},
{
"text": "It is important to note that the same spurious parses also occur in context-free parsing, specifically in Earley's algorithm. However, since the only information a constituent carries in context-free grammar is the grammar symbol, the spurious derivations only produce exactly the same results as the normal ones. When the algorithm is extended to unification grammar, however, these spurious parses are a problem. Shieber (1992) defines a unification grammar as a 3-tuple (G, P, p0), where ~ is the vocabulary of the grammar, P is the set of productions, and P0 E P is the start production. G contains L, a set of labels (feature names); C, a set of constants (feature values); and W, a set of terminals. There are two kinds of productions in P: phrasal and lexical. A phrasal production is a 2-tuple (a, ~), where a is the arity of the rule (the number of right-hand-side [RHS] constituents), and ~ is a logical formula. Typically, q~ is a conjunction of equations of the form pl -p2 or pl -\" c, where pl, p2 E L* are paths, and c E C. In an equation, any path which begins with an integer i (1 < i < a) represents the ith RHS constituent of the rule. 2 A lexical production is a 2-tuple (w, ~), where w E W and q~ is the same as above, except that there are no RHS constituents. Figure 1 shows some example phrasal and lexical productions (P0 corresponds to the context-free rule S --+ NP VP and is the start production). Then a model M relates to a formula q~ by a satisfaction relation ~ as usual (M ~ ~), and when q~ is the formula in a production p = (a, ~), p is said to license M.",
"cite_spans": [
{
"start": 415,
"end": 429,
"text": "Shieber (1992)",
"ref_id": "BIBREF12"
}
],
"ref_spans": [
{
"start": 1282,
"end": 1290,
"text": "Figure 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Figure 1",
"sec_num": null
},
{
"text": "Based on the logic above, Shieber defines a parse tree and the language of a grammar expressed in his formalism. To define a valid parse tree, he first defines the set of possible parse trees I1 = Ui>_0 Hi for a given grammar G, where each Eli is defined as follows:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Unification Grammar and Parse Trees",
"sec_num": "2."
},
{
"text": "A parse tree r is a model that is a member of the infinite union of sets of boundeddepth parse trees FI = Ui_>0 I1i, where each IIi is defined as: 2 Shieber (1992) also uses a path that begins with 0 for the left-hand-side (LHS) constituent of a rule. In this paper, we omit the 0 arcs and place the features of the LHS constituent directly at the root. This change does not affect the formalism for the purpose of this paper.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Definition",
"sec_num": null
},
{
"text": "Lytinen Nonminimal Derivations .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": ". rio is the set of models 7-for which there is a lexical production p = <w, q)) E G such that 7-~ 4<",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "IIi(i > 0) is the set of models 7-for which there is a phrasal production p = (a, q~) C G such that 7-~ ~ and, for all 1 < i < a, 7-/{i) is defined and 7-/<i} C Uj<iIIy.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "In the second condition, the extraction operator, denoted by/, retrieves the feature structure found at the end of a particular path; so for instance 7-/<1) retrieves the first subconstituent on the RHS of the production that licenses 7-. In the definition above, II0 contains all models that satisfy any lexical production in the grammar, while Hi contains all models that satisfy a phrasal production, and whose subconstituents are",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "all in UjGi I]j.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "To specify what constitutes a valid parse for a particular sentence, the next step is to define the yield of a parse tree. It is defined recursively as follows: if 7-is licensed by some lexical production p = {w, q~/, then the yield of 7-is w; or if 7-is licensed by some phrasal production {a, q~} and O~ 1 ..... (X a are the yields of 7-/(1) ..... 7-/<a) respectively, then the yield of 7-is ~1 ... %. Finally, Shieber defines a valid parse tree 7-c II for sentence Wl ... wn as follows:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "o 2.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "The yield of 7-is Wl ... Wn",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Tomuro and",
"sec_num": null
},
{
"text": "Notice that this definition allows extra features in a parse tree, because a parse tree 7-is defined by the satisfaction relation (7-~ ~), which allows the existence of features in the model that are not in the licensing production's formula. Given this definition, for any valid parse tree 7-, we can construct another parse tree 7-' by simply adding an arbitrary (nonnumeric) feature to any node in 7-. Such a parse tree T' is nonminimal because extra features are nonminimal with respect to the minimal features in the licensing productions. We will return to the issue of minimal and nonminimal parse trees in Section 4.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "7-is licensed by the start production po",
"sec_num": null
},
{
"text": "Based on the logic described above, Shieber defines an abstract parsing algorithm as a set of four logical deduction rules. Each rule derives a new item, from previous items and/or productions in the grammar. An item is a 5-tuple {i,j, p, M, d), where i and j are indices into the sentence and specify which words in the sentence have been used to construct the item; p is the production used to construct the item; M is a model; and d is the position of the \"dot\"; i.e., how many subconstituents in p have been completed so far.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "The logical rules of the abstract algorithm are shown in Figure 2 . The Initial Item rule produces the first item, and is constructed from the start production P0. It spans none of the input (i and j are both 0), and its model is the minimal model (ram) of P0.",
"cite_spans": [],
"ref_spans": [
{
"start": 57,
"end": 65,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "The Prediction rule is essentially the top-down rewriting of the expectation (a subconstituent just after the dot) in a prior item. In this rule, the extraction of M/(d + 1 / retrieves the d + 1st submodel in M (i.e., expectation). The function p, which is left underspecified as a parameter in the abstract algorithm, filters out some features predefined in the various instantiations of the algorithm. Here, it is applied to the expectation, by which it effectively controls the top-down predictive power of the ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "li, j,p = la, ~l,M,d) (j,j, p', p(M/(d+l)) t3 mm(~'), 0) '",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "where d K a and p' = (a',O') \u2022 P (i,j,p = (a, ~},M,d} {i,j+lip, M t_l (mm(~2') Items produced in the parse of John sleeps, and the final parse.",
"cite_spans": [
{
"start": 33,
"end": 78,
"text": "(i,j,p = (a, ~},M,d} {i,j+lip, M t_l (mm(~2')",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "algorithm and provides flexibility to the instantiated algorithms. Then the expectation is unified with a production (~'), which can consistently rewrite it. By this operation, some features in the expectation may be propagated down in the production. The remaining two rules advance the dot in a prior item, by unifying the subconstituent to the right of the dot with either a lexical item from the input string (the Scanning rule) or some other completed higher-level item (the Completion rule). Both rules perform the correct unification by utilizing the embedding operator (signified by \\), which places a model M under a path p (M\\p).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "We illustrate these operators with a simple step-by-step example parse. Consider the grammar that consists of the rules presented in Figure 1 . Using this grammar, Figure 3 shows the parse of the sentence John sleeps. First, the Initial Item operator is applied, producing item I0, whose model is mm(~o). Next, the Scanning operator scans the word John, producing 11. The Prediction operator then produces 12. Next, the word sleeps is scanned (since the first subconstituent of the model in 12 is a V), producing 13. Finally, since the item in 13 is complete (d = 1, the arity of production p2), Completion is applied to items 11 and/3, producing 14. Model M4 is the final parse of the sentence.",
"cite_spans": [],
"ref_spans": [
{
"start": 133,
"end": 141,
"text": "Figure 1",
"ref_id": null
},
{
"start": 164,
"end": 172,
"text": "Figure 3",
"ref_id": null
}
],
"eq_spans": [],
"section": "The Abstract Parsing Algorithm",
"sec_num": "3."
},
{
"text": "In Section 2, we noted that Shieber's definition of parse trees allows them to be nonminimal. We consider these to be invalid based on a principle that, since the unification operation as set union preserves minimality (as proved in Shieber, [1992] ), repeated applications of unification using licensing productions should result in parses that contain features only from those productions and nothing more. In this section, we ",
"cite_spans": [
{
"start": 233,
"end": 248,
"text": "Shieber, [1992]",
"ref_id": "BIBREF12"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Nonminimal Derivations",
"sec_num": "4."
},
{
"text": "Nonminimal derivation of John sleeps.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 5",
"sec_num": null
},
{
"text": "formally define minimal and nonminimal parse trees, and show an example in which nonminimal parse trees are produced by Shieber's algorithm.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 5",
"sec_num": null
},
{
"text": "Our definition of minimal parse tree is to a large extent similar to Shieber's definition, but to ensure minimality, our definition uses the equality relation instead of D, and inductively specifies a minimal parse tree bottom-up.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Figure 5",
"sec_num": null
},
{
"text": "Given a grammar G, a minimal parse tree r admitted by G is a model that is a member of the infinite union of sets of bounded-depth parse trees 11' = Oi>0 IIl, where each 171 is defined as: .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Definition",
"sec_num": null
},
{
"text": "For each lexical production p = (w, ~b) E G, mm(~) E 11'o.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "For each phrasal production p = (a, ~} E G, let rl ..... ra E Uj<i I1;. If r = mm(~) lit1\\(1) t3... Ilrl\\(a}, then r E 1I;.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "It is obvious that 1I' is a subset of 17 in Shieber's definition. Then, a nonminimal parse tree is defined as a model that is a member of the difference of the two sets (II -1I'). 3 Here is a simple example in which a nonminimal parse is produced in Shieber's algorithm. Say that we add the production in Figure 4 to the grammar in the previous section. The intent of this production is to mark the verb with the feature modified if an adverb follows. Using this grammar, Shieber's algorithm will produce a nonminimal parse for the sentence John sleeps, in addition to the minimal parse shown in the previous section. 4 The nonminimal parse, shown in Figure 5 , arises as follows: after scanning John, Prediction can produce items I~ and I~', first using production p4 (thus inserting /head modified} -true into the model), and then P2. Scanning the word sleeps then produces I~ from I~ I. Completion then can be applied directly to 11 and 11 by skipping a completion using I~ and I~, thereby producing item I~. The feature modified remains in I~, even though an adverb was never encountered in the sentence. The final parse M~, shown in Figure 5 , is clearly nonminimal according to our definition because of this feature.",
"cite_spans": [],
"ref_spans": [
{
"start": 305,
"end": 313,
"text": "Figure 4",
"ref_id": null
},
{
"start": 651,
"end": 659,
"text": "Figure 5",
"ref_id": null
},
{
"start": 1138,
"end": 1146,
"text": "Figure 5",
"ref_id": null
}
],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "Note that the example grammar can be changed to prevent the nonminimal parse, by moving the feature modified off of the head path in ff~4 (i.e., (modified / -true instead of (head modified / -true), s However, the point of the example is not to argue whether or not well-designed grammars will produce erroneous parses. A formally defined parser (see the discussion below) should in principle produce correct parses regardless of the grammar used; otherwise, the grammar formalism (i.e., Shieber's logic for unification grammars) must be revised and properly constrained to allow only the kinds of productions with which the parser produces correct results.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "In general, nonminimal derivations may arise whenever two or more predictions that are not mutually exclusive can be produced at the same point in the sentence; i.e., two prediction items (i, i, p, M, 0 / and (i, i, p', M ~, 0 / are produced such that M M / and M and M ~ are unifiable. In the example, items 12 = (1,1, p2, M2, 0/ and I~ --(1,1, P4, M~, 0) (as well as I2 and I~ ~ = (1,1, p2, M~ ~, 0/) are two such items. Since the two predictions did not have any conflicting features from the beginning, a situation may occur where a completion generated from one prediction can fill the other prediction without causing conflict. When this happens, features that were in the other prediction but not the original one become nonminimal in the resulting model.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "As to what causes nonminimal situations, we speculate that there are a number of possibilRies. First, nonminimal derivations occur when a prediction is filled by a complete item that was not generated from the prediction. This mismatch will not happen if parsing is done in one direction only (e.g. purely top-down or bottom-up parsing). Thus, the mixed-direction parsing strategy is a contributing factor.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "Second, wrong complete items are retrieved because Shieber's item-based algorithm makes all partial results available during parsing, as if they are kept in a global structure (such as a chart in chart parsing). But if the accessibility of items were somehow restricted, prediction-completion mismatch would not happen. In this respect, other chart-based algorithms for unification grammars which adopt mixed-direction parsing strategy, including head-corner parsing (van Noord 1997) and left-corner parsing (Alshawi 1992) , are subject to the same problem.",
"cite_spans": [
{
"start": 508,
"end": 522,
"text": "(Alshawi 1992)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "Third, extra features can only appear when the grammar contains rules which interact in a certain way (such as rules P2 and P4 above). If the grammar contained no such rules, or if p (the filtering function applied in Prediction) filtered out those features, even the prediction-completion mismatch would not produce nonminimal derivations.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "As we stated in the beginning of this section, we consider nonminimal parses to be invalid on the basis of minimality. It then immediately follows that any parsing algorithm that produces nonminimal parses is considered to be unsound; in particular, Shieber's algorithm is unsound. However, since nonminimal parse trees have the same yield as their minimal counterparts, his algorithm does indeed recognize exactly the language of a given grammar. So, Shieber's algorithm is sound as a recognizer, 6 but not as a transducer or parser (as in van Noord, [1997] ) where the correctness of output models (i.e., parse trees) is critical. In other words, Shieber's algorithm is correct up to Tomuro and Lytinen Nonminimal Derivations licensing, but incorrect on the basis of a stronger criteria of minimality. Thus, to guarantee correctness based on minimality, we need another algorithm; such an algorithm is exactly the solution to the nonminimal derivation problem.",
"cite_spans": [
{
"start": 534,
"end": 558,
"text": "(as in van Noord, [1997]",
"ref_id": null
},
{
"start": 686,
"end": 704,
"text": "Tomuro and Lytinen",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "2.",
"sec_num": null
},
{
"text": "Before presenting our solution to the nonminimal derivation problem, we discuss several possible practical techniques to get around the problem in implemented systems. These are known techniques, which have been applied to solve other problems in unification-based systems. However, most of them only offer partial solutions to the nonminimal derivation problem. First, whenever Shieber's algorithm produces a nonminimal derivation, it also produces a corresponding minimal derivation (Tomuro 1999) . Thus, one possible solution is to use subsumption to discard items that are more specific than any other items that are produced. Subsumption has often been used in unification-based systems to pack items or models (e.g., Alshawi 1992) . However, simple subsumption may filter out valid parses for some grammars, thus sacrificing completeness. 7",
"cite_spans": [
{
"start": 485,
"end": 498,
"text": "(Tomuro 1999)",
"ref_id": "BIBREF14"
},
{
"start": 723,
"end": 736,
"text": "Alshawi 1992)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Practical Techniques",
"sec_num": "5."
},
{
"text": "Another possibility is to filter out problematic features in the Prediction step by using the function p. However, automatic detection of such features (i.e., automatic derivation of p) is undecidable for the same reason as the prediction nontermination problem (caused by left recursion) for unification grammars (Shieber 1985) . Manual detection is also problematic: when a grammar is large, particularly if semantic features are included, complete detection is nearly impossible. As for the techniques developed so far which (partially) solve prediction nontermination (e.g., Shieber 1985; Haas 1989; Samuelsson 1993 ), they do not apply to nonminimal derivations because nonminimal derivations may arise without left recursion or recursion in general s One way is to define p to filter out all features except the context-free backbone of predictions. However, this severely restricts the range of possible instantiations of Shieber's algorithm. 9",
"cite_spans": [
{
"start": 314,
"end": 328,
"text": "(Shieber 1985)",
"ref_id": "BIBREF10"
},
{
"start": 579,
"end": 592,
"text": "Shieber 1985;",
"ref_id": "BIBREF10"
},
{
"start": 593,
"end": 603,
"text": "Haas 1989;",
"ref_id": "BIBREF3"
},
{
"start": 604,
"end": 619,
"text": "Samuelsson 1993",
"ref_id": "BIBREF8"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Practical Techniques",
"sec_num": "5."
},
{
"text": "A third possibility is to manually fix the grammar so that nonminimal derivations do not occur, as we noted in Section 4. However, this approach is problematic for the same reason as the manual derivation of p mentioned above.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Practical Techniques",
"sec_num": "5."
},
{
"text": "Finally, we propose an algorithm that does not produce nonminimal derivations. It is a modification of Shieber's algorithm that incorporates parent pointers. Figure 6 shows 7 For example, when there are two predictions M1 and M2 for category C and a production p where M1 : {<cat> --C, <x> -a}, M2 : {<cat> -C, <y> -b}, and p = <1, {<cat> -C, <1 cat> \"-D, <x> -a}> respectively, the resulting model M2 ~ = {<cat> -C, <1 cat> -D, <x> --a, <y> --b} will have strictly more information than the other resulting model MI' = {<cat> ~ C, <1 cat> -D, <x> -a}, although both models are minimal. 8 We do not show any particular example here, but if we change the left-recursive VP rule in the earlier example to a non-left-recursive rule, for instance VP --* VP2 ADV, and add some rules, a nonrninimal parse will indeed arise. Note also that some (but not all) cases of prediction nontermination will produce nonminimal derivations. Those cases occur when there is a prediction for a category, and repeated applications of some left-recursive rule(s) generate predictions for the same category that are not mutually exclusive to the original prediction or each other. 9 In head-corner parsing, Sikkel (1997) proposes the use of transitive features: features that propagate only through head arcs. However, this method does not solve nonminimal derivations either, because problematic features may be subfeatures of a head (such as the example case shown earlier), which will not be filtered.",
"cite_spans": [
{
"start": 1185,
"end": 1198,
"text": "Sikkel (1997)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 158,
"end": 166,
"text": "Figure 6",
"ref_id": null
}
],
"eq_spans": [],
"section": "Modified Algorithm",
"sec_num": "6."
},
{
"text": "Note that using subsumption (which we will discuss in Section 5) here does not work, for instance by saying \"a model r\" is a nonminimal parse tree if r\" E 17 and there exists r' E II such that r' _< r\"\", because some r\"'s are minimal. See the example in Section 5. 4 Here, we are assuming that the filtering function/9 is the identity function.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
},
{
"text": "Note that adding (head modified) --false to ~2 (VP --* V) or ~3 (sleeps) is not feasible, because they cannot specify the modified feature at their level, 6 In fact, Shieber hints at this: \"The process of parsing (more properly, recognition)...\"(Shieber 1992, 78).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [
{
"text": " (id, nil, (O,O, po, mm( ~o) ,O) ) ' where id is a new symbol (id, pid, (i,j ,p = (a, ~),M,d) ) (id', id, (j,j, p', p(M/ (d+l) ) U mm(~I,'), 0))'where id I is a new symbol, and d ( a and pl = (ar,~t) C P SCANNING: COMPLETION: (id, pid, (i,j,p = (a, ~) ,M,d) ) (id, pid, (i,j+l,p,M U mm( ~') \\ (d+l),d+l)) ' where d < a and (wj+D ~') E P (id, pid,(i,j,p,M,d) ) (id\",id,(j,k,p',M',a')) where d < a (ia, pie, (i,k,p, UU (U' \\ (d+l) ),d+l)) '",
"cite_spans": [
{
"start": 1,
"end": 28,
"text": "(id, nil, (O,O, po, mm( ~o)",
"ref_id": null
},
{
"start": 62,
"end": 76,
"text": "(id, pid, (i,j",
"ref_id": null
},
{
"start": 96,
"end": 126,
"text": "(id', id, (j,j, p', p(M/ (d+l)",
"ref_id": null
},
{
"start": 226,
"end": 251,
"text": "(id, pid, (i,j,p = (a, ~)",
"ref_id": null
},
{
"start": 260,
"end": 290,
"text": "(id, pid, (i,j+l,p,M U mm( ~')",
"ref_id": null
},
{
"start": 337,
"end": 357,
"text": "(id, pid,(i,j,p,M,d)",
"ref_id": null
},
{
"start": 360,
"end": 383,
"text": "(id\",id,(j,k,p',M',a'))",
"ref_id": null
},
{
"start": 396,
"end": 428,
"text": "(ia, pie, (i,k,p, UU (U' \\ (d+l)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "annex",
"sec_num": null
},
{
"text": "Shieber's parsing operations modified.the modified algorithm. In the figure, an item is represented by a nested 3-tuple, where the first argument is the self index, the second is the parent index/pointer, and the third is the old 5-tuple used in Shieber's original algorithm. A parent pointer, then, is set in Prediction--the resulting item has the index of the antecedent item (id) as its parent. By generating a new symbol for the self index in every Prediction item (id'), parent pointers in those items are threaded to form a prediction path. Then in Completion, the parent pointer is used to restrict the antecedent items: the complete item (on the right) must have the prior expectation (on the left) as its parent (id), thereby ensuring a prediction path to be precisely restored. While this modified algorithm offers a complete solution on the level of logic, it has some undesirable implications in implemented systems. The most prominent one is that the parent pointer scheme makes implementation of memoization rather difficult. Normally, memoization is used to avoid storing duplicate items that are identical; however, in the modified algorithm, many items that are otherwise identical will have different parent pointers, thereby changing the polynomial time algorithm (O(n3) ; Earley [1970] ) to an exponential one. To avoid computational inefficiency, a way must be devised for items that are identical except for parent poInters to share information, especially models, and thus avoid the expense of duplicate identical unification operations. One possibility is to represent the 5-tuple from Shieber's original algorithm by a separate structure and have an index to it in the new 3-tuple item. This way, not only can the items be shared, they can still be memoized in the usual way as well. Another possibility is to adopt an efficiency technique along the line of selective memoization (van Noord 1997) . Implementation and empirical analysis is our future research. Whatever the practical performance will turn out to be, it is important to note that the proposed algorithm is a formal solution that guarantees minimality for any grammar defined in Shieber's logic. Moreover the algorithm preserves the same generality and flexibility as Shieber's: a mixed top-down, bottom-up parsing with the filtering function p to allow various instantiations of the algorithm to characterize their algorithms.",
"cite_spans": [
{
"start": 1292,
"end": 1305,
"text": "Earley [1970]",
"ref_id": "BIBREF1"
},
{
"start": 1905,
"end": 1921,
"text": "(van Noord 1997)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 1283,
"end": 1289,
"text": "(O(n3)",
"ref_id": null
}
],
"eq_spans": [],
"section": "Figure 6",
"sec_num": null
}
],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "The Core Language Engine",
"authors": [
{
"first": "H",
"middle": [],
"last": "Alshawi",
"suffix": ""
}
],
"year": 1992,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Alshawi, H., editor. 1992. The Core Language Engine. MIT Press.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "An efficient context-free parsing algorithm",
"authors": [
{
"first": "J",
"middle": [],
"last": "Earley",
"suffix": ""
}
],
"year": 1970,
"venue": "Communications of the ACM",
"volume": "13",
"issue": "2",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Earley, J. 1970. An efficient context-free parsing algorithm. Communications of the ACM, 13(2).",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Generalized Phrase Structure Grammar",
"authors": [
{
"first": "G",
"middle": [],
"last": "Gazdar",
"suffix": ""
},
{
"first": "E",
"middle": [],
"last": "Klein",
"suffix": ""
},
{
"first": "G",
"middle": [],
"last": "Pullum",
"suffix": ""
},
{
"first": "I",
"middle": [],
"last": "Sag",
"suffix": ""
}
],
"year": 1985,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Gazdar, G., E. Klein, G. Pullum, and I. Sag. 1985. Generalized Phrase Structure Grammar. Blackwell Publishing.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "A parsing algorithm for unification grammar",
"authors": [
{
"first": "A",
"middle": [],
"last": "Haas",
"suffix": ""
}
],
"year": 1989,
"venue": "Computational Linguistics",
"volume": "15",
"issue": "4",
"pages": "219--232",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Haas, A. 1989. A parsing algorithm for unification grammar. Computational Linguistics, 15(4):219-232.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "Tomuro and Lytinen Nonminimal Derivations",
"authors": [],
"year": null,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Tomuro and Lytinen Nonminimal Derivations",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Definite clause grammars for language analysis",
"authors": [
{
"first": "F",
"middle": [],
"last": "Pereira",
"suffix": ""
},
{
"first": "D",
"middle": [],
"last": "Warren",
"suffix": ""
}
],
"year": 1980,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Pereira, F. and D. Warren. 1980. Definite clause grammars for language analysis.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Head-driven Phrase Structure Grammar",
"authors": [
{
"first": "C",
"middle": [],
"last": "Pollard",
"suffix": ""
},
{
"first": "I",
"middle": [],
"last": "Sag",
"suffix": ""
}
],
"year": 1994,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Pollard, C. and I. Sag. 1994. Head-driven Phrase Structure Grammar. CSLI. University of Chicago Press.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "Avoiding non-termination in unification grammars",
"authors": [
{
"first": "C",
"middle": [],
"last": "Samuelsson",
"suffix": ""
}
],
"year": 1993,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Samuelsson, C. 1993. Avoiding non-termination in unification grammars.",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "Natural Language Understanding and Logic Programming IV",
"authors": [],
"year": null,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "In Natural Language Understanding and Logic Programming IV.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Using restriction to extend parsing algorithms for complex-featurebased formalisms",
"authors": [
{
"first": "S",
"middle": [],
"last": "Shieber",
"suffix": ""
}
],
"year": 1985,
"venue": "Proceedings of the 23rd Annual Meeting",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Shieber, S. 1985. Using restriction to extend parsing algorithms for complex-feature- based formalisms. In Proceedings of the 23rd Annual Meeting, Association for Computational Linguistics.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "An Introduction to UniX'cation-Based Approaches to Grammar",
"authors": [
{
"first": "S",
"middle": [],
"last": "Shieber",
"suffix": ""
}
],
"year": 1986,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Shieber, S. 1986. An Introduction to UniX'cation-Based Approaches to Grammar.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "Constraint-based Grammar Formalisms",
"authors": [
{
"first": "S",
"middle": [],
"last": "Shieber",
"suffix": ""
}
],
"year": 1992,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Shieber, S. 1992. Constraint-based Grammar Formalisms. MIT Press.",
"links": null
},
"BIBREF14": {
"ref_id": "b14",
"title": "Left-Corner Parsing Algorithm for UniX'cation Grammars",
"authors": [
{
"first": "N",
"middle": [],
"last": "Tomuro",
"suffix": ""
}
],
"year": 1997,
"venue": "Computational Linguistics",
"volume": "23",
"issue": "3",
"pages": "425--456",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Tomuro, N. 1999. Left-Corner Parsing Algorithm for UniX'cation Grammars. Ph.D. thesis, DePaul University. van Noord, G. 1997. An efficient implementation of the head-corner parser. Computational Linguistics, 23(3):425-456.",
"links": null
}
},
"ref_entries": {
"FIGREF0": {
"type_str": "figure",
"uris": null,
"text": "\\ {d+l)),d+l} ' where d < a and (wj+l, O'} \u2022 P COMPLETION: li'j'P = la' ~l'M'd) (j,k,p' = (a',/I~'),M',a' / where d < a I {i, kip, M El (M' \\ {d+l) ),d+l) Figure 2Shieber's parsing operations.I0 = (O,O, po, mm(420),O) 11 =(O, 1,po, Ml,1) 12 = (1,1,p2,M2,0 I I3 = (1,2,p2,M3,1)",
"num": null
},
"FIGREF1": {
"type_str": "figure",
"uris": null,
"text": "Figure 4 A phrasal production that results in a nonminimal derivation. I~ = (1,1,p4,M~, 0} /~' = (1,1, p2,M~r, 0) I~ = (1,2,p2,M~, 1) I~ = {0, 2, p0, M~, 2}",
"num": null
},
"TABREF0": {
"content": "<table><tr><td>PREDICTION:</td></tr><tr><td>SCANNING:</td></tr></table>",
"num": null,
"type_str": "table",
"text": "INITIAL ITEM: {O,O, po, mm(~o),O)",
"html": null
}
}
}
}