Here we present a corpus of repetitive texts. These texts are categorized
according to the source they come from into the following: Artificial Texts, PseudoReal Texts, Real Texts, and and Logs. The main goal of this collection is to serve as a standard testbed for benchmarking algorithms oriented to repetitive texts.
Download
The files are compresed using p7zip and gzip for saving bandwidth.
Statistics
To understand the characteristics of the texts present in the Repetitive Corpus, we
provide below some statistics about them. The statistics presented are the following:
 Alphabet Size: We give the alphabet size and the inverse probability of matching (IPM), which is the inverse of the probability that two characters chosen at
random match. IPM is a measure of the effective alphabet size. On a uniformly
distributed text, it is precisely the alphabet size.
 Compression Ratio: Since we are dealing with compressed indexes it is useful
to have an idea of the compressibility of the texts using generalpurpose
compressors. The following compressors are used: gzip gives an idea of compressibility
via dictionaries (an LZ77 parsing with limited window size); bzip2
gives an idea of blocksorting compressibility; ppmdi gives an idea of partialmatchbased compressors (related
to the kth order entropy); p7zip gives an idea of LZ77 compression with virtually unlimited window; and RePair gives an idea of grammarbased compression.
All compressors were run with the highest compression options.
 Empirical Entropy: Here we give the empirical entropy Hk of the text with
k ranging from 0 to 8, measured as compression ratio. We also show, in parentheses, the number of contexts which
count how many different substrings of a given size does T have.
 Repetitiveness measures: We consider 5 repetitiveness measures.
delta is the maximum of (number of substrings of length k) / k, for every possible k, of the text.
z is the number of phrases in the LempelZiv parsing of the text.
v is the number of phrases in the smallest lexicographic parsing of the text.
r is the number of runs of the BWT of the text.
g is the size of the smallest contextfreegrammar generating only the text (an approximation via RePair).
The compression ratios are given as the percentage of the compressed
file size over the uncompressed file size, assuming the original file uses one byte per
character.
The compression statistics of all texts, as well as information of the origin of them, can be viewed in the following links:
Indexes
The following indexes are specifically oriented to repetitive texts.
Send Mail to Us  © P. Ferragina and G. Navarro, Last update: October, 2010.
