def setUp(self): base_dir = os.path.dirname(__file__) self.analyzer = SemanticTagger( os.path.join(base_dir, "./data/semantic_tag.lst"))