So at the training stage, we should also consider onlyỸ by defining the normalization termZ as follows: The difference between Equation 5and Equation (2) is the set of label sequences considered.
while in linear-chain CRFs the correct label sequence competes with all possible label sequences for probability mass, for our task the correct label sequence should compete with only other valid label sequences.