Viterbi similarity adjustments