Automatic Parameter Tying: A New Approach for Regularized Parameter Learning in Markov Networks