In a compression and decompression coding method, arrangement and computer
program product, a data signal containing a number of symbols is
converted into a series of codewords. A set of codewords is established
and the data signal is monitored to determine the most frequently
occurring symbols therein and/or sequences of symbols therein containing
at least two symbols. A codeword is then allocated to each of the most
frequently occurring of the symbols and/or symbol sequences. At least one
codeword is reserved for indicating uncompressed data. When compressing a
signal, the incoming symbols are first checked to determine if they
correspond to a codeword. If a symbol corresponds to more than one
codeword, further symbols are read until a symbol occurs which
corresponds to one codeword only. That codeword is then transmitted. Any
symbol that does not correspond to a codeword is supplemented with a
codeword indicative of no compression and is then transmitted.