Entity Extraction and Linking
Identifying important entities in text and connecting each mention to the correct real-world or database entry.
Which Mercury did the sentence mention?
Imagine indexing the sentence “Mercury crossed the Sun during the observation.”
Extract the mention
Mark the text span “Mercury” as a named entity. This records where the mention occurs in the source.
Link the entity
The surrounding astronomy language favors the planet’s identifier in the knowledge base. In a chemistry note, the same spelling could point to the element instead.
Allow an unresolved mention
A fragment reading only “Mercury” may contain too little evidence to select one entity. Keeping the span and candidate identifiers allows later review. A premature link can silently mingle unrelated documents in search results.
Where It Fits In Modern AI
Large language models can improve extraction and disambiguation, but the core task still benefits from domain knowledge, structured references, and good evaluation. In strong systems, entity extraction and linking are not treated as a one-time labeling task. They are part of a larger pipeline that supports routing, retrieval, analytics, and reasoning.
Follow the idea
Natural language processing covers methods for recognizing mentions in text.
Entity resolution checks whether separate records refer to one entity.
Related concepts (6)
Related Yenra articles (13)
Source · spaCy’s EntityLinker documentation
Return to Entity Extraction and Linking in the A–Z glossary