nltk.HiddenMarkovModelTagger.tag¶
-
HiddenMarkovModelTagger.
tag
(unlabeled_sequence)[source]¶ Tags the sequence with the highest probability state sequence. This uses the best_path method to find the Viterbi path.
Returns: a labelled sequence of symbols Return type: list Parameters: unlabeled_sequence (list) – the sequence of unlabeled symbols