Large Margin Methods for Structured Output Prediction.