@@ -156,7 +156,6 @@ Basically speaking, the maximum level of compression that can be obtained with t
1. Evaluate the compression ratio by considering that each character of the text files is encoded on 7 bits. Thus the compression rate is given by :
$$\frac{7\times \textrm{number of characters in the initial text file}}{\textrm{number of characters in the compressed file}}$$
4. How to improve the level of compression ? The occurrence frequencies of each character only capture the redundancy of the characters, but not the one between consecutive characters... So, you can do the same exercice by analyzing the occurence frequencies of all 2-letter (or more) words. This should allow you to capture more redundancy of the text and then to improve the compression ratio.
5. If you have finish, compare the Huffman performance with those of other compression algorithms [_Arithmetic Coding_](src/arithmetic_coding.py) and [_Lempel-Ziv_](src/lempel_ziv.py).
## Compress the files et [upload them to the LMS](https://lms.isae.fr/mod/assign/view.php?id=107859) [[toc](#table-of-content)]