|
{ |
|
"paper_id": "W98-0139", |
|
"header": { |
|
"generated_with": "S2ORC 1.0.0", |
|
"date_generated": "2023-01-19T06:04:48.385995Z" |
|
}, |
|
"title": "A Compact Encoding of a DTG Grammar", |
|
"authors": [ |
|
{ |
|
"first": "Martine", |
|
"middle": [ |
|
"Smets" |
|
], |
|
"last": "Cognitive", |
|
"suffix": "", |
|
"affiliation": { |
|
"laboratory": "", |
|
"institution": "Computing Sciences University of Sussex Brighton", |
|
"location": { |
|
"postCode": "BNl 9QN", |
|
"country": "UK" |
|
} |
|
}, |
|
"email": "" |
|
} |
|
], |
|
"year": "", |
|
"venue": null, |
|
"identifiers": {}, |
|
"abstract": "This paper describes the use of a compact encoding scheme to represent the trees of the wide-coverage DTG grammar currently being developed in the LEXSYS project (Caroll et al 1998). The encoding scheme is derived from the scheme for LTAG grammars described in Evans, Gazdar and Weir (1995), but the LEXSYS grammar is the first attempt to apply these ideas on a !arger scale. In this paper we report on the approach taken and discuss some technical improvements to the encoding scheme that we have introduced to overcome problems of scaling.", |
|
"pdf_parse": { |
|
"paper_id": "W98-0139", |
|
"_pdf_hash": "", |
|
"abstract": [ |
|
{ |
|
"text": "This paper describes the use of a compact encoding scheme to represent the trees of the wide-coverage DTG grammar currently being developed in the LEXSYS project (Caroll et al 1998). The encoding scheme is derived from the scheme for LTAG grammars described in Evans, Gazdar and Weir (1995), but the LEXSYS grammar is the first attempt to apply these ideas on a !arger scale. In this paper we report on the approach taken and discuss some technical improvements to the encoding scheme that we have introduced to overcome problems of scaling.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Abstract", |
|
"sec_num": null |
|
} |
|
], |
|
"body_text": [ |
|
{ |
|
"text": "1 Compact encoding of LTAG/ DTG trees Evans, Gazdar and Weir (1995) describe a compact representation of LTAG trees using the default inheritance language DATR (Evans and Gazdar 1996) . This representation uses two techniques to make tree grammars more compact. First, inheritance between trees allows them to share common structure: for example a transitive verb tree can inherit the structure of an intransitive verb, adding a direct object argument, and a ditransitive can inherit all this structure from the transitive, adding a further indirect argment. Second, the grammar includes rules which derive new trees from old: tree relations such as passive, dative movement and topicalisation are encoded as rules, allowing the full grammar to be encoded as a set of base trees plus a set of such generative rules.", |
|
"cite_spans": [ |
|
{ |
|
"start": 38, |
|
"end": 67, |
|
"text": "Evans, Gazdar and Weir (1995)", |
|
"ref_id": null |
|
}, |
|
{ |
|
"start": 160, |
|
"end": 183, |
|
"text": "(Evans and Gazdar 1996)", |
|
"ref_id": "BIBREF4" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "The representation of rules is internal, in the sense that they are expressed as part of the tree definitions themselves, rather than externally as a set of rules in a separate representation system. For example, passive is represented as a constraint between an 'input' tree with a direct object and an 'output' tree without one. This relation is part of the definition of any transitive verb and can be 'invoked' by setting the Roger Evans.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "University of Brighton Brighton, BN2 4GJ, UK Roger.Evans\u00a9itri.brighton.ac.uk input to be the base tree for the verb and reading off the outpu as the resultin surface tree (see Evans, Gazdar and Weir 1995 for full details) .", |
|
"cite_spans": [ |
|
{ |
|
"start": 176, |
|
"end": 221, |
|
"text": "Evans, Gazdar and Weir 1995 for full details)", |
|
"ref_id": null |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "This approach has a number of advantages. Rule definitions can directly access test or modify any part of the tree under consideration, and they can themselves use the inheritance mechanisms to share structure between rules. In addition rules can be positioned in the main tree hierarchy so that they are only visible to trees they can sensibly be applied to. For example, the passive rule definition can be located as part of the transitive verb tree definition, and so will be inheritied by ditransitives (which also passivise) but not by intransitives, sentential complement verbs etc., which cannot. Tlms by internalising rules, one can simply express generalisations about their scope.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "However, the specific proposal in Evans, Gazdar and Weir (1995) also had some less desirable features. In order to apply a rule, it was necessary to 'plumb together' inputs and outputs using inheritance statements in a new DATR node. In addition, rule definitions included specific references to their own names, making it difficult for rules to share definitions in practice, and difficult to apply a rule more than once to the same tree. The present approach uses an improved version of this scheme which addresses these issues:", |
|
"cite_spans": [ |
|
{ |
|
"start": 57, |
|
"end": 63, |
|
"text": "(1995)", |
|
"ref_id": "BIBREF6" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "1. rule application is achieved by adding path prefixes (specifying rules to be applied) to queries on the basic tree definition, rather than creating a new node and 'plumbing';", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "2. rule definitions are no langer dependent on the name of the rule they define, they are properly modular, making it easier to generalise across rules;", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "3. as a consequence it is now possible to apply a rule more than once to the same tree if required;", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "These improvements make it more feasible to consider a more realistic set of rules with more complex interactions, as required for a )arge scale grammar such as the LEXSYS grammar.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "2 Application to LEXSYS", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Information Technology Research Institute", |
|
"sec_num": null |
|
}, |
|
{ |
|
"text": "There are at present 35 rules in the grammar that we are developing as part of the LEXSYS System. Roughly half of these rules are movement rules, because there is currently a different movement rule for each possible extraction site: e.g. there is a rule for wh-questions on the subject, another one for questions on the first object, different rules for extradion of prepositional objects depending of whether or not the preposition is stranded, etc. Other rules are the passive rules (with or without a by-phrase), the rules concerning the order of particles and complements, the inversion rule, the rule deriving VP complements from S, etc.; there are also rules for nouns, determiners, adjectives and adverbs. Rules which share common characteristics are coded as a hierarchy, which allows them to share much of their structure. For example, for movement rules 1 the top of the hierarchy is the topic rule, which specifies the top structure of the derived tree (where the 'extracted' element is localised). The rule topobjt (topicalization of the first object) inherits the information in topic and specifies the position in the tree of the null category coindexed with the 'extracted' element. Finally, the rules whobjt and relobjt inherit from the rule topobjt and specify the type of the topicalized category: wh-word or relative word.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "This organization in an inheritance hierarchy allows to capture linguistic generalizations: the whmovement rules 2 (topicalization, wh-questions, relative clauses) 'move' a constituent to the same position, the front of the clause; the fronted constituent can be a NP (if the 'extracted' element is the subject, a direct object or the object of a preposition), a PP (a prepositional object with no preposition stranding), an AP (adjective phrase) or an AdvP (adverb phrase). This constituent is associated with a gap corresponding to one of the arguments of the verb, and it shares the syntactic and semantic information of the gap: for example, a wh-pronoun can be an accusative form only if it corresponds to the object of the verb or of a preposition. 1 We are only discussinp; the rules referred to in the HPSG literature as filier-gap constructions or strong unbounded dep endency constructions.", |
|
"cite_spans": [ |
|
{ |
|
"start": 755, |
|
"end": 756, |
|
"text": "1", |
|
"ref_id": "BIBREF4" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "2 These constructions are discussed as a separate class of unbounded dependencies in the literature (Pollard and Sag 1996, see previous footnote).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "The only information which is not shared is the type of the preposed constituent ( unmarked, whword or relative word), which determines the type of the imbounded dependency.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "Another example of rule organization is given by the passive rules: information is inherited along two different dimensions. First, the rule for simple passive, defined at the tree for transitive verbs, is inherited by trees lower in the hierarchy: for example, the tree for verbs with prepositional objects (V +PP, such as look after), inherits the information provided by the general passive rule, and need only specify idiosyncratic information (ab out the preposition of the original complement).", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "Second, the rule for passive with by inherits the information provided by the rule for simple passive and adds information relative to the prepositional phrase.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "This hierarchical organization of rules captures the fact that there is one passive rule, which can vary depending on the object of the original transitive verb, and whether the agent is expressed or not. This cannot be captured if the different passive trees are represented independently of each other, with no more connection between them than between a passive tree and, for example, the gerund tree.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "The rules", |
|
"sec_num": "2.1" |
|
}, |
|
{ |
|
"text": "Not all rules are applicable to all trees, and not all orders of rule application are valid for all trees. There are three ways in which we constrain rule application:", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application of rules", |
|
"sec_num": "2.2" |
|
}, |
|
{ |
|
"text": "\u2022 by the rule's position in the main hierarchy -as discussed above, rules applying to just a subset of trees can be located at the most general node defining that subset, and no other trees will be able to access the rule. The fact that inheritance is non-monotonic allows the expression of exceptions to rules: for example, transitive verbs which cannot passivize inherit from the general definition for transitive verbs, but add that the passive rule does not apply.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application of rules", |
|
"sec_num": "2.2" |
|
}, |
|
{ |
|
"text": "\u2022 by specifying conditions directly within the rule for example, the passive rule can check that the first complement really is a noun phrase and fail to apply if not. Note that this may not be achievable purely by method (1) due to the possibility of applying other rules first: a transitive verb from which the direct object has been extracted will still be within the scope of the passive rule, but the rule will not be able to apply to it because the object has disappeared. Another example is the wh-question on the subject: the rule should apply only if the subject is not an expletive pronoun, and .this has to be checked by the rule itself.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application of rules", |
|
"sec_num": "2.2" |
|
}, |
|
{ |
|
"text": "\u2022 by explicitly specified constraints -although the previous two methods provide theoretically adequate mechanisms for all constraints, for efficiency reasons we also maintain a separate model of which rules can apply in which combination. The rules defined at each node are first grouped into sets if they enter into a paradigmatic relationship (if they cannot apply simultaneously on the same tree): this is the case in English for the extractions rules discussed ear-Jier, and for the passive rules, for example. Rules and sets of rules are then ordered, according to a partial ordering of the rules, and all possible rule application sequences which respect that ordering are computed off-line. Not all these sequences will apply in all cases ( due to the constraints oftype (1) and 2) but this is still much more efficient than blind search through all possible rule combinations.", |
|
"cite_spans": [ |
|
{ |
|
"start": 779, |
|
"end": 782, |
|
"text": "(1)", |
|
"ref_id": "BIBREF4" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application of rules", |
|
"sec_num": "2.2" |
|
}, |
|
{ |
|
"text": "This situation is reminiscent of the debate about rule ordering which took place in transformational grammar in the seventies (Soames and Perlmutter (1979)). One position defended an ordering of transformations, the other position maintained that ordering the rules is unnecessary, because rules should be allowed to apply whenever their structural description is met. In practical applications, however, this means computing and testing all possible rule combinations, which in the case at hand is impractical 3 \u2022", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Application of rules", |
|
"sec_num": "2.2" |
|
}, |
|
{ |
|
"text": "The LEXSYS grammar currently includes 44 basic trees and 35 rules which together expand to 619 trees. This is work in progress, and we predict that the number of trees will quickly grow. Also, we do not allow disjunctive feature values, but use multiple instances of the same tree, and this will also increase the number of trees. We currently expand the grammar as an off-line process before parsing. The high number of trees resulting from this expansion might be seen as a drawback for parsing, but techniques described in Evans and Weir (1998) can be applied to optimise the parsing of such large grammars by converting them to automata which can be merged and minimised.", |
|
"cite_spans": [ |
|
{ |
|
"start": 526, |
|
"end": 547, |
|
"text": "Evans and Weir (1998)", |
|
"ref_id": null |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Grammar expansion and parsing", |
|
"sec_num": "2.3" |
|
}, |
|
{ |
|
"text": "3Rule application is an issue also in computational applications of lexicalist grammars which use rules, such as HPSG (Meurers and Minnen 1995) .", |
|
"cite_spans": [ |
|
{ |
|
"start": 118, |
|
"end": 143, |
|
"text": "(Meurers and Minnen 1995)", |
|
"ref_id": null |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Grammar expansion and parsing", |
|
"sec_num": "2.3" |
|
}, |
|
{ |
|
"text": "Other work in this general area includes Becker (1993, 1994) and Vijay-Shanker and Schabes (1992) . Somewhat more recently, Candito (1996) presented an approach which is somewhat different in spirit. In her approach, LTAG is viewed as the compilation of what she calls a metagrammar. This metagrammar is based on the notion of syntactic function and hierarchically organizes information along three dimensions: initial predicate-argument structure, redistribution of functions and surface realization of syntactic functions. These three types of information are combined to yield cross-classes, and there is a step of translation of these resulting classes into trees. Inheritance is monotonic, except for functional information (the redistribution of functions can overwrite the initial distribution of functions). This scheme does not provide for an efficient way to handle exceptions or subregularities: if a predicate does not select some trees belonging to its tree family, these trees have to be stipulated in the lexical entry of the predicate.", |
|
"cite_spans": [ |
|
{ |
|
"start": 48, |
|
"end": 54, |
|
"text": "(1993,", |
|
"ref_id": null |
|
}, |
|
{ |
|
"start": 55, |
|
"end": 60, |
|
"text": "1994)", |
|
"ref_id": null |
|
}, |
|
{ |
|
"start": 65, |
|
"end": 97, |
|
"text": "Vijay-Shanker and Schabes (1992)", |
|
"ref_id": null |
|
}, |
|
{ |
|
"start": 124, |
|
"end": 138, |
|
"text": "Candito (1996)", |
|
"ref_id": "BIBREF2" |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Related work", |
|
"sec_num": "3" |
|
}, |
|
{ |
|
"text": "On the other hand, trees, in our approach, are directly organized in a non-monotonic inheritance hierarchy, so that there is no translation step. Our use of nonmonotonicity enables us to capture exceptions easily, but also contributes to the succinctness of some of our generalisations. A detailed comparison of the two approaches on a significant grammar fragment would therefore be very interest ing.", |
|
"cite_spans": [], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "Related work", |
|
"sec_num": "3" |
|
} |
|
], |
|
"back_matter": [ |
|
{ |
|
"text": "Annual Meeting of the Association for Computational Linguistics, 77-84. Roger Evans and David Weir. 1998 ", |
|
"cite_spans": [ |
|
{ |
|
"start": 65, |
|
"end": 71, |
|
"text": "77-84.", |
|
"ref_id": null |
|
}, |
|
{ |
|
"start": 78, |
|
"end": 104, |
|
"text": "Evans and David Weir. 1998", |
|
"ref_id": null |
|
} |
|
], |
|
"ref_spans": [], |
|
"eq_spans": [], |
|
"section": "annex", |
|
"sec_num": null |
|
} |
|
], |
|
"bib_entries": { |
|
"BIBREF0": { |
|
"ref_id": "b0", |
|
"title": "HyTAG: A new type of Tree Adjoining Grammar for hybrid syntactic representation of free word order languages", |
|
"authors": [ |
|
{ |
|
"first": "Tilman", |
|
"middle": [], |
|
"last": "Becker", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1993, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Tilman Becker. 1993. HyTAG: A new type of Tree Adjoining Grammar for hybrid syntactic representa- tion of free word order languages. Ph.D. thesis, Univ. des Saarlandes.", |
|
"links": null |
|
}, |
|
"BIBREF1": { |
|
"ref_id": "b1", |
|
"title": "Patterns in metarules", |
|
"authors": [ |
|
{ |
|
"first": "Tilman", |
|
"middle": [], |
|
"last": "Becker", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1994, |
|
"venue": "Proceedings of the Third International Workshop on Tree Adjoining Grammars", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "9--11", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Tilman Becker. 1994. Patterns in metarules. In Proceedings of the Third International Workshop on Tree Adjoining Grammars, 9-11.", |
|
"links": null |
|
}, |
|
"BIBREF2": { |
|
"ref_id": "b2", |
|
"title": "A principle-based hierarchical representation of LTAGs", |
|
"authors": [ |
|
{ |
|
"first": "Marie-Helene", |
|
"middle": [], |
|
"last": "Candito", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1996, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "194--199", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Marie-Helene Candito. 1996. A principle-based hierarchical representation of LTAGs. COLING-96, Copenhagen, 194-199.", |
|
"links": null |
|
}, |
|
"BIBREF4": { |
|
"ref_id": "b4", |
|
"title": "DATR: A language for lexical knowledge representation", |
|
"authors": [ |
|
{ |
|
"first": "Roger", |
|
"middle": [], |
|
"last": "Evans", |
|
"suffix": "" |
|
}, |
|
{ |
|
"first": "Gerald", |
|
"middle": [], |
|
"last": "Gazdar", |
|
"suffix": "" |
|
} |
|
], |
|
"year": 1996, |
|
"venue": "Computational Linguistics 22", |
|
"volume": "2", |
|
"issue": "", |
|
"pages": "167--216", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Roger Evans and Gerald Gazdar. 1996. DATR: A language for lexical knowledge representation. Com- putational Linguistics 22.2, 167-216.", |
|
"links": null |
|
}, |
|
"BIBREF6": { |
|
"ref_id": "b6", |
|
"title": "Encoding lexicalized tree adjoining grammars with a nonmonotonic inheritance hierarchy", |
|
"authors": [], |
|
"year": null, |
|
"venue": "", |
|
"volume": "", |
|
"issue": "", |
|
"pages": "", |
|
"other_ids": {}, |
|
"num": null, |
|
"urls": [], |
|
"raw_text": "Encoding lexicalized tree adjoining grammars with a nonmonotonic inheritance hierarchy. 33rd", |
|
"links": null |
|
} |
|
}, |
|
"ref_entries": {} |
|
} |
|
} |