Taking the mode of the phoneme and word sequence.

Phonemes and words sequence had the same shape as frames sequence. We usually want one word or phoneme label per frame, I take the mode for that.