信息论报告分析.doc

信息论报告分析

实验一 字典编码 题目要求: Write a program that executes the Lempel Ziv algorithm .The input to the program can be the English alphabets .It should convert the alphabets into their ASCII code and then perform the compression routine. It should output the expression achieved .Using this program ,find out the compression achieved for the following strings of letters. (i) The Lempel Ziv can express the English text by about fifty five percent. (ii) The cat cannot sit on the canopy of the car. 算法设计: 1)建立初始字典,该字典含有ASCII值为0--255共256个字符,同时将新字典开始和结束的标志添加到字典。 2)对字符串进行编码,得到相应的码字。

文档评论(0)

1亿VIP精品文档

相关文档