diff --git a/spacy/pipeline/pipes.pyx b/spacy/pipeline/pipes.pyx index 283192bae..f57ea59d2 100644 --- a/spacy/pipeline/pipes.pyx +++ b/spacy/pipeline/pipes.pyx @@ -1142,7 +1142,7 @@ cdef class EntityRecognizer(Parser): @component( "entity_linker", - requires=["doc.ents", "token.ent_iob", "token.ent_type"], + requires=["doc.ents", "doc.sents", "token.ent_iob", "token.ent_type"], assigns=["token.ent_kb_id"] ) class EntityLinker(Pipe):