Nonparametric and Parametric Codes, Gap-Compression




CS267

Chris Pollett

Oct. 31, 2012

Outline

Finishing Up General Text Compression

Compressing Posting Lists: `Delta`-values

Nonparametric Gap Compression

Parametric Gap Compression

HW Problem 6.1

Huffman Tree Initial Trees {aa} 0.64 {ab} 0.16 {ba} 0.16 {bb} 0.04 Combining those of least probability... {aa} 0.64 {ab} 0.16 {ba} 0.16 {bb} 0.04 {ba, bb} 0.20 Combining in this way two more times, gives the final tree... 0 1 {ba} 0.16 {bb} 0.04 {ba, bb} 0.20 0 1 {ab} 0.16 {ab, ba, bb} 0.36 0 1 {aa} 0.64 {aa, ab, ba, bb} 1 0 1

Geometric Distributions and Posting Lists

Golomb/Rice Codes

Finding the Modulus

Byte-Aligned Codes