The smallest grammar problem as constituents choice and minimal grammar parsing (Q1736491)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | The smallest grammar problem as constituents choice and minimal grammar parsing |
scientific article |
Statements
The smallest grammar problem as constituents choice and minimal grammar parsing (English)
0 references
26 March 2019
0 references
Summary: 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.
0 references
smallest grammar problem
0 references
hierarchical structure inference
0 references
optimal parsing
0 references
data discovery
0 references
0 references