Non-Parametric Bayesian Models For Structured Output Prediction