域特定的层次霍夫曼编码
Domain Specific Hierarchical Huffman Encoding
摘要:
在本文中,我们重温了经典的领域特定文本的数据压缩问题。众所周知,经典的霍夫曼算法对于前缀编码是最优的,并且压缩是在字符级进行的。由于许多数据传输是领域特定的,例如,下载课堂讲稿、网络博客等,很自然地想到更大维度(即字级而不是字符级)的数据压缩。我们的框架采用了两级压缩方案,其中第一级使用经典的频繁模式算法识别文本中的频繁模式。识别出的模式被替换为特殊字符串,并且为了获得更好的压缩比,特殊字符串的长度确保小于对应模式的长度。经过这种变换后,对得到的文本,我们采用经典的哈夫曼数据压缩算法。简而言之,在第一级中,压缩是在单词级进行的,而在第二级中,压缩是在字符级进行的。有趣的是,这种针对特定领域文本的两级压缩技术优于经典的霍夫曼技术。为了支持我们的主张,我们已经提出了理论和模拟结果的特定领域的文本。
英文摘要:
In this paper, we revisit the classical data compression problem for domain specific texts. It is well-known that classical Huffman algorithm is optimal with respect to prefix encoding and the compression is done at character level. Since many data transfer are domain specific, for example, downloading of lecture notes, web-blogs, etc., it is natural to think of data compression in larger dimensions (i.e. word level rather than character level). Our framework employs a two-level compression scheme in which the first level identifies frequent patterns in the text using classical frequent pattern algorithms. The identified patterns are replaced with special strings and to acheive a better compression ratio the length of a special string is ensured to be shorter than the length of the corresponding pattern. After this transformation, on the resultant text, we employ classical Huffman data compression algorithm. In short, in the first level compression is done at word level and in the second level it is at character level. Interestingly, this two level compression technique for domain specific text outperforms classical Huffman technique. To support our claim, we have presented both theoretical and simulation results for domain specific texts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。