SMS dit: Entropy-based latent structured output prediction