Introduction - If you have any usage issues, please Google them yourself
1) The source message symbols are arranged in the order in which they appear.
(2) The order of the source symbols is divided into two groups according to the probability value, so that the sum of the probability of the two groups is approximately the same, and each group is given a binary symbol 0 and 1 .
(3) The signal symbols of each group are subdivided into two groups, so that the sum of the probabilities of the two groups is approximately the same, and each group is given a binary symbol 0 and 1 .
(4) is repeated until there is only one source symbol in each group.
(5) The source code corresponds to the codeword.