nltk.PerceptronTagger.tag

PerceptronTagger.tag(tokens)[source]

Tag tokenized sentences. :params tokens: list of word :type tokens: list(str)