hello. would u please send to me the flow chart of this code to make me more understand. or anything document that explain the process of this code please..
syukri.1410@gmail.com
foward_viterbi.m contains a bug not in the original python version. If the output is longer than 3 states then this line throws an error. The 2nd index to emit_p should be the position of the output token in the vector of possible output states, not the index into the observation vector.
p = emit_p(source_state,output) * trans_p(source_state,next_state);