Learning when to talk