Talk:Grammar-based code
![]() | Computing Stub‑class ![]() | ||||||||||||
|
I will update the article on grammar-based coding from time to time -- Da-ke.
Article needs to be updated with references about Structured Grammar Based Codes. Amanbhatia 05:34, 11 August 2008 (UTC)
The problem of constructing the "smallest grammar" isn't just intractable... for understanding data compression with entropy coding, it's the wrong problem. The compression-optimal SLG is generally not irreducible, because you may have patterns that repeat infrequently but are made of very frequently-repeating constituents whose entropy codes are therefore short. In such cases, it's worth "spelling out" each repeat in terms of the (short codes for) the constituents, rather than paying the cost of encoding the repeating pattern as a separate rule. See Conrad and Wilson (GLZA) on this.