You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that an error has to be raised while forming tags only and not while giving input to gold corpus . It now throws error while feeding in data in goldcorpus. which I think a bad way.
Feature description
spacy.gold.biluo_tags_from_offsets
should throwError.E103
when the collection of entites passed in have overlapping tokens.For example,
Right now
tags
is being assigned as["O", "O", "U-LOC", "I-BRAND", "L-BRAND"]
, which violates the biluo tagging schema.The text was updated successfully, but these errors were encountered: