Entity-Recognition-In-Resumes-SpaCy icon indicating copy to clipboard operation
Entity-Recognition-In-Resumes-SpaCy copied to clipboard

Spcay can't train overlaped entity

Open sandeep-adireddi opened this issue 5 years ago • 7 comments

ValueError: [E103] Trying to set conflicting doc.ents: '(549, 582, 'Designation')' and '(539, 581, 'Designation')'. A token can only be part of one entity, so make sure the entities you're setting don't overlap.

sandeep-adireddi avatar Oct 24 '19 03:10 sandeep-adireddi

ValueError: [E103] Trying to set conflicting doc.ents: '(549, 582, 'Designation')' and '(539, 581, 'Designation')'. A token can only be part of one entity, so make sure the entities you're setting don't overlap.

I was also facing the same issue. Did you able to fix it.

JaganRajendran avatar Oct 25 '19 18:10 JaganRajendran

The code is not compatible with the latest version of spacy I was able to run it using Spacy version ==2.0.12

shyamnath avatar Nov 04 '19 10:11 shyamnath

The code is not compatible with the latest version of spacy I was able to run it using Spacy version ==2.0.12

What is your environment for installing spacy 2.0.12? Mine is Mac OS with Anaconda python 3 and I'm not able to install that version of spacy on my env.

varshini24 avatar Nov 06 '19 15:11 varshini24

The code is not compatible with the latest version of spacy I was able to run it using Spacy version ==2.0.12

What is your environment for installing spacy 2.0.12? Mine is Mac OS with Anaconda python 3 and I'm not able to install that version of spacy on my env.

Did you have Microsoft C++ build tools installed? And could screenshot where you getting error.

Abhimanyu100 avatar Nov 11 '19 09:11 Abhimanyu100

Thoroughly check the starting and ending because the second annotation is overlapping with the starting and ending of the first. Hence the model got confused like using this annotation you are trying to show the model an enity inside an entity which is not allowed.

Sooraj577 avatar Jul 20 '20 17:07 Sooraj577

Is it resolved I am facing issue over here

gaurav0535 avatar Aug 22 '20 17:08 gaurav0535

Is it resolved I am facing issue over Which tool is used for annotation?

Sooraj577 avatar Aug 23 '20 04:08 Sooraj577