''' 将大语言模型生成的尾实体分割为list ''' def tailSegmentation(tail): if '|' in tail: skills = tail.split('|') for skill in skills: if skill == '': skills.remove(skill) return skills else: return False