In a pair a,b, a is the symbol and b is its probability (counts).
[1] J.G. Cleary and I.H. Witten. Data Compression using Adaptive Coding and Partial String Matching. IEEE Transactions on Communications, 4(32):396–402, 1984.