Understanding sentence classification