| { |
| "paper_id": "E99-1020", |
| "header": { |
| "generated_with": "S2ORC 1.0.0", |
| "date_generated": "2023-01-19T10:37:42.516213Z" |
| }, |
| "title": "Tabular Algorithms for TAG Parsing", |
| "authors": [ |
| { |
| "first": "Miguel", |
| "middle": [ |
| "A" |
| ], |
| "last": "Alonso", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "alonso@dc.fi.udc.es" |
| }, |
| { |
| "first": "David", |
| "middle": [], |
| "last": "Cabrero", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "" |
| }, |
| { |
| "first": "Manuel", |
| "middle": [], |
| "last": "Vilares", |
| "suffix": "", |
| "affiliation": {}, |
| "email": "vilares@dc.fi.udc.es" |
| } |
| ], |
| "year": "", |
| "venue": null, |
| "identifiers": {}, |
| "abstract": "We describe several tabular algorithms for Tree Adjoining Grammar parsing, creating a continuum from simple pure bottom-up algorithms to complex predictive algorithms and showing what transformations must be applied to each one in order to obtain the next one in the continuum.", |
| "pdf_parse": { |
| "paper_id": "E99-1020", |
| "_pdf_hash": "", |
| "abstract": [ |
| { |
| "text": "We describe several tabular algorithms for Tree Adjoining Grammar parsing, creating a continuum from simple pure bottom-up algorithms to complex predictive algorithms and showing what transformations must be applied to each one in order to obtain the next one in the continuum.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Abstract", |
| "sec_num": null |
| } |
| ], |
| "body_text": [ |
| { |
| "text": "Tree Adjoining Grammars are a extension of CFG introduced by Joshi in that use trees instead of productions as the primary representing structure. Several parsing algorithms have been proposed for this formalism, most of them based on tabular techniques, ranging from simple bottom-up algorithms (Vijay-Shanker and Joshi, 1985) to sophisticated extensions of the Earley's algorithm (Schabes and Joshi, 1988; Schabes, 1994; Nederhof, 1997) . However, it is difficult to inter-relate different parsing algorithms. In this paper we study several tabular algorithms for TAG parsing, showing their common characteristics and how one algorithm can be derived from another in turn, creating a continuum from simple pure bottom-up to complex predictive algorithms.", |
| "cite_spans": [ |
| { |
| "start": 296, |
| "end": 327, |
| "text": "(Vijay-Shanker and Joshi, 1985)", |
| "ref_id": null |
| }, |
| { |
| "start": 382, |
| "end": 407, |
| "text": "(Schabes and Joshi, 1988;", |
| "ref_id": "BIBREF6" |
| }, |
| { |
| "start": 408, |
| "end": 422, |
| "text": "Schabes, 1994;", |
| "ref_id": "BIBREF9" |
| }, |
| { |
| "start": 423, |
| "end": 438, |
| "text": "Nederhof, 1997)", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "Formally, a TAG is a 5-tuple ~ = (VN,VT, S,I,A) , where VN is a finite set of non-terminal symbols, VT a finite set of terminal symbols, S the axiom of the grammar, I a finite set of initial trees and A a finite set of auxiliary trees. IUA is the set of elementary trees. Internal nodes are labeled by non-terminals and leaf nodes by terminals or ~, except for just one leaf per auxiliary tree (the foot) which is labeled by the same non-terminal used as the label of its root node. The path in an elementary tree from the root node to the foot node is called the spine of the tree.", |
| "cite_spans": [ |
| { |
| "start": 33, |
| "end": 47, |
| "text": "(VN,VT, S,I,A)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "New trees are derived by adjoining: let a be a tree contaiIiing a node N ~ labeled by A and let be an auxiliary tree whose root and foot nodes are also labeled by A. Then, the adjoining of at the adjunction node N ~ is obtained by excising the subtree of a with root N a, attaching j3 to N \u00b0 and attaching the excised subtree to the foot of ~.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "We use ~ E adj(N ~) to denote that a tree ~ may be adjoined at node N ~ of the elementary tree a.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "In order to describe the parsing algorithms for TAG, we must be able to represent the partial recognition of elementary trees. Parsing algorithms for context-free grammars usually denote partial recognition of productions by dotted productions. We can extend this approach to the case of TAG by considering each elementary tree q, as formed by a set of context-free productions 7)(7): a node N ~ and its children N~... N~ are represented by a production N ~ --~ N~... N~. Thus, the position of the dot in the tree is indicated by the position of the dot in a production in 7)(3' ). The elements of the productions are the nodes of the tree, except for the case of elements belonging to VT U {E} in the right-hand side of production. Those elements may not have children and are not candidates to be adjunction nodes, so we identify such nodes labeled by a terminal with that terminal.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "To simplify the description of parsing algorithms we consider an additional production -r -+ R a for each initial tree and the two additional productions T --* R ~ and F ~ ~ 2_ for each auxiliary tree B, where R ~ and F ~ correspond to the root node and the foot node of/3, respectively. After disabling T and 2_ as adjunction nodes the generative capability of the grammars remains intact.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "The relation ~ of derivation on P(7) is defined by 5 ~ u if there are 5', 5\", M ~, v such that 5 = 5'M~5 \", u = 5'v~\" and M \"r --+ v E 7)(3 ') exists. The reflexive and transitive closure of =~ is denoted :~ .", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "In a abuse of notation, we also use :~ to represent derivations involving an adjunction. So, 5 ~ u if there are 5~, ~\",M'r,v such that 5 = 5'M~5 '', R ~ ~ viF~v3, ~ E adj(M~) , M \"r --+ v2 and v = \u00a2~t?31v2u3 ~tt .", |
| "cite_spans": [ |
| { |
| "start": 116, |
| "end": 174, |
| "text": "~\",M'r,v such that 5 = 5'M~5 '', R ~ ~ viF~v3, ~ E adj(M~)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "Given two pairs (p,q) and (i, j) of integers, (p,q) <_ (i,j) is satisfied if/< p and q _< j. Given two integers p and q we define p U q as p if q is undefined and as q if p is undefined, being undefined in other case.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Introduction", |
| "sec_num": "1" |
| }, |
| { |
| "text": "We will describe parsing algorithms using Parsing Schemata, a framework for high-level description of parsing algorithms (Sikkel, 1997) . An interesting application of this framework is the analysis of the relations between different parsing algorithms by studying the formal relations between their underlying parsing schemata. Originally, this framework was created for context-free grammars but we have extended it to deal with tree adjoining grammars.", |
| "cite_spans": [ |
| { |
| "start": 121, |
| "end": 135, |
| "text": "(Sikkel, 1997)", |
| "ref_id": "BIBREF11" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "A parsing system for a grammar G and string al ... a,~ is a triple (2:, 7-/, D), with :2 a set of items which represent intermediate parse results, 7-/ an initial set of items called hypothesis that encodes the sentence to be parsed, and Z) a set of deduction steps that allow new items to be derived from already known items. Deduction steps are of the form '~'~\"'~ cond, meaning that if all antecedents 7]i of a deduction step are present and the conditions cond are satisfied, then the consequent should be generated by the parser. A set 5 v C Z of .final items represent the recognition of a sentence. A parsing schema is a parsing system parameterized by a grammar and a sentence.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "Parsing schemata are closely related to grammatical deduction systems (Shieber et al., 1995) , where items are called formula schemata, deduction steps are inference rules, hypothesis are axioms and final items are goal formulas.", |
| "cite_spans": [ |
| { |
| "start": 70, |
| "end": 92, |
| "text": "(Shieber et al., 1995)", |
| "ref_id": "BIBREF10" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "A parsing schema can be generalized from another one using the following transformations (Sikkel, 1997) :", |
| "cite_spans": [ |
| { |
| "start": 89, |
| "end": 103, |
| "text": "(Sikkel, 1997)", |
| "ref_id": "BIBREF11" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "\u2022 Item refinement, multiple items.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "breaking single items into", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "\u2022", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "Step refinement, decomposing a single deduction step in a sequence of steps.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "\u2022 Extension of a schema by considering a larger class of grammars.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "In order to decrease the number of items and deduction steps in a parsing schema, we can apply the following kinds of filtering:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "\u2022 Static filtering, in which redundant parts are simply discarded.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "\u2022 Dynamic filtering, using context information to determine the validity of items.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "\u2022", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "Step contraction, in which a sequence of deduction steps is replaced by a single one.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "The set of items in a parsing system PAIg corresponding to the parsing schema Alg describing a given parsing algorithm Alg is denoted 2:Alg, the set of hypotheses 7/Alg, the set of final items ~'Alg and the set of deduction steps is denoted ~)Alg\"", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Parsing Schemata", |
| "sec_num": "1.1" |
| }, |
| { |
| "text": "A CYK-like Algorithm", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "2", |
| "sec_num": null |
| }, |
| { |
| "text": "We have chosen the CYK-like algorithm for TAG described in (Vijay-Shanker and Joshi, 1985) as our starting point. Due to the intrinsic limitations of this pure bottom-up algorithm, the grammars it can deal with are restricted to those with nodes having at most two children. The tabular interpretation of this algorithm works with items of the form [N \"~ , i, j [ p, q I adj] such that N ~ ~ ai+l ...ap F ~ aq+l ...aj ai+l ... aj if and only if (p, q) 7~ (-, -) and N ~ ai+l.., aj if and only if (p,q) = (-,-) , where N ~ is a node of an elementary tree with a label belonging to VN.", |
| "cite_spans": [ |
| { |
| "start": 59, |
| "end": 90, |
| "text": "(Vijay-Shanker and Joshi, 1985)", |
| "ref_id": null |
| }, |
| { |
| "start": 349, |
| "end": 375, |
| "text": "[N \"~ , i, j [ p, q I adj]", |
| "ref_id": null |
| }, |
| { |
| "start": 455, |
| "end": 461, |
| "text": "(-, -)", |
| "ref_id": null |
| }, |
| { |
| "start": 504, |
| "end": 509, |
| "text": "(-,-)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "2", |
| "sec_num": null |
| }, |
| { |
| "text": "The two indices with respect to the input string i and j indicate the portion of the input string that has been derived from N \"~. If V E A, p and q are two indices with respect to the input string that indicate that part of the input string recognized by the foot node ofv. In other casep= q =representing they are undefined. The element adj indicates whether adjunction has taken place on node N r.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "2", |
| "sec_num": null |
| }, |
| { |
| "text": "The introduction of the element adj taking its value from the set {true, false} corrects the items previously proposed for this kind of algorithms in (Vijay-Shanker and Joshi, 1985) in order to avoid several adjunctions on a node. A value of true indicates that an adjunction has taken place in the node N r and therefore further adjunctions on the same node are forbidden. A value of false indicates that no adjunction was performed on that node. In this case, during future processing this item can play the role of the item recognizing the excised part of an elemetitary tree to be attached to the foot node of an auxiliary tree. As a consequence, only one adjunction can take place on an elementary node, as is prescribed by the tree adjoining grammar formalism (Schabes and Shieber, 1994) . As an additional advantage, the algorithm does not need to require the restriction that every auxiliary tree must have at least one terminal symbol in its frontier (Vijay-Shanker and Joshi, 1985) .", |
| "cite_spans": [ |
| { |
| "start": 150, |
| "end": 181, |
| "text": "(Vijay-Shanker and Joshi, 1985)", |
| "ref_id": null |
| }, |
| { |
| "start": 766, |
| "end": 793, |
| "text": "(Schabes and Shieber, 1994)", |
| "ref_id": "BIBREF7" |
| }, |
| { |
| "start": 960, |
| "end": 991, |
| "text": "(Vijay-Shanker and Joshi, 1985)", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "2", |
| "sec_num": null |
| }, |
| { |
| "text": "The parsing systems ]PCYK corresponding to the CYK-line algorithm for a tree adjoining grammar G and an input string al... an is defined as follows: [ R~, i', j' i, j I adjl, Nr,i,j [p,q false] DAdj \u00a2YK = [N%i',j' [p,q [ true] such that 3 e A, ~ \u2022 adj(N \"r)", |
| "cite_spans": [ |
| { |
| "start": 151, |
| "end": 193, |
| "text": "R~, i', j' i, j I adjl, Nr,i,j [p,q false]", |
| "ref_id": null |
| }, |
| { |
| "start": 205, |
| "end": 226, |
| "text": "[N%i',j' [p,q [ true]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "ICYK={ [N 7,i,jlp,qladj] } such that N ~ \u2022 79(7), label(Nr) \u2022 VN, 7 E I U A, 0 < i < j, (p,q) <_ (i,j), adj e {true, false} 7\"~Cy K = { [a, i --1, i] I a = ai, 1 < i < n } [a, i -1, if N r -+ a ~Scan CYK = [Nr, i -1, i [ -,- I false] 79~'\u00a5K = [N% i, i I -,-I false] N~ -~ e \u2022)Foot CYK = [Fr, i, j I i, j I false] [M r, i, k [ p, q I adj], q~LeftDo,n [P~', k, j I -, --I adj] '-'CYK = [NT, i, j I P, q I false] such that N \"r --+ M+rP r E 79(7), M r E spine(v) [M r, i, k l -,-ladj],", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "q~Scan I I-DFoot q'~LeftDoml i DCYK ~'CYK ['j ~)~YK I.J : \"-' ~'CYK ~'CYK ~RightDom II T~NoDom U TlUnary TIAdj CYK ~ \"CYK ~CYK [J \"CYK $'CYK = { [R ~,0,n [ -,-[adj]la e I }", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "The hypotheses defined for this parsing system are the standard ones and therefore they will be omitted in the next parsing systems described in this paper.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "The key steps in the parsing system IPCyK are DcF\u00b0~?t~ and 7?~di K, which are in charge of the recognition of adjunctions. The other steps are in charge of the bottom-up traversal of elementary trees and, in the case of auxiliary trees, the propagation of the information corresponding to the part of the input string recognized by the foot node.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "The set of deductive steps q-~Foot make it possi-~'CYK ble to start the bottom-up traversal of each auxiliary tree, as it predict all possible parts of the input string that can be recognized by the foot nodes. Several parses can exist for an auxiliary tree which only differs in the part of the input string which was predicted for the foot node. Not all of them need take part on a derivation, only those with a predicted foot compatible with an adjunction. The compatibility between the adjunction node and the foot node of the adjoined ~Adj . when tree is checked by a derivation step ~'CYK\" the root of an auxiliary tree /3 has been reached, it checks for the existence of a subtree of an elementary tree rooted by a node N ~ which satisfies the following conditions:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "i. /3 can be adjoined on N'L 2. N \"r derives the same part of the input string derived from the foot node of/3.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "If the Conditions are satisfied, further adjunctions on N are forbidden and the parsing process continues a bottom-up traverse of the rest of the elementary tree 3' containing N x.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Schema 1", |
| "sec_num": null |
| }, |
| { |
| "text": "To overcome the limitation of binary branching in trees imposed by CYK-like algorithms, we define a bottom-up Earley-like parsing algorithm for TAG. As a first step we need to introduce the dotted rules into items, which are of the form --4 5 \u2022 v,i,j I P, q] such that 6 ~ a~+1...% F \"y aq+l.. ", |
| "cite_spans": [ |
| { |
| "start": 237, |
| "end": 258, |
| "text": "--4 5 \u2022 v,i,j I P, q]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "[N ~", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "Zb.E = [N \"~ --+ 5 \u2022 v, i, j I P, q] such that N ~ 2_+ 5v \u2022 P(3\"), 3\" E I U A, 0 < i < j, (p,q) <_ (i,j) \u2022Init bun = [N'v --+ \u20225, i, i[-,-] \u2022DFoot buE [FZ ~ \u00b1\u2022,i,j ] i,j] I N ~ --+ 5 \u2022 av,i,j -1 I P, q], ~s(:a. a,j -1,if \u2022 q,,,E = [N~ --+ 5a \u2022 v, i, j I P, q] N'r --4 6\u2022M~v,i, k IP, q], M r ~ v\u2022, k, j ] p', q'] ~r) COml) : hue [N~--+SM~\u2022v,i,j[pUp',qUq'] T --4 R~.,k,j I l,m], M \"r --~ v\u2022, l, m I P', q'], N ~ --4 5 \u2022 M~v,i,k ] p,q], ~)AdjComp = hue [N~ --4 5M'r \u2022 v, i, j I P U p', q U q'] such that ~ \u2022 A, ~ \u2022 adj(M ~) ~buE = 7)Init U T)Foot U T)Scanj ) ~buE ~I)uE ~buE \"J ~)Comp qDAdjComp hue U ~buE -,-]l-\u2022X }", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The deduction steps of ]PbuE are obtained from the steps in IPcyK applying the following refinement:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "\u2022 LeftDom, RightDom and NoDom deductive steps have been split into steps Init and Comp.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "\u2022 Unary and E steps are no longer necessary, due to the uniform treatment of all productions independently of the length of the production.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "The algorithm performs a bottom-up recognition of the auxiliary trees applying the steps ~)Comp During the traversal of auxiliary trees, buE1 \" information about the part of the input string recognized by the foot is propagated bottom-up. A set of deductive steps z)Init ~buE are in charge of starting the recognition process, predicting all possible start positions for each rule.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "A filter has been applied to the parsing system ]PCYK, contracting the deductive steps Adj and Comp in a single AdjComp, as the item generated by a deductive step Adj can only be used to advance the dot in the rule which has been used to predict the left-hand side of its production.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "A Bottom-up Earley-like Algorithm", |
| "sec_num": "3" |
| }, |
| { |
| "text": "An Earley-like parsing algorithm for TAG can be obtained by incorporating top-down prediction. To do so, two dynamic filters must be applied to ]PbuE:", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "\u2022 The deductive steps in D~ nit will only consider productions having the root of an initial tree as left-hand side.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "\u2022 A new set ~)Pred of predictive steps will be in charge of controlling the generation of new items, considering only those new items which are potentially useful for the parsing process. Parsing begins by creating the item corresponding to a production having the root of an initial tree as left-hand side and the dot in the leffmost position of the right-hand side. Then, a set of deductive steps ~E Pred and ~Comp w E traverse each ele-T)AdjPred predicts the admentary tree. A step in w E junction of an auxiliary tree/3 in a node of an elementary tree 3' and starts the traversal of/3. Once the foot of/3 has been reached, the traversal of/3 ~FootPred is momentary suspended by a step in E , which re-takes the subtree of 7 which must be attached to the foot of/3. At this moment, there is no information available about the node in which the adjunction of/3 has been performed, so all possible nodes are predicted. When the traversal of a To maintain the valid prefix property, the parser must recognize all possible derived trees in prefix form. In order to do that, two different phases must work coordinately: a top-down phase that expands the children of each node visited and a bottom-up phase grouping the children nodes to indicate the recognition of the parent node (Schabes, 1991) .", |
| "cite_spans": [ |
| { |
| "start": 1279, |
| "end": 1294, |
| "text": "(Schabes, 1991)", |
| "ref_id": "BIBREF8" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "\u2022)AdjComp E ---- I T ~ Rf~*,j, m lk, l], M'r-+v*,k,l[p,q], , N r -+ 6.Mrv, i,j [p,q'] [Nr ~ 6Mr \u2022 v, i, m [ P U p', q U q'] such that/3 \u2022 adj(M r)", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "During the recognition of a derived tree in prefix form, node expansion can depend on adjunction operations performed in the previously visited part of the tree. Due to this kind of dependencies the set path is a context-free language (Vijay-Shanker et al., 1987) . A bottom-up algorithm (e.g. CYK-like or bottom-up Eaxley-like) can stack the dependencies shown by the context-free language defining the path-set. This is sufficient to get a correct parsing algorithm, but without the valid prefix property. To preserve this property the algorithm must have a top-down phase which also stacks the dependencies shown by the language defining the path-set. To transform an algorithm without the valid prefix property into another which preserves it is a difficult task because stacking operations performed during topdown and bottom-up phases must be correlated some way and it is not clear how to do so without augmenting the time complexity (Nederhof, 1997) .", |
| "cite_spans": [ |
| { |
| "start": 235, |
| "end": 263, |
| "text": "(Vijay-Shanker et al., 1987)", |
| "ref_id": "BIBREF15" |
| }, |
| { |
| "start": 941, |
| "end": 957, |
| "text": "(Nederhof, 1997)", |
| "ref_id": "BIBREF3" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "CYK-like, bottom-up Earley-like and Eaxleylike parsing algorithms described above do not preserve the valid prefix property because footprediction (a top-down operation) is not restrictive enough to guarantee that the subtree attached to the foot node really corresponds with a instance of the tree involved in the adjunction.", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "To obtain a Earley-like parsing algorithm for tree adjoining grammars preserving the valid prefix property we need to refine the items by including a new element to indicate the position of the input string corresponding to the left-most extreme of the frontier of the tree to which the dotted rule in the item belongs: [h,g \"~ ~ 5 \u00b0 v,i,j [ p,q] ", |
| "cite_spans": [ |
| { |
| "start": 320, |
| "end": 346, |
| "text": "[h,g \"~ ~ 5 \u00b0 v,i,j [ p,q]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "~Earley = [h, N ~ --+ 5 \u00b0 v, i, j I P, q] N \"r ~ 5\u00b0v ~ P(7), 7 ~ IUA, O < h < i < j, (p,q) < (i,j) \u2022Dlnit I Earley [0, T -+ \u00b0R ~, 0, 0 I -,-] [h,N ~ -~ 5*av, i,j-1 [p,q], ~Scan [a,3 -1,j] ~'Earley = [h, N7 --+ 8a \u00b0 v, i, j [ p, q] ~)Pred", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "[h, N~ ~5\"M'~v,i,J [P,q] Earley \"= [h, M'r --+ \u00b0v, j, j[ -,-] f h, N \"y ~ 5 * M'rv, \"", |
| "cite_spans": [ |
| { |
| "start": 19, |
| "end": 24, |
| "text": "[P,q]", |
| "ref_id": null |
| }, |
| { |
| "start": 35, |
| "end": 61, |
| "text": "[h, M'r --+ \u00b0v, j, j[ -,-]", |
| "ref_id": null |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "~)Comp Earley = [h, N \"r --+ 5M7. v, i, j I P U p', q U q'] DAdjPred [h, N \"r -+ 5 \u2022 M~rv, i, j I P, q] E,~l~y = [j, T --+ .R~, j, j I -,-1 such that [3 E adj(M ~) [j,F ~ --+ o_L, k, k I -,-], T~FootPred = [ h, N \"r --+ 5 \u2022 M'Y v, i, j ] p, q] z\"Earley [h, M y --+ *5, k, k I -, -]", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "such that [3 E adj(M ~) [h,M \"Y ~ v*,k,l I P, q] , [j,F ~ -+ ._L,k, k [ -,-] , ~)FootComp [h, N ~ --+ 5 * M~v,i,j I if, q'] --+ R~.,j,m k,l], h,M ~ --+ v.,k, l lp, q], h,N ~ --+ 5 \u2022 M~v,i,j I P',q'] [h, N'r -+ 5M'r \u2022 v, i, m I P U p', q U q'] Algorithms without the valid prefix property have a time complexity C0(n 6) with respect to the length of the input string. The change in complexity is due to the additional index in items of ]PEarley-That index is needed to check the trees T~FootPred ^--J ,r~FootComp In the involved in steps ~'~Earley i~uu t.,Earley . other steps, that index is only propagated to the generated item. This feature allows us to refine ff-IAdjComp splitting them into several the steps in ~Earley ' steps generating intermediate items without that index. To get a correct .s~titting, we must first [j,-r -, R~,,j,m I k,1], [h,M ~ --+ vo, k,l lp, q] , [h,F ~ -+ _L.,p,q p,q] , DadjCom p' = [h, i, Earley [h, N7 --~ 5M7 \u2022 u, i, m [ p, q] such that 13 E adj(M ~) [j,T --+ R~*,j, m l k,l], ih, M y --+ v',k,l -,-] , , h,N'r -+ 5* M'rv, i,j if,q] , and req-)AdjComp \u00b0 q')AdjC\u00b0rnp2 into steps in ~Earley fine steps in ,iEarley and q')AdjC\u00b0mp2' Correctness of these splittings ~Earley is guaranteed by the context-free property of TA G (Vijay-Shanker and Weir, 1993) establishing the independence of each adjunction with respect to any other adjunction.", |
| "cite_spans": [ |
| { |
| "start": 10, |
| "end": 48, |
| "text": "[3 E adj(M ~) [h,M \"Y ~ v*,k,l I P, q]", |
| "ref_id": null |
| }, |
| { |
| "start": 51, |
| "end": 76, |
| "text": "[j,F ~ -+ ._L,k, k [ -,-]", |
| "ref_id": null |
| }, |
| { |
| "start": 90, |
| "end": 123, |
| "text": "[h, N ~ --+ 5 * M~v,i,j I if, q']", |
| "ref_id": null |
| }, |
| { |
| "start": 124, |
| "end": 242, |
| "text": "--+ R~.,j,m k,l], h,M ~ --+ v.,k, l lp, q], h,N ~ --+ 5 \u2022 M~v,i,j I P',q'] [h, N'r -+ 5M'r \u2022 v, i, m I P U p', q U q']", |
| "ref_id": null |
| }, |
| { |
| "start": 850, |
| "end": 875, |
| "text": "[h,M ~ --+ vo, k,l lp, q]", |
| "ref_id": null |
| }, |
| { |
| "start": 878, |
| "end": 900, |
| "text": "[h,F ~ -+ _L.,p,q p,q]", |
| "ref_id": null |
| }, |
| { |
| "start": 903, |
| "end": 919, |
| "text": "DadjCom p' = [h,", |
| "ref_id": null |
| }, |
| { |
| "start": 920, |
| "end": 922, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 930, |
| "end": 962, |
| "text": "[h, N7 --~ 5M7 \u2022 u, i, m [ p, q]", |
| "ref_id": null |
| }, |
| { |
| "start": 987, |
| "end": 1036, |
| "text": "[j,T --+ R~*,j, m l k,l], ih, M y --+ v',k,l -,-]", |
| "ref_id": null |
| }, |
| { |
| "start": 1041, |
| "end": 1068, |
| "text": "h,N'r -+ 5* M'rv, i,j if,q]", |
| "ref_id": null |
| }, |
| { |
| "start": 1256, |
| "end": 1286, |
| "text": "(Vijay-Shanker and Weir, 1993)", |
| "ref_id": "BIBREF14" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "T)AdjCornp 2 [", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "After step refinement, we get the Earley-like parsing algorithm for TAG described in (Nederhof, 1997) , which preserves the valid prefix property having a time complexity O(n 6) with respect to the input string. In this schema we also need to define N r --+ 5 . au, i,3 -lip, q] , ~Scan [a, 3 -1, j] \u2022 ~E,~l~y = [h, Nr ~ 5a \u2022 u, i, j I P, q] ~r)Pred [h, i, j i, k ! p, q], h, , k, j ]if, q] ~r)(:()mp ---- I, :, u.l, , y [h, i, j I P tO p', q U q'] ,DAdjPre d _ [h, i, j l p, q] Earley --[j, T -~ ;fi~ [ -, -] such that 13 E adj (M r) [j,F ~ -+ *J_,k,k ~FootP~ed = [h, i, j [ p, q] ~'Earley [h, M'r --+ .5, k, k [ -, -] such that/3 E adj (M ~) :D F\u00b0otC\u00b0mp = Earley such that /3 q' are defined [h, M r --+ 5\u2022, k, l I P, q] , }j, F ~ -+ \u00ae\u00b1,k,k -,-], h,N ~ -+ 5. M~u,i,j p',q'] [j, FZ -~ _k.,k,l I k,l] \u2022 We have described a set of parsing algorithms for TAG creating a continuum which has the CYK-like parsing algorithm by (Vijay-Shanker and Joshi, 1985) as its starting point and the Earley-like parsing algorithm by (Nederhof, 1997) preserving the valid prefix property with time complexity O(n 6) as its goal. As intermediate algorithms, we have defined a bottom-up Earley-like parsing algorithm and an Earley-like parsing algorithm without the valid prefix property, which to our knowledge has not been previously described in literature 1. We have also shown how to transform one algorithm into the next using simple transformations.Other algorithms could also has been included in the continuum, but for reasons of space we have chosen to show only the algorithms we consider milestones in the development of parsing algorithms for TAG. An interesting project for the future will be to translate the algorithms presented here to several proposed automata models for TAG which have an associated tabulation technique: Strongly Driven 2-Stack Automata (de la Clergerie and Alonso, 1998), Bottom-up 2-Stack Automata (de la and Linear Indexed Automata (Nederhof, 1998) .", |
| "cite_spans": [ |
| { |
| "start": 85, |
| "end": 101, |
| "text": "(Nederhof, 1997)", |
| "ref_id": "BIBREF3" |
| }, |
| { |
| "start": 250, |
| "end": 278, |
| "text": "N r --+ 5 . au, i,3 -lip, q]", |
| "ref_id": null |
| }, |
| { |
| "start": 312, |
| "end": 315, |
| "text": "[h,", |
| "ref_id": null |
| }, |
| { |
| "start": 316, |
| "end": 328, |
| "text": "Nr ~ 5a \u2022 u,", |
| "ref_id": null |
| }, |
| { |
| "start": 329, |
| "end": 331, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 332, |
| "end": 338, |
| "text": "j I P,", |
| "ref_id": null |
| }, |
| { |
| "start": 339, |
| "end": 341, |
| "text": "q]", |
| "ref_id": null |
| }, |
| { |
| "start": 350, |
| "end": 353, |
| "text": "[h,", |
| "ref_id": null |
| }, |
| { |
| "start": 354, |
| "end": 356, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 357, |
| "end": 358, |
| "text": "j", |
| "ref_id": null |
| }, |
| { |
| "start": 359, |
| "end": 361, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 362, |
| "end": 368, |
| "text": "k ! p,", |
| "ref_id": null |
| }, |
| { |
| "start": 369, |
| "end": 372, |
| "text": "q],", |
| "ref_id": null |
| }, |
| { |
| "start": 373, |
| "end": 375, |
| "text": "h,", |
| "ref_id": null |
| }, |
| { |
| "start": 376, |
| "end": 377, |
| "text": ",", |
| "ref_id": null |
| }, |
| { |
| "start": 378, |
| "end": 380, |
| "text": "k,", |
| "ref_id": null |
| }, |
| { |
| "start": 381, |
| "end": 387, |
| "text": "j ]if,", |
| "ref_id": null |
| }, |
| { |
| "start": 388, |
| "end": 390, |
| "text": "q]", |
| "ref_id": null |
| }, |
| { |
| "start": 406, |
| "end": 408, |
| "text": "I,", |
| "ref_id": null |
| }, |
| { |
| "start": 409, |
| "end": 411, |
| "text": ":,", |
| "ref_id": null |
| }, |
| { |
| "start": 412, |
| "end": 416, |
| "text": "u.l,", |
| "ref_id": null |
| }, |
| { |
| "start": 417, |
| "end": 418, |
| "text": ",", |
| "ref_id": null |
| }, |
| { |
| "start": 419, |
| "end": 424, |
| "text": "y [h,", |
| "ref_id": null |
| }, |
| { |
| "start": 425, |
| "end": 427, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 428, |
| "end": 440, |
| "text": "j I P tO p',", |
| "ref_id": null |
| }, |
| { |
| "start": 441, |
| "end": 448, |
| "text": "q U q']", |
| "ref_id": null |
| }, |
| { |
| "start": 462, |
| "end": 465, |
| "text": "[h,", |
| "ref_id": null |
| }, |
| { |
| "start": 466, |
| "end": 468, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 469, |
| "end": 475, |
| "text": "j l p,", |
| "ref_id": null |
| }, |
| { |
| "start": 476, |
| "end": 478, |
| "text": "q]", |
| "ref_id": null |
| }, |
| { |
| "start": 502, |
| "end": 509, |
| "text": "[ -, -]", |
| "ref_id": null |
| }, |
| { |
| "start": 529, |
| "end": 534, |
| "text": "(M r)", |
| "ref_id": null |
| }, |
| { |
| "start": 553, |
| "end": 568, |
| "text": "~FootP~ed = [h,", |
| "ref_id": null |
| }, |
| { |
| "start": 569, |
| "end": 571, |
| "text": "i,", |
| "ref_id": null |
| }, |
| { |
| "start": 572, |
| "end": 578, |
| "text": "j [ p,", |
| "ref_id": null |
| }, |
| { |
| "start": 579, |
| "end": 581, |
| "text": "q]", |
| "ref_id": null |
| }, |
| { |
| "start": 591, |
| "end": 619, |
| "text": "[h, M'r --+ .5, k, k [ -, -]", |
| "ref_id": null |
| }, |
| { |
| "start": 638, |
| "end": 643, |
| "text": "(M ~)", |
| "ref_id": null |
| }, |
| { |
| "start": 693, |
| "end": 721, |
| "text": "[h, M r --+ 5\u2022, k, l I P, q]", |
| "ref_id": null |
| }, |
| { |
| "start": 728, |
| "end": 774, |
| "text": "F ~ -+ \u00ae\u00b1,k,k -,-], h,N ~ -+ 5. M~u,i,j p',q']", |
| "ref_id": null |
| }, |
| { |
| "start": 779, |
| "end": 799, |
| "text": "FZ -~ _k.,k,l I k,l]", |
| "ref_id": null |
| }, |
| { |
| "start": 921, |
| "end": 952, |
| "text": "(Vijay-Shanker and Joshi, 1985)", |
| "ref_id": null |
| }, |
| { |
| "start": 1016, |
| "end": 1032, |
| "text": "(Nederhof, 1997)", |
| "ref_id": "BIBREF3" |
| }, |
| { |
| "start": 1952, |
| "end": 1968, |
| "text": "(Nederhof, 1998)", |
| "ref_id": "BIBREF5" |
| } |
| ], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| }, |
| { |
| "text": "l P, q] Earlcy -~-[h, Mr ~ *v, j, j [ -,-] [ h,", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "An Earley-like Algorithm", |
| "sec_num": "4" |
| } |
| ], |
| "back_matter": [ |
| { |
| "text": "This work has been partially supported by FEDER of European Union (1FD97-0047-C04-02) and Xunta de Galicia (and XUGA20402B97).", |
| "cite_spans": [], |
| "ref_spans": [], |
| "eq_spans": [], |
| "section": "Acknowledgments", |
| "sec_num": "7" |
| } |
| ], |
| "bib_entries": { |
| "BIBREF0": { |
| "ref_id": "b0", |
| "title": "A tabular interpretation of a class of 2-Stack Automata", |
| "authors": [ |
| { |
| "first": "Eric", |
| "middle": [], |
| "last": "De", |
| "suffix": "" |
| }, |
| { |
| "first": "La", |
| "middle": [], |
| "last": "Clergerie", |
| "suffix": "" |
| }, |
| { |
| "first": "Miguel", |
| "middle": [ |
| "A" |
| ], |
| "last": "Alonso", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "COLING-ACL '98, 36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics, Proceedings of the Conference", |
| "volume": "II", |
| "issue": "", |
| "pages": "1333--1339", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Eric de la Clergerie and Miguel A. Alonso. 1998. A tabular interpretation of a class of 2-Stack Automata. In COLING-ACL '98, 36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics, Proceedings of the Conference, volume II, pages 1333-1339, Montreal, Quebec, Canada, August. ACL.", |
| "links": null |
| }, |
| "BIBREF1": { |
| "ref_id": "b1", |
| "title": "A tabular interpretation of bottom-up automata for TAG", |
| "authors": [ |
| { |
| "first": "Eric", |
| "middle": [], |
| "last": "De La Clergerie", |
| "suffix": "" |
| }, |
| { |
| "first": "Miguel", |
| "middle": [ |
| "A" |
| ], |
| "last": "Alonso", |
| "suffix": "" |
| }, |
| { |
| "first": "David", |
| "middle": [], |
| "last": "Cabrero", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "Proc. of Fourth International Workshop on Tree-Adjoining Grammars and Related Frameworks (TAG+4)", |
| "volume": "", |
| "issue": "", |
| "pages": "42--45", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Eric de la Clergerie, Miguel A. Alonso, and David Cabrero. 1998. A tabular interpreta- tion of bottom-up automata for TAG. In Proc. of Fourth International Workshop on Tree- Adjoining Grammars and Related Frameworks (TAG+4), pages 42-45, Philadelphia, PA, USA, August.", |
| "links": null |
| }, |
| "BIBREF2": { |
| "ref_id": "b2", |
| "title": "An introduction to tree adjoining grammars", |
| "authors": [ |
| { |
| "first": "K", |
| "middle": [], |
| "last": "Aravind", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Joshi", |
| "suffix": "" |
| } |
| ], |
| "year": 1987, |
| "venue": "Mathematics of Language", |
| "volume": "", |
| "issue": "", |
| "pages": "87--115", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Aravind K. Joshi. 1987. An introduction to tree adjoining grammars. In Alexis Manaster- Ramer, editor, Mathematics of Language, pages 87-115. John Benjamins Publishing Co., Ams- terdam/Philadelphia.", |
| "links": null |
| }, |
| "BIBREF3": { |
| "ref_id": "b3", |
| "title": "Solving the correctprefix property for TAGs", |
| "authors": [ |
| { |
| "first": "-", |
| "middle": [], |
| "last": "Mark", |
| "suffix": "" |
| } |
| ], |
| "year": 1991, |
| "venue": "T. Becket and ~Other different formulations of Earley-like parsing algorithms for TAG has been previously proposed", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Mark-Jan Nederhof. 1997. Solving the correct- prefix property for TAGs. In T. Becket and ~Other different formulations of Earley-like pars- ing algorithms for TAG has been previously proposed, e.g. (Schabes, 1991).", |
| "links": null |
| }, |
| "BIBREF4": { |
| "ref_id": "b4", |
| "title": "Proc. of the Fifth Meeting on Mathematics of Language", |
| "authors": [], |
| "year": null, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "124--130", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "H.-V. Krieger, editors, Proc. of the Fifth Meet- ing on Mathematics of Language, pages 124- 130, Schloss Dagstuhl, Saarbruecken, Germany, August.", |
| "links": null |
| }, |
| "BIBREF5": { |
| "ref_id": "b5", |
| "title": "Linear indexed automata and tabulation of TAG parsing", |
| "authors": [ |
| { |
| "first": "Mark-Jan", |
| "middle": [], |
| "last": "Nederhof", |
| "suffix": "" |
| } |
| ], |
| "year": 1998, |
| "venue": "Proc. of First Workshop on Tabulation in Parsing and Deduction (TAPD'98)", |
| "volume": "", |
| "issue": "", |
| "pages": "1--9", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Mark-Jan Nederhof. 1998. Linear indexed au- tomata and tabulation of TAG parsing. In Proc. of First Workshop on Tabulation in Parsing and Deduction (TAPD'98), pages 1-9, Paris, France, April.", |
| "links": null |
| }, |
| "BIBREF6": { |
| "ref_id": "b6", |
| "title": "An Earley-type parsing algorithm for tree adjoining grammars", |
| "authors": [ |
| { |
| "first": "Yves", |
| "middle": [], |
| "last": "Schabes", |
| "suffix": "" |
| }, |
| { |
| "first": "Aravind", |
| "middle": [ |
| "K" |
| ], |
| "last": "Joshi", |
| "suffix": "" |
| } |
| ], |
| "year": 1988, |
| "venue": "Proc. of 26th Annual Meeting of the Association for Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "258--269", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Yves Schabes and Aravind K. Joshi. 1988. An Earley-type parsing algorithm for tree adjoining grammars. In Proc. of 26th Annual Meeting of the Association for Computational Linguistics, pages 258-269, Buffalo, NY, USA, June. ACL.", |
| "links": null |
| }, |
| "BIBREF7": { |
| "ref_id": "b7", |
| "title": "An alternative conception of tree-adjoining derivation", |
| "authors": [ |
| { |
| "first": "Yves", |
| "middle": [], |
| "last": "Schabes", |
| "suffix": "" |
| }, |
| { |
| "first": "Stuart", |
| "middle": [ |
| "M" |
| ], |
| "last": "Shieber", |
| "suffix": "" |
| } |
| ], |
| "year": 1994, |
| "venue": "Computational Linguistics", |
| "volume": "20", |
| "issue": "1", |
| "pages": "91--124", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Yves Schabes and Stuart M. Shieber. 1994. An alternative conception of tree-adjoining deriva- tion. Computational Linguistics, 20(1):91-124.", |
| "links": null |
| }, |
| "BIBREF8": { |
| "ref_id": "b8", |
| "title": "The valid prefix property and left to right parsing of tree-adjoining gram\u00b0 mar", |
| "authors": [ |
| { |
| "first": "Yves", |
| "middle": [], |
| "last": "Schabes", |
| "suffix": "" |
| } |
| ], |
| "year": 1991, |
| "venue": "Proc. of II International Workshop on Parsing Technologies, IWPT'91", |
| "volume": "", |
| "issue": "", |
| "pages": "21--30", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Yves Schabes. 1991. The valid prefix property and left to right parsing of tree-adjoining gram\u00b0 mar. In Proc. of II International Workshop on Parsing Technologies, IWPT'91, pages 21-30, Cancfin, Mexico.", |
| "links": null |
| }, |
| "BIBREF9": { |
| "ref_id": "b9", |
| "title": "Left to right parsing of lexicalized tree-adjoining grammars", |
| "authors": [ |
| { |
| "first": "Yves", |
| "middle": [], |
| "last": "Schabes", |
| "suffix": "" |
| } |
| ], |
| "year": 1994, |
| "venue": "Computational Intelligence", |
| "volume": "10", |
| "issue": "4", |
| "pages": "506--515", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Yves Schabes. 1994. Left to right parsing of lexicalized tree-adjoining grammars. Computa- tional Intelligence, 10(4):506-515.", |
| "links": null |
| }, |
| "BIBREF10": { |
| "ref_id": "b10", |
| "title": "Principles and implementation of deductive parsing", |
| "authors": [ |
| { |
| "first": "M", |
| "middle": [], |
| "last": "Stuart", |
| "suffix": "" |
| }, |
| { |
| "first": "Yves", |
| "middle": [], |
| "last": "Shieber", |
| "suffix": "" |
| }, |
| { |
| "first": "Fernando", |
| "middle": [ |
| "C N" |
| ], |
| "last": "Schabes", |
| "suffix": "" |
| }, |
| { |
| "first": "", |
| "middle": [], |
| "last": "Pereira", |
| "suffix": "" |
| } |
| ], |
| "year": 1995, |
| "venue": "Yournal of Logic Programming", |
| "volume": "24", |
| "issue": "1&2", |
| "pages": "3--36", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Stuart M. Shieber, Yves Schabes, and Fernando C. N. Pereira. 1995. Principles and implemen- tation of deductive parsing. Yournal of Logic Programming, 24(1&2):3-36, July-August.", |
| "links": null |
| }, |
| "BIBREF11": { |
| "ref_id": "b11", |
| "title": "Parsing Schemata --A Framework for Specification and Analysis of Parsing Algorithms. Texts in Theoretical Computer Science --An EATCS Series", |
| "authors": [ |
| { |
| "first": "Klaas", |
| "middle": [], |
| "last": "Sikkel", |
| "suffix": "" |
| } |
| ], |
| "year": 1997, |
| "venue": "", |
| "volume": "", |
| "issue": "", |
| "pages": "", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Klaas Sikkel. 1997. Parsing Schemata --A Framework for Specification and Analysis of Parsing Algorithms. Texts in Theoretical Com- puter Science --An EATCS Series. Springer- Verlag, Berlin/Heidelberg/New York.", |
| "links": null |
| }, |
| "BIBREF13": { |
| "ref_id": "b13", |
| "title": "Some computational properties of tree adjoining grammars", |
| "authors": [ |
| { |
| "first": "", |
| "middle": [], |
| "last": "Joshi", |
| "suffix": "" |
| } |
| ], |
| "year": 1985, |
| "venue": "23rd Annual Meeting of the Association ]or Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "82--93", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Joshi. 1985. Some computational properties of tree adjoining grammars. In 23rd Annual Meet- ing of the Association ]or Computational Lin- guistics, pages 82-93, Chicago, IL, USA, July. ACL.", |
| "links": null |
| }, |
| "BIBREF14": { |
| "ref_id": "b14", |
| "title": "Parsing some constrained grammar formalisms", |
| "authors": [ |
| { |
| "first": "Krishnamurti", |
| "middle": [], |
| "last": "Vijay", |
| "suffix": "" |
| }, |
| { |
| "first": "-", |
| "middle": [], |
| "last": "Shanker", |
| "suffix": "" |
| }, |
| { |
| "first": "David", |
| "middle": [ |
| "J" |
| ], |
| "last": "Weir", |
| "suffix": "" |
| } |
| ], |
| "year": 1993, |
| "venue": "Computational Linguistics", |
| "volume": "19", |
| "issue": "4", |
| "pages": "591--636", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Krishnamurti Vijay-Shanker and David J. Weir. 1993. Parsing some constrained gram- mar formalisms. Computational Linguistics, 19(4):591-636.", |
| "links": null |
| }, |
| "BIBREF15": { |
| "ref_id": "b15", |
| "title": "Characterizing structural descriptions produced by various grammatical formalisms", |
| "authors": [ |
| { |
| "first": "Krishnamurti", |
| "middle": [], |
| "last": "Vijay-Shanker", |
| "suffix": "" |
| }, |
| { |
| "first": "David", |
| "middle": [ |
| "J" |
| ], |
| "last": "Weir", |
| "suffix": "" |
| }, |
| { |
| "first": "Aravind", |
| "middle": [ |
| "K" |
| ], |
| "last": "Joshi", |
| "suffix": "" |
| } |
| ], |
| "year": 1987, |
| "venue": "Proc. o/the P5th Annual Meeting of the Association ]or Computational Linguistics", |
| "volume": "", |
| "issue": "", |
| "pages": "104--111", |
| "other_ids": {}, |
| "num": null, |
| "urls": [], |
| "raw_text": "Krishnamurti Vijay-Shanker, David J. Weir, and Aravind K. Joshi. 1987. Characterizing struc- tural descriptions produced by various gram- matical formalisms. In Proc. o/the P5th Annual Meeting of the Association ]or Computational Linguistics, pages 104-111, Buffalo, NY, USA, June. ACL.", |
| "links": null |
| } |
| }, |
| "ref_entries": { |
| "FIGREF0": { |
| "type_str": "figure", |
| "num": null, |
| "text": ".a; :~ ai+l ... a~ if and only if (p, q) # (-,-) and 5 =~ ai+l ... aj if and only if (p, q) = (-, -).The items of the new parsing schema, denoted buEx, are obtained by refining the items of CYK. The dotted rules eliminate the need for the element adj indicating whether the node in the lefthand side of the production has been used as adjunction node.Schema 2 The parsing system ]PbuE corresponding to the bottom-up Earl\u2022y-like parsing algorithm, given a tree adjoining grammar G and a input string al ... a,~ is defined as follows:", |
| "uris": null |
| }, |
| "FIGREF1": { |
| "type_str": "figure", |
| "num": null, |
| "text": "----[ Ny ~ 6*Mrv, i,J [P ,q] ~E [F~ --+ _1_., k, l I k, l] such that fl \u2022 adj(M~), p U p' and q t2 q' are defined", |
| "uris": null |
| }, |
| "FIGREF3": { |
| "type_str": "figure", |
| "num": null, |
| "text": "such that R ~ ~ ah+~ ...aiSvv and 5 =~ ai...ap F \"r aq+~ ...aj ~ ai...aj if and only if (p, q) # (-,-) and 5 ~ ai...aj if and only if (P, q) = (-, -). Thus, an item [N ~ --+ 5 * v,i,j I P,q] of IPE corresponds now with a subset of {[h, N 7 --+ 5. v, i, j I P, q] } for all h e [0, n]. Schema 4 The parsing system ]PEarley corresponding to a Earley-like parsing algorithm with the valid prefix property, for a tree adjoining grammar ~ and a input string a~...an is defined as follows:", |
| "uris": null |
| }, |
| "FIGREF4": { |
| "type_str": "figure", |
| "num": null, |
| "text": "F ~ ~ .J-\",~,l I ~,l] fl E adj(MT), p U p' and q U q' are defined -DAdjComp Earley fj, T", |
| "uris": null |
| }, |
| "FIGREF5": { |
| "type_str": "figure", |
| "num": null, |
| "text": "Time complexity of the Earley-like algorithm with respect to the length n of input string is AdjOomp O(nT), and it is given by steps 79Earley . A1q-lAdjComp though 8 indices are involved in a step ~Earley , partial application allows us to reduce the time complexity to O(nT).", |
| "uris": null |
| }, |
| "FIGREF6": { |
| "type_str": "figure", |
| "num": null, |
| "text": "q' are instantiated. So, we must define two q'3AdjC\u00b0mpl and q3AdjO\u00b0mP2 of steps inwe need to introduce a new item (dynamic filtering) to guarantee the correctness of the steps.", |
| "uris": null |
| }, |
| "FIGREF8": { |
| "type_str": "figure", |
| "num": null, |
| "text": "a new kind of intermediate pseudo-items [[g r --+ 5 \u2022 u, i, j I P, q]] such that 5 ~ ai...ap F \"y aq+l...aj ~ ai...aj if and only if (p, q) \u00a2 (-,-) and 6 :~ ai... aj if and only if (p, q) = (-,-) . Schema 5 The parsing system ]PEarley coFresponding to a the final Earley-like parsing algorithm with the valid prefix property having time complexity O(n6), for a tree adjoining grammar G and a input string al ... an is defined as follows: ~Earley = { [h,N r ~ (~ \u2022 b',?:,j i P,q] } such that N \"r ~ 5 . u E p('r), 7 E I tO A, O < h < i<j, (p,q)_<(i,j) ~Earley = { [[ Nr -'') ~ \u2022 /],i,J I P,q]] } such that N r ~ d.u \u2022 P(7), ~/ \u2022 IU A, O < i <j, (p,q) <_ (i,j)", |
| "uris": null |
| }, |
| "FIGREF9": { |
| "type_str": "figure", |
| "num": null, |
| "text": "adj(M'r), p U p' andq U [j, T --+ RZ.,j, rn ~pkql! , ,F~AdjComp o = [h, M r --+ 5\u2022, k, l [ --Earley [[M'r --+ 5\u2022, j, rn [ p, q]] such that/3 E adj(M r) F r -+ .l_.,p,q p,q], ~AdiCompl' [h, N r ~ 5 \u2022 M~u,i,j -, -] ~'Earley = [h, N~ ~ ~M~ \u2022 u, i, m I P, q]such that/3 \u2022 adj(M r) [[M \"r -+ 5.,j, rn [ p,q]], q~AdjComp 2'[h, i,j [ p,q]", |
| "uris": null |
| }, |
| "TABREF2": { |
| "html": null, |
| "content": "<table><tr><td colspan=\"2\">the adjunction node. With respect to steps in</td></tr><tr><td>~)AdjComp E</td><td>, p and</td></tr><tr><td>\u2022 .r~FootComp predicted subtree has finished, a step m/Jn</td><td/></tr><tr><td>re-takes the traversal of/3 continuing at the foot</td><td/></tr><tr><td>node. When the traversal of/3 is completely fin-</td><td/></tr><tr><td>T~hdjC\u00b0mp checks if the ished, a deduction step in w E</td><td/></tr><tr><td>subtree attached to the foot of [3 corresponds with</td><td/></tr></table>", |
| "num": null, |
| "text": "q are instantiated if and only if the adjunction node is in the spine of V-5 The Valid Prefix Property Parsers satisfying the valid prefix property guarantee that, as they read the input string from left to right, the substrings read so fax are valid prefixes of the language defined by the grammar. More formally, a parser satisfies the valid prefix property if for any substring al .. \u2022 ak read from the input string al . \u2022 \u2022 akak+ l \u2022.. an guarantees that there is a string of tokens bl ... bin, where bi need not be part of the input string, such that al ... akbl . .. bm is a valid string of the language.", |
| "type_str": "table" |
| } |
| } |
| } |
| } |