dictionarycodering
Dictionary coding, or dictionary-based coding, is a family of lossless data compression methods in which a dictionary of phrases is constructed from the input data. The encoder replaces occurrences of phrases by references to the dictionary, typically using a code that identifies a dictionary entry and may include a following symbol. The dictionary is built progressively as data are processed, and the decoder reconstructs the original stream by following the same dictionary updates in the same order. The approach exploits redundancy by reusing previously seen sequences.
The most influential forms are LZ77, LZ78, and LZW, named after their developers. LZ77 uses a sliding
Dictionary coding is widely used in practical compression systems. It underpins many schemes found in software