试图设置矛盾的文档:'(4708,4717,'公司在')' (4681,4717,')'
[在此处输入图像描述] [1]
尝试设置冲突的文档。令牌只能是一个实体的一部分,因此请确保您设置的实体不要重叠。要与重叠的实体一起工作,请考虑使用doc.spans。
[enter image description here][1]
Trying to set conflicting doc.ents: '(4708, 4717, 'Companies worked at')' and '(4681, 4717, 'Degree')'. A token can only be part of one entity, so make sure the entities you're setting don't overlap. To work with overlapping entities, consider using doc.spans instead.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实体识别器不支持重叠的实体。
要解决此问题,您有几个选择:
The EntityRecognizer does not support overlapping entities.
To solve this issue, you have a couple of choices: