def tagdata(self, data):
        res = []
        for sent in data:
            res1 = self.tag(sent)
            res.append(res1)
        return res
Tags each sentence in a list of sentences
dataset/ETHPy150Open nltk/nltk/nltk/tag/tnt.py/TnT.tagdata