Text coding

Juan Francisco Rodríguez Herrera
Vicente González Ruiz

July 10, 2017

Contents

1 Why (text) compress?
2 Sources of redundancy
3 Symbols, runs, strings, code-words and code-streams
4 Main techniques
5 An example

1 Why (text) compress?

2 Sources of redundancy

3 Symbols, runs, strings, code-words and code-streams

4 Main techniques

  1. A summary.
  2. Run-length encoding.
  3. String encoding.
  4. Symbol encoding.

5 An example

  1. gzip/bzip2.