viterbi translator for initialisation