A word-based approach for diacritic restoration in Māori