LinkingTK¶
LinkingTK is a Python toolkit that unifies four text-linking tasks behind a common interface:
- Entity Alignment (EA) — matching entities between two knowledge graphs.
- Entity Linking (EL) — linking mentions in text to a knowledge base.
- Word Sense Disambiguation (WSD) — linking mentions in text to dictionary senses.
- Word Sense Alignment (WSA) — matching senses between two dictionaries.
See Getting Started for installation and a walkthrough of the core interface, and Key Concepts for how Linkers, Blockers, Sources and Matchers fit together. This site is also the generated API reference.
API Reference¶
- Core —
Entity,AlignmentResult. - Blocking —
BlockingStrategyand its implementations (ExactMatch,LabelOverlap,EmbeddingSimilarityBlocker). - Algorithms —
BaseLinkerand per-task linkers (e.g.LeskLinkerfor WSD). - Datasets —
DatasetLoader. - Utils — graph helpers wrapping NetworkX/RDFLib.
- Training —
Trainer,TrainingArguments. - Evaluation —
Evaluator,EvaluationReport. - Exceptions —
LinkingTKError.