set up infrastructure for comparisons between texts