def load_or_create_tag_dict(self):
        key = '%s_tag_dict' % self.task
        filename = self.md.paths[key]
        if os.path.isfile(filename):
            self.load_tag_dict(filename)
            return
        
        tags = {tag for sent in self.sentences for _, tag in sent}
        self.tag_dict = {tag: code for code, tag in enumerate(tags)}
        self.save_tag_dict(filename)
Play the given media item.
dataset/ETHPy150Open erickrf/nlpnet/nlpnet/reader.py/TaggerReader.load_or_create_tag_dict--crossover with--dataset/ETHPy150Open disqus/playa/playa/lib/vlc.py/MediaListPlayer.play_item