Text this: Combinatorial theory and statistical design