Text this: Generative theory and corpus studies