Pātuhitia tēnei: The mathematics of language