TypeError: Argument 'other' has incorrect type (expected spacy.tokens.span.Span, got str)

后端 未结 0 1485
生来不讨喜
生来不讨喜 2021-01-19 17:57

I defined a set of entities to remove them:

Allents=[ent for ent in df.ents if not ent.label_ in [str(\'ORG\'), str(\'PERSON\')] and ent.text not in [str(\'tech

相关标签:
回答
  • 消灭零回复
提交回复
热议问题