Research Article
n-Gram-Based Text Compression
Table 7
All steps and the results of the decompression phase.
| Step | First byte | Dict. nbm bits to calculate index | Index value | Decoder output sequence |
| 1 | 01100000 | 011 | 3 | 00000000000000000000000000001 | 1 | Nén dữ liệu | 2 | 00100000 | 001 | 1 | 0000000000001 | 1 | nhằm | 3 | 10100000 | 101 | 3 | 00000000000000000000000000001 | 1 | giảm kích thước dữ liệu | 4 | 10100000 | 101 | 3 | 00000000000000000000000000010 | 2 | để tăng tốc độ truyền | 5 | 01000000 | 010 | 3 | 00000000000000000000000000001 | 1 | cũng như | 6 | 10000000 | 100 | 3 | 00000000000000000000000000001 | 1 | tiết kiệm không gian | 7 | 00100000 | 001 | 1 | 0000000000010 | 2 | lưu | 8 | 00100000 | 001 | 1 | 0000000000011 | 3 | trữ |
|
|