Compacting the Penn Treebank Grammar
Alexander Krotov, Mark Hepple, Robert Gaizauskas, Yorick Wilks
Abstract
Treebanks, such as the Penn Treebank (PTB), offer a simple approach to obtaining a broad coverage grammar: one can simply read the grammar off the parse trees in the treebank. While such a grammar is easy to obtain, a square-root rate of growth of the rule set with corpus size suggests that the derived grammar is far from complete and that much more treebanked text would be required to obtain a complete grammar, if one exists at some limit. However, we offer an alternative explanation in terms of the underspecification of structures within the treebank. This hypothesis is explored by applying an algorithm to compact the derived grammar by eliminating redundant rules -- rules whose right hand sides can be parsed by other rules. The size of the resulting compacted grammar, which is significantly less than that of the full treebank grammar, is shown to approach a limit. However, such a compacted grammar does not yield very good performance figures. A version of the compaction algorithm taking rule probabilities into account is proposed, which is argued to be more linguistically motivated. Combined with simple thresholding, this method can be used to give a 58% reduction in grammar size without significant change in parsing performance, and can produce a 69% reduction with some gain in recall, but a loss in precision.
Create a lesson
Metadata
- Journal
- In Proceedings of COLING-98 (Montreal), pages 699-703
- Comments
- 5 pages, 2 figures
Related papers
Compact non-left-recursive grammars using the selective left-corner transform and factoring
Shared title terminologycs.CLMark Johnson, Brian Roark
From Grammar Deltas to Token Masks: Incremental Constrained Decoding under Runtime Grammar Evolution
Shared title terminologycs.CLHantao Hua, Jiming Su, Yonggang Che et al.
Provenance Loss and Repair in Multilingual Compaction
Shared title terminologycs.CLIan Miao, Fangrui Zhu, Bowen Jiang
ModernELECTRA: Replaced-Token Detection with Boundary-Window Reconstruction for Compact Encoders that Classify and Embed
Shared title terminologycs.CLMykhailo Shtopko, Ihor Stepanov, Dmytro Vodianytskyi et al.
Interfacing Constraint-Based Grammars and Generation Algorithms
Shared title terminologycs.CLStephan Busemann
Compiling Language Models from a Linguistically Motivated Unification Grammar
Shared title terminologycs.CLManny Rayner, Beth Ann Hockey, Frankie James et al.