We use a log-linear probability model and maximum likelihood training-the parameter , then a loglinear probability model can be represented as denotes the feature vector of the corresponding block translation, and the partition function is: A disadvantage of this approach is that the summation over can be rather difficult to compute.
some sophisticated approximate inference methods are needed to carry out the computation.