Pātuhitia tēnei: Generative theory and corpus studies