The independence assumption from the first approximation can be relaxed without increasing the asymptotic time complexity by considering as independent only chunks of contiguous POS tags that are at least a certain number of tokens apart.
equations (1) and (2) below show the traditional method for computing the optimal outputŷ in a pipeline model, assuming a linear scoring function defined by w and φ.