We assign a word id for each   Table 2: Compression ratio for pointers word according to its reverse sorted order of frequency.
highly frequent words are assigned smaller values, which in turn occupies less space in our variable length coding.