def __init__(self):
self.graph = Graph()
self.priors = semantic_priors()
# these are really inefficient (ignore it)
self.lemma_hash = defaultdict(lambda: [])
self.name_hash = defaultdict(lambda: [])
self.pos_hash = defaultdict(lambda: [])
评论列表
文章目录