arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.04047cs.ITmath.IT
收藏

为Unicode文本制作压缩算法

Making compression algorithms for Unicode text

Adam Gleave, Christian Steinruecken

摘要:

大多数在线内容都是用英语以外的语言编写的,并且最常见的编码是UTF-8,这是世界上占主导地位的Unicode字符编码。传统的压缩算法通常对单个字节进行操作。虽然这种方法对于单字节ASCII编码效果很好,但是对于UTF-8编码效果很差,因为UTF-8中的字符通常跨越多个字节。以前的研究集中在从头开始开发Unicode压缩器,这通常无法超越bzip 2等已建立的算法。我们开发了一种技术来修改基于字节的压缩器,直接对Unicode字符进行操作,并实现了应用这种技术的LZW和PPM的变体。我们发现,我们的方法大大提高了UTF-8语料库的压缩效率,我们的PPM变体优于最先进的PPMII压缩器。在ASCII和二进制文件上,我们的变体与原始未修改的压缩器执行类似。

英文摘要:

The majority of online content is written in languages other than English, and is most commonly encoded in UTF-8, the world's dominant Unicode character encoding. Traditional compression algorithms typically operate on individual bytes. While this approach works well for the single-byte ASCII encoding, it works poorly for UTF-8, where characters often span multiple bytes. Previous research has focused on developing Unicode compressors from scratch, which often failed to outperform established algorithms such as bzip2. We develop a technique to modify byte-based compressors to operate directly on Unicode characters, and implement variants of LZW and PPM that apply this technique. We find that our method substantially improves compression effectiveness on a UTF-8 corpus, with our PPM variant outperforming the state-of-the-art PPMII compressor. On ASCII and binary files, our variants perform similarly to the original unmodified compressors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑