Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Dictionary coder, Lempel–Ziv–Welch coding?

Também chamado de: dictionary coder · Lempel--Ziv--Welch coding

Definition 25.15 University Computer Science — Year 2 · Capítulo 25 — Text Algorithms and Compression

A dictionary coder replaces pieces of the input by their numbers in a dictionary of words. Lempel–Ziv–Welch coding (LZW) starts with the dictionary of the 256 single bytes, numbered 00 to 255255. It repeatedly reads the longest word ww of the dictionary that the input starts with, emits its number, and adds to the dictionary ww followed by the next byte of the input, under the next free number.

Ler no capítulo →