Australasian Computer Science Conference (ACSC '01)
Length-Restricted Coding Using Modified Probability Distributions
Gold Coast, Queensland, Australia
January 29-February 02
ISBN: 0-7695-0963-0
The use of data compression has long been a central part of text databases and fast communication protocols. In many contexts, effective compression techniques use a minimum redundancy prefix code.However, if the length of a codeword exceeds the machine word size, the decoding routines must be altered and lose efficiency. To avoid these complications it is desirable to produce a prefix code with the constraint that no codeword should be longer than some constant. Larmore and Hirschberg's Package-Merge Algorithm is a well known method for producing minimum-redundancy length-restricted prefix codes, although other methods exist. In this paper we present an alternative method for length-restricted coding which calculates an approximate code, rather than an optimal code, but which can be implemented to operate in linear time.This approach also has applications to non length-restricted coding.