信息论报告分析
实验一 字典编码
题目要求:
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)对字符串进行编码,得到相应的码字。
您可能关注的文档
最近下载
- 第七章海洋中的混响资料.doc VIP
- 2025年长沙环境保护职业技术学院辅导员招聘考试笔试模拟试题及答案解析.docx VIP
- 《安规》题库及答案.pdf VIP
- GE巴纳OXYIQ氧量分析仪用户使用手册.PDF
- 三级减速器设计_毕业设计论文.doc VIP
- 生命周期评价方法(life cycle assessment,LCA).pdf
- 2025 八年级上册新文化运动与思想解放潮流课件.pptx
- 农药的使用(全套105页PPT课件).pptx VIP
- 2025版中华民族共同体概论课件第三讲文明初现与中华民族起源(史前时期)第四讲天下秩序与华夏共同体演进(夏商周时期).pptx VIP
- 人教版(2024)新教材七年级数学下册第9章平面直角坐标系中的面积问题【八大题型】(含答案).docx VIP
原创力文档

文档评论(0)