# Splink Splink is a Python library for probabilistic record linkage, deduplication, and entity resolution across backends such as DuckDB, Spark, SQLite, and PostgreSQL. It is aimed at data scientists, analysts, researchers, and engineers building or maintaining linkage pipelines. Agents should fetch /llms.txt first as a compact map of the documentation, then fetch only the linked Markdown pages that match the task. Start with the overview and getting started pages for orientation, the core concepts pages to understand settings, blocking, comparisons, and theory, the tutorials and examples for end-to-end workflows, and the API reference for method-level detail. ## Overview - [Home](https://moj-analytical-services.github.io/splink/index.md): Product overview, capabilities, and high-level positioning. - [Introduction](https://moj-analytical-services.github.io/splink/topic_guides/topic_guides_index.md): Map of the conceptual user guide. - [Introduction](https://moj-analytical-services.github.io/splink/api_docs/api_docs_index.md): Map of the API reference. ## Getting started - [Getting Started](https://moj-analytical-services.github.io/splink/getting_started.md): Installation and the first end-to-end Splink workflow. ## Tutorials and examples - [Introduction](https://moj-analytical-services.github.io/splink/demos/examples/examples_index.md): Index of runnable examples by backend and problem type. ## User guide: record linkage theory - [The Fellegi-Sunter Model](https://moj-analytical-services.github.io/splink/topic_guides/theory/fellegi_sunter.md) - [Linked Data as Graphs](https://moj-analytical-services.github.io/splink/topic_guides/theory/linked_data_as_graphs.md) - [Probabilistic vs Deterministic linkage](https://moj-analytical-services.github.io/splink/topic_guides/theory/probabilistic_vs_deterministic.md) - [Why do we need record linkage?](https://moj-analytical-services.github.io/splink/topic_guides/theory/record_linkage.md) ## User guide: Splink fundamentals - [Link type - linking vs deduping](https://moj-analytical-services.github.io/splink/topic_guides/splink_fundamentals/link_type.md) - [Retrieving and querying Splink results](https://moj-analytical-services.github.io/splink/topic_guides/splink_fundamentals/querying_splink_results.md) - [Defining Splink models](https://moj-analytical-services.github.io/splink/topic_guides/splink_fundamentals/settings.md) - [Backends overview](https://moj-analytical-services.github.io/splink/topic_guides/splink_fundamentals/backends/backends.md) - [PostgreSQL](https://moj-analytical-services.github.io/splink/topic_guides/splink_fundamentals/backends/postgres.md) ## User guide: data preparation - [Feature Engineering](https://moj-analytical-services.github.io/splink/topic_guides/data_preparation/feature_engineering.md) ## User guide: blocking - [What are Blocking Rules?](https://moj-analytical-services.github.io/splink/topic_guides/blocking/blocking_rules.md) - [Model Training Blocking Rules](https://moj-analytical-services.github.io/splink/topic_guides/blocking/model_training.md) - [Computational Performance](https://moj-analytical-services.github.io/splink/topic_guides/blocking/performance.md) ## User guide: comparisons - [String comparators](https://moj-analytical-services.github.io/splink/topic_guides/comparisons/comparators.md) - [Comparisons and comparison levels](https://moj-analytical-services.github.io/splink/topic_guides/comparisons/comparisons_and_comparison_levels.md) - [Phonetic algorithms](https://moj-analytical-services.github.io/splink/topic_guides/comparisons/phonetic.md) - [Term frequency adjustments](https://moj-analytical-services.github.io/splink/topic_guides/comparisons/term-frequency.md) ## User guide: training - [Training rationale](https://moj-analytical-services.github.io/splink/topic_guides/training/training_rationale.md) ## User guide: evaluation - [Edge Metrics](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/edge_metrics.md) - [Overview](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/edge_overview.md) - [Clerical Labelling](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/labelling.md) - [Model](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/model.md) - [Overview](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/overview.md) - [Graph metrics](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/clusters/graph_metrics.md) - [Overview](https://moj-analytical-services.github.io/splink/topic_guides/evaluation/clusters/overview.md) ## User guide: performance - [Run times, performance and linking large data](https://moj-analytical-services.github.io/splink/topic_guides/performance/drivers_of_performance.md) - [A reproducible DuckDB benchmark: one billion records](https://moj-analytical-services.github.io/splink/topic_guides/performance/duckdb_performance_reprex.md) - [Optimising DuckDB performance](https://moj-analytical-services.github.io/splink/topic_guides/performance/optimising_duckdb.md) - [Optimising Spark performance](https://moj-analytical-services.github.io/splink/topic_guides/performance/optimising_spark.md) ## API reference - [Training](https://moj-analytical-services.github.io/splink/api_docs/training.md): Training methods on the Linker. - [Inference](https://moj-analytical-services.github.io/splink/api_docs/inference.md): Inference and prediction methods. - [Clustering](https://moj-analytical-services.github.io/splink/api_docs/linker_clustering.md): Clustering APIs. - [Evaluation](https://moj-analytical-services.github.io/splink/api_docs/evaluation.md): Evaluation APIs. - [Comparison Library](https://moj-analytical-services.github.io/splink/api_docs/comparison_library.md): Built-in comparison helpers. - [Comparison Level Library](https://moj-analytical-services.github.io/splink/api_docs/comparison_level_library.md): Built-in comparison level helpers. - [Blocking](https://moj-analytical-services.github.io/splink/api_docs/blocking.md): Blocking API reference. - [SplinkDatasets](https://moj-analytical-services.github.io/splink/api_docs/datasets.md): Built-in datasets for demos and tests. ## Contributor and debugging guides - [Development Quickstart](https://moj-analytical-services.github.io/splink/dev_guides/changing_splink/development_quickstart.md): Contributor setup when the task involves changing Splink itself. - [Understanding and debugging Splink](https://moj-analytical-services.github.io/splink/dev_guides/debug_modes.md): Debugging and inspection modes when behavior is unclear.