Corpus data structure