Added text functions for comparing/counting words.