Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-06T21:10:49.407Z Has data issue: false hasContentIssue false

A new PPM variant for Chinese text compression

Published online by Cambridge University Press:  01 July 2008

PEILIANG WU
Affiliation:
School of Informatics, University of Wales Bangor, Dean Street, Bangor, Gwynedd LL57 1UT, UK email: perry@informatics.bangor.ac.uk, wjt@informatics.bangor.ac.uk
W. J. TEAHAN
Affiliation:
School of Informatics, University of Wales Bangor, Dean Street, Bangor, Gwynedd LL57 1UT, UK email: perry@informatics.bangor.ac.uk, wjt@informatics.bangor.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Large alphabet languages such as Chinese are very different from English, and therefore present different problems for text compression. In this article, we first examine the characteristics of Chinese, then we introduce a new variant of the Prediction by Partial Match (PPM) model especially for Chinese characters. Unlike the traditional PPM coding schemes, which encodes an escape probability if a novel character occurs in the context, the new coding scheme directly encodes the order first before encoding a symbol, without having to output an escape probability. This scheme achieves excellent compression rates in comparison with other schemes on a variety of Chinese text files.

Information

Type
Papers
Copyright
Copyright © Cambridge University Press 2007
Figure 0

Fig. 1. Chinese GB2312-80 coding table.

Figure 1

Table 1. PPMC model after processing the string

Figure 2

Table 2. PPMO model when processing the string

Figure 3

Table 3. PPMO model after processing the string

Figure 4

Fig. 2. Sample output of the order stream for encoding the Chinese Bible.

Figure 5

Table 4. Chinese text compression for Small Bangor Mandarin Chinese Corpus using different compressors (the best result for each file is shown in bold)

Figure 6

Table 5. Chinese text compression for Large Bangor Mandarin Chinese Corpus using different compressors (best result is shown in bold)

Figure 7

Table 6. Chinese text compression for selected files from the Bangor Mandarin Chinese Corpus using different orders for the order stream

Figure 8

Table 7. Execution times for PPMD, PPMII, and PPMO encode and decode by using exclusions and no exclusion

Figure 9

Fig. 3. Size of the output compressed file for PPMO, PPMII, and PPMD as the text grows.

Figure 10

Table 8. Percentage of the symbol and order stream in the PPMO output compressed file

Figure 11

Fig. 4. The size of the symbol and order stream in the PPMO output compressed file asthe text grows.