Skip to content
Discussion options

You must be logged in to vote

You can train a model from partial NER annotation, but it's intended for segments of docs where there is no entity annotation at all rather than annotation for a subset of entity types.

You can set "missing" NER annotation for spans of a doc with Doc.set_ents(missing=spans) or use None as the IOB tag with the constructor Doc(ents=["O", None, "B-ENT", ...]).

I don't think it's going to work well in practice for your example case, since it would mean that your partially-annotated docs could only include the entity spans and not O, when the model really needs both to learn well.

The binary accept/reject annotation is used with incorrect_spans_key, but this is to indicate that a particular sp…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tokestermw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training Training and updating models feat / ner Feature: Named Entity Recognizer
2 participants