Pātuhitia tēnei: Text, discourse and corpora: theory and analysis