Open Source Entity Resolution

Match CJK names that other tools miss

陳大文, Chan Tai Man, and 陈大文 can refer to the same person. Dataline combines phonetic, visual, and normalization signals to find links across scripts. Its batch pipeline uses phone corroboration and holds ambiguous name-only groups unresolved.

loading matching engine...
Initializing WASM...

Why not just transliterate and match phonetically?

Because collapsing CJK to Latin loses information at every stage. Pinyin is many-to-one. NYSIIS merges distinct consonants. Tones disappear. OCR errors become invisible. Dataline scores three signals independently, so one weak dimension can't mask a strong match.

Multi-Signal Matching

Three independent signals per character pair — phonetic, visual, and normalization — combined after scoring. A high visual match isn't diluted by a low phonetic score.

Phonetic Distance

Pinyin and Jyutping distance scoring that preserves consonant distinctions (zh/z/j, ch/c/q) that NYSIIS collapses into a single bucket.

Visual Similarity

Stroke sequence comparison catches OCR and handwriting errors — characters that look nearly identical but sound completely different.

Simplified ↔ Traditional

Automatic normalization across character forms. 陳 and 陈 are recognized as the same entity without converting to phonetics first.

Smart Blocking

Ten hash-grouping passes store candidate members without enumerating every pair. Name-only groups stay unresolved. Residual pairwise blocks can still grow quadratically; the pipeline does not guarantee complete recall.

Full MDM Pipeline

Tokenize → Block → Compare → Cluster → Survive. Declarative per-field survivorship rules build golden records from matched groups.

Benchmarked, not just claimed

Character-level Criterion microbenchmarks are reproducible with cargo bench. Full-pipeline runs and match quality are reported separately.

597K

multi-signal comparisons per second

8.3M

simplified↔traditional normalizations per second

38.4%

pair recall on the synthetic 1M-person benchmark

Full-pipeline runs: 2.7 million synthetic records
RunTimeHardware
2026-10-16 verification102sLinux, 12 Rayon threads
README reference run~68sApple M2 Max, 12 cores

Both runs reproduce 825,411 accepted edges, including six incorrect edges, at 38.4% pair recall. Timings include parsing, grouping, rule validation, and output; hardware differs. These measurements are not guarantees for other datasets.

High precision, limited recall

On a synthetic benchmark of 1 million people and 2.7 million records, the accepted-link graph has 99.9986% pair precision and 38.4% pair recall. It recovers 952,344 correct pairs out of 2,479,642 true pairs; 61.6% of true pair links remain undiscovered. This is pair recall, not the percentage of people resolved.

Ten hash passes group records by name variants and corroborators. All five phone passes run before district and name-only passes. Grouping stores member lists without expanding every pair. The two name-only passes contain 27.6 million implicit pairs, only 0.026% of which identify the same person.

Grouped means considered in a pass, not successfully matched. Group members generally skip later passes; phone passes may add new members to existing phone groups. Name-only cohorts and rejected members are not retried later in the same run. Missing phones, key coverage, and conservative validation can all reduce recall.

Accepted matches, review candidates, and candidate groups are different outputs. The benchmark has six incorrect accepted edges and two additional incorrect review candidates. The README default metric includes review candidates; accepted-only metrics exclude them. Candidate membership alone does not establish identity.

The batch pipeline made 961,627 representative comparisons in phone groups, zero later attractor comparisons, and 264 residual pairwise comparisons. Hash grouping consumed 99.9% of records; that is not a resolution rate. Synthetic results do not establish enterprise accuracy.

Read the benchmark definitions and reproduce the results

Built in Rust. Five commands to try it.

Free and open source under Apache 2.0. No accounts, no API keys, no dependencies beyond Cargo.

Quick Start
git clone https://github.com/digital-rain-tech/dataline.git
cd dataline
cargo build
cargo test
cargo bench