Understanding the purpose of speech