https://9dok.net/document/yr3jmo88-learning-structured-predictors-bandit-feedback-interactive-nlp.html