Preprocessing text to improve compression ratios

H. Kruse, A. Mukherjee
{"title":"Preprocessing text to improve compression ratios","authors":"H. Kruse, A. Mukherjee","doi":"10.1109/DCC.1998.672295","DOIUrl":null,"url":null,"abstract":"Summary form only given. We discuss the use of a text preprocessing algorithm that can improve the compression ratio of standard data compression algorithms, in particular 'bzip2', when used on text files, by up to 20%. The text preprocessing algorithm uses a static dictionary of the English language that is kept separately from the compressed file. The method in which the dictionary is used by the algorithm to transform the text is based on earlier work of Holger Kruse, Amar Mukherjee (see Proc. Data Comp. Conf., IEEE Comp. Society Press, p.447, 1997). The idea is to replace each word in the input text by a character sequence which encodes the position of the original word in the dictionary. The character sequences used for this encoding are chosen carefully in such a way that specific back-end compression algorithms can often compress these sequences more easily than the original words, increasing the overall compression ratio for the input text. In addition to the original method, this paper describes a variation of the method specifically for the 'bzip2' data compression algorithm. The new method yields an improvements in compression ratio of up to 20% over bzip2. We also describe methods how our algorithm can be used on wide area networks such as the Internet, and in particular how dictionaries can automatically be synchronized and kept up to date in a distributed environment, by using the existing system of URLs, caching and document types, and applying it to dictionaries and text files.","PeriodicalId":191890,"journal":{"name":"Proceedings DCC '98 Data Compression Conference (Cat. No.98TB100225)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1998-03-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"46","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings DCC '98 Data Compression Conference (Cat. No.98TB100225)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DCC.1998.672295","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 46

Abstract

Summary form only given. We discuss the use of a text preprocessing algorithm that can improve the compression ratio of standard data compression algorithms, in particular 'bzip2', when used on text files, by up to 20%. The text preprocessing algorithm uses a static dictionary of the English language that is kept separately from the compressed file. The method in which the dictionary is used by the algorithm to transform the text is based on earlier work of Holger Kruse, Amar Mukherjee (see Proc. Data Comp. Conf., IEEE Comp. Society Press, p.447, 1997). The idea is to replace each word in the input text by a character sequence which encodes the position of the original word in the dictionary. The character sequences used for this encoding are chosen carefully in such a way that specific back-end compression algorithms can often compress these sequences more easily than the original words, increasing the overall compression ratio for the input text. In addition to the original method, this paper describes a variation of the method specifically for the 'bzip2' data compression algorithm. The new method yields an improvements in compression ratio of up to 20% over bzip2. We also describe methods how our algorithm can be used on wide area networks such as the Internet, and in particular how dictionaries can automatically be synchronized and kept up to date in a distributed environment, by using the existing system of URLs, caching and document types, and applying it to dictionaries and text files.
预处理文本以提高压缩比
只提供摘要形式。我们讨论了一种文本预处理算法的使用,该算法可以将标准数据压缩算法的压缩比提高20%,特别是“bzip2”,当用于文本文件时。文本预处理算法使用与压缩文件分开保存的英语静态字典。算法使用字典来转换文本的方法是基于Holger Kruse, Amar Mukherjee的早期工作(参见Proc. Data Comp. Conf., IEEE Comp. Society Press, p.447, 1997)。其思想是将输入文本中的每个单词替换为一个字符序列,该字符序列编码了原始单词在字典中的位置。用于这种编码的字符序列是经过仔细选择的,因此特定的后端压缩算法通常可以比压缩原始单词更容易地压缩这些序列,从而增加了输入文本的总体压缩比。除了原始方法之外,本文还描述了专门针对“bzip2”数据压缩算法的方法的变体。与bzip2相比,新方法的压缩比提高了20%。我们还描述了我们的算法如何在广域网(如Internet)上使用的方法,特别是如何通过使用现有的url、缓存和文档类型系统,并将其应用于字典和文本文件,在分布式环境中自动同步和保持最新的字典。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信