# Łączenie wzmianek z bazą wiedzy (entity linking)

EN: **Entity linking** · id `entitylinking` · aliases: entity linking, entity disambiguation, named entity disambiguation, NED, linkowanie encji

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Język, obraz, audio](https://aiatlasgraph.com/t/modalities.md) › [Język naturalny](https://aiatlasgraph.com/t/nlp.md) › [Wydobywanie informacji z tekstu (nazwy własne, relacje)](https://aiatlasgraph.com/t/infoextraction.md) › Łączenie wzmianek z bazą wiedzy (entity linking)

## Description

- PL: Przypisanie wzmiance w tekście identyfikatora encji w bazie wiedzy, z ujednoznacznieniem na podstawie kontekstu.
- EN: Assigning a text mention the identifier of a knowledge-base entity, disambiguated by context.

## In one sentence

- PL: Program rozstrzyga, o którego konkretnie człowieka, miasto lub firmę chodzi w tekście, i podpina właściwy wpis z encyklopedii.
- EN: Software decides which exact person, city or company a text means and attaches the right encyclopedia entry.

## Problem it solves

- PL: Te same nazwy noszą różne osoby i miejsca, więc wyszukiwanie po samym słowie miesza zupełnie różne rzeczy.
- EN: Different people and places share names, so searching by the word alone mixes up unrelated things.

## What it does

- PL: Jak bibliotekarz, który po kontekście poznaje, czy chodzi o miasto, klub sportowy czy statek o tej samej nazwie, i podaje właściwą sygnaturę.
- EN: Like a librarian who tells from context whether a name means a city, a club or a ship and hands over the right catalogue number.

## Everyday example

- PL: Czytasz artykuł, a przy nazwisku pojawia się dymek z właściwą osobą, nie z jej imiennikiem.
- EN: You read an article and a pop-up next to a name shows the right person, not a namesake.

## This concerns you if you…

- PL: łączysz dokumenty z bazą klientów lub produktów
- PL: budujesz graf wiedzy z tekstów
- PL: musisz odróżniać osoby o tych samych nazwiskach
- EN: match documents to a customer or product database
- EN: build a knowledge graph from texts
- EN: must tell apart people with the same name

## Keywords

named entity disambiguation · Wikidata · candidate generation · entity embeddings · BLINK · REL · zero-shot entity linking · cross-lingual entity linking

## How it works

- PL: System generuje kandydatów dla wzmianki (słownik aliasów lub wyszukiwanie gęste), koduje kontekst wzmianki i opisy kandydatów, a potem je szereguje. Warianty łączą wykrywanie wzmianek z ujednoznacznianiem lub rozstrzygają wszystkie wzmianki dokumentu wspólnie.
- EN: The system generates candidates for a mention (alias dictionary or dense retrieval), encodes the mention context and candidate descriptions, then ranks them. Variants join mention detection with disambiguation or resolve all mentions in a document jointly.

## Limits

- PL: Encje spoza bazy wiedzy trzeba rozpoznać jako nieznane, co bywa trudne. Jakość zależy od pokrycia i aktualności bazy; rzadkie encje i krótkie konteksty dają pomyłki.
- EN: Entities missing from the knowledge base must be flagged as unknown, which is hard. Quality depends on the base's coverage and freshness; rare entities and short contexts cause errors.

## Key terms

- PL: **candidate generation**: Wstępny wybór możliwych wpisów dla danej wzmianki.
- PL: **NIL**: Oznaczenie wzmianki, której nie ma w bazie wiedzy.
- PL: **bi-encoder**: Dwa enkodery porównujące wzmiankę i wpis przez podobieństwo wektorów.
- EN: **candidate generation**: Shortlisting possible entries for a given mention.
- EN: **NIL**: A label for a mention absent from the knowledge base.
- EN: **bi-encoder**: Two encoders comparing mention and entry by vector similarity.

## Know first

- [Grafy wiedzy (Knowledge graphs)](https://aiatlasgraph.com/t/kgraphs.md)
- [Embeddingi zdań i dokumentów (modele embeddingowe) (Sentence and document embeddings (embedding models))](https://aiatlasgraph.com/t/textembeddings.md)

## Related topics

Untyped, symmetric "see also" links.

- [Grafy wiedzy (Knowledge graphs)](https://aiatlasgraph.com/t/kgraphs.md)

## Sources

- [Neural Entity Linking: A Survey of Models Based on Deep Learning](<https://arxiv.org/abs/2006.00575>) `sevgili-2020-neural-el-survey` · by Ozge Sevgili, Artem Shelmanov, Mikhail Arkhipov, Alexander Panchenko, Chris Biemann

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/entitylinking · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
