Viterbi Algorithms And Em Training In Nlp Projects