Alphabetic codes revisited

  • Authors:
  • R. W. Yeung

  • Affiliations:
  • AT&T Bell Lab., Holmdel, NJ, USA

  • Venue:
  • IEEE Transactions on Information Theory
  • Year:
  • 1991

Quantified Score

Hi-index 754.84

Visualization

Abstract

An alphabetic code for an ordered probability distribution (Pk) is a prefix code in which Pk is assigned to the kth codeword of the coding tree in left-to-right order. This class of codes is applied to binary test problems. Several earlier results on alphabetic codes are unified and enhanced. The characteristic inequality for alphabetic codes that is analogous to the Kraft inequality for prefix codes is also derived. It is shown that if (Pk) is in ascending or descending order, Lmin, the expected length of an optimal alphabetic code, is the same as that of a Huffman code for the unordered distribution (Pk). An enhancement of Gilbert and Moore's (1959) merging property of all optimal alphabetic code is proved. Two lower bounds and a new upper bound on the expected length of an optimal alphabetic code are also proven, and a simple method is proposed for constructing good alphabetic codes when optimality is critical.