Parsing with Treebank Grammars: Empirical Bounds, Theoretical Models, and the Structure of the Penn Treebank
35221Authors
nan
Abstract
This paper presents empirical studies and closely corresponding theoretical models of the performance of a chart parser exhaus- tively parsing the Penn Treebank with the Treebank’s own CFG grammar. We show how performance is dramatically affected by rule representation and tree transformations, but little by top-down vs. bottom-up strate- gies. We discuss grammatical saturation, in- cluding analysis of the strongly connected components of the phrasal nonterminals in the Treebank, and model how, as sentence length increases, the effective grammar rule size increases as regions of the grammar are unlocked, yielding super-cubic observed time behavior in some configurations. 1
Keywords
Full Content
Parsing with Treebank Grammars: Empirical Bounds, Theoretical Models, and the Structure of the Penn Treebank Dan Klein and Christopher D. Manning Computer Science Department Stanford University Stanford, CA 94305-9040 � klein, manning � @cs.stanford.edu Abstract This paper presents empirical studies and closely corresponding theoretical models of the performance of a chart parser exhaus- tively parsing the Penn Treebank with the Treebank’s own CFG grammar. We show how performance is dramatically affected by rule representation and tree transformations, but little by top-down vs. bottom-up strate- gies. We discuss grammatical saturation, in- cluding analysis of the strongly connected components of the phrasal nonterminals in the Treebank, and model how, as sentence length increases, the effective grammar rule size increases as regions of the grammar are unlocked, yielding super-cubic observed time behavior in some configurations. 1 Introduction This paper originated from examining the empirical performance of an exhaustive active chart parser us- ing an untransformed treebank grammar over the Penn Treebank. Our initial experiments yielded the sur- prising result that for many configurations empirical parsing speed was super-cubic in the sentence length. This led us to look more closely at the structure of the treebank grammar. The resulting analysis builds on the presentation of Charniak (1996), but extends it by elucidating the structure of non-terminal inter- relationships in the Penn Treebank grammar. On the basis of these studies, we build simple theoretical models which closely predict observed parser perfor- mance, and, in particular, explain the originally ob- served super-cubic behavior. We used treebank grammars induced directly from the local trees of the entire WSJ section of the Penn Treebank (Marcus et al., 1993) (release 3). For each length and parameter setting, 25 sentences evenly dis- tributed through the treebank were parsed. Since we were parsing sentences from among those from which our grammar was derived, coverage was never an is- sue. Every sentence parsed had at least one parse – the parse with which it was originally observed.1 The sentences were parsed using an implementa- tion of the probabilistic chart-parsing algorithm pre- sented in (Klein and Manning, 2001). In that paper, we present a theoretical analysis showing an ���� � worst-case time bound for exhaustively parsing arbi- trary context-free grammars. In what follows, we do not make use of the probabilistic aspects of the gram- mar or parser. 2 Parameters The parameters we varied were: Tree Transforms: NOTRANSFORM, NOEMPTIES, NOUNARIESHIGH, and NOUNARIESLOW. Grammar Rule Encodings: LIST, TRIE, or MIN Rule Introduction: TOPDOWN or BOTTOMUP The default settings are shown above in bold face. We do not discuss all possible combinations of these settings. Rather, we take the bottom-up parser using an untransformed grammar with trie rule encodings to be the basic form of the parser. Except where noted, we will discuss how each factor affects this baseline, as most of the effects are orthogonal. When we name a setting, any omitted parameters are assumed to be the defaults. 2.1 Tree Transforms In all cases, the grammar was directly induced from (transformed) Penn treebank …
Content truncated to 500 words
Labeled Text
This paper presents empirical studies and closely corresponding theoretical models of the performance of a chart parser exhaustively parsing the Penn Treebank with the Treebank’s own CFG grammar. We show how performance is dramatically affected by rule representation and tree transformations, but little by top-down vs. bottom-up strategies. We discuss grammatical saturation, including analysis of the strongly connected components of the phrasal nonterminals in the Treebank, and model how, as sentence length increases, the effective grammar rule size increases as regions of the grammar are unlocked, yielding super-cubic observed time behavior in some configurations. 1
Publication Details
- Paper ID:
- 35221
- Year:
- 2001
- Publication:
- TIPSTER
- Publication Type:
- conf
- DOI:
- nan