Canterbury corpus


The Canterbury corpus is a collection of files intended for use as a benchmark for testing lossless data compression algorithms. It was created in 1997 at the University of Canterbury, New Zealand and designed to replace the Calgary corpus. The files were selected based on their ability to provide representative performance results.

Contents

In its most commonly used form, the corpus consists of 11 files, selected as "average" documents from 11 classes of documents, totaling 2,810,784 bytes as follows.
Size File nameDescription
152,089alice29.txtEnglish text
125,179asyoulik.txtShakespeare
24,603cp.htmlHTML source
11,150fields.cC source
3,721grammar.lspLISP source
1,029,744kennedy.xlsExcel spreadsheet
426,754lcet10.txtTechnical writing
481,861plrabn12.txtPoetry
513,216ptt5CCITT test set
38,240sumSPARC executable
4,227xargs.1GNU manual page

The University of Canterbury also offers the following corpora. Additional files may be added, so results should be only reported for individual files.