nltk.tag.TnT.tagdata¶
-
TnT.
tagdata
(data)[source]¶ Tags each sentence in a list of sentences
:param data:list of list of words :type data: [[string,],] :return: list of list of (word, tag) tuples
Invokes tag(sent) function for each sentence compiles the results into a list of tagged sentences each tagged sentence is a list of (word, tag) tuples