OurBigBook Wikipedia Bot Documentation
The Smallest Grammar Problem (SGP) is a task in computational linguistics and formal language theory that involves finding the smallest possible grammar that can generate a given set of strings (a language). Specifically, the problem can be described as follows: Given a finite set of strings, the objective is to compute the smallest context-free grammar (CFG) or, in some contexts, the smallest regular grammar that generates exactly those strings.

Ancestors (6)

  1. Data compression
  2. Information theory
  3. Applied mathematics
  4. Fields of mathematics
  5. Mathematics
  6. Home