The Smallest Grammar Problem as Constituents Choice and Minimal Grammar Parsing - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue Algorithms Année : 2011

The Smallest Grammar Problem as Constituents Choice and Minimal Grammar Parsing

Résumé

The smallest grammar problem--namely, finding a smallest context-free grammar that generates exactly one sequence--is of practical and theoretical importance in fields such as Kolmogorov complexity, data compression and pattern discovery. We propose a new perspective on this problem by splitting it into two tasks: (1) choosing which words will be the constituents of the grammar and (2) searching for the smallest grammar given this set of constituents. We show how to solve the second task in polynomial time parsing longer constituent with smaller ones. We propose new algorithms based on classical practical algorithms that use this optimization to find small grammars. Our algorithms consistently find smaller grammars on a classical benchmark reducing the size in 10% in some cases. Moreover, our formulation allows us to define interesting bounds on the number of small grammars and to empirically compare different grammars of small size.
Fichier principal
Vignette du fichier
algorithms-04-00262-v2.pdf (536.27 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

inria-00638445 , version 1 (04-11-2011)

Identifiants

Citer

Rafael Carrascosa, François Coste, Matthias Gallé, Gabriel Infante-Lopez. The Smallest Grammar Problem as Constituents Choice and Minimal Grammar Parsing. Algorithms, 2011, 4, pp.262-284. ⟨10.3390/a4040262⟩. ⟨inria-00638445⟩
220 Consultations
253 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More