Learning what to say and how to say it