Pātuhitia tēnei: Fundamentals of speech recognition