structured learning methods