SEAC-6 J.Teuhola 2014 153
- 6. Dictionary models for text compression
6. Dictionary models for text compression Previous techniques: - - PowerPoint PPT Presentation
6. Dictionary models for text compression Previous techniques: Predictive, statistical One symbol at a time Dictionary coding: Substrings replaced by pointers to a dictionary Pointers are coded (often fixed-length codes)
SEAC-6 J.Teuhola 2014 153
SEAC-6 J.Teuhola 2014 154
SEAC-6 J.Teuhola 2014 155
SEAC-6 J.Teuhola 2014 156
SEAC-6 J.Teuhola 2014 157
SEAC-6 J.Teuhola 2014 158
SEAC-6 J.Teuhola 2014 159
SEAC-6 J.Teuhola 2014 160
SEAC-6 J.Teuhola 2014 161
SEAC-6 J.Teuhola 2014 162
SEAC-6 J.Teuhola 2014 163
SEAC-6 J.Teuhola 2014 164
SEAC-6 J.Teuhola 2014 165
SEAC-6 J.Teuhola 2014 166
SEAC-6 J.Teuhola 2014 167
SEAC-6 J.Teuhola 2014 168
SEAC-6 J.Teuhola 2014 169
Lookahead buffer Encoder output Dictionary index Dictionary entry wabba-wabba-... <0, w> 1 w abba-wabba-w... <0, a> 2 a bba-wabba-wa... <0, b> 3 b ba-wabba-wab... <3, a> 4 ba
<0, -> 5
<1, a> 6 wa bba-wabba-wa... <3, b> 7 bb a-wabba-wabb... <2, -> 8 a- wabba-wabba-... <6, b> 9 wab ba-wabba-woo... <4, -> 10 ba- wabba-woo-wo... <9, b> 11 wabb a-woo-woo-wo… <8, w> 12 a-w
<0, o> 13
<13, -> 14
<1, o> 15 wo
<14, w> 16
17
SEAC-6 J.Teuhola 2014 170
SEAC-6 J.Teuhola 2014 171
SEAC-6 J.Teuhola 2014 172
SEAC-6 J.Teuhola 2014 173
SEAC-6 J.Teuhola 2014 174
SEAC-6 J.Teuhola 2014 175
SEAC-6 J.Teuhola 2014 176
SEAC-6 J.Teuhola 2014 177
SEAC-6 J.Teuhola 2014 178
SEAC-6 J.Teuhola 2014 179
SEAC-6 J.Teuhola 2014 180
SEAC-6 J.Teuhola 2014 181
[Widely used test data; the results are borrowed from the literature]