renames viterbi functions