TOPIC 05/0711 MINNOT STARTED

Fuzzy matching algorithms

A name pair becomes a score by counting spelling, sound, small letter runs or word order. Each tool counts something different, so no score means the same thing twice.

L1–L4 are part of the Pro pass

L0 Explain simply

gives a pair of names a score. A score is only a number, so the first question is what the number counts. There is no single way to count how alike two names are, and the ways can disagree.

Names can be alike in four ways. They can be spelled alike. They can sound alike. They can share small runs of letters. Or they can hold the same words in a different order. Each way has its own tool, and each tool has its own name.

Take the pair Mohamed and Muhammad. Count the smallest number of single-letter changes that turn one into the other. That count is called the , and here it is 3. Now compare how the two names sound. A called Soundex is a letter followed by three digits that stand for sounds. It gives both names the same code, M530. So one pair looks clearly apart by spelling, with three changes, and identical by sound.

Now take Anna Kowalczyk and Kowalczyk Anna. Letter by letter they are far apart, because every letter has moved. But they hold the same two words. A tool that compares word by word, called , sees that at once.

Kabir, the sanctions investigator at Meridian Bank, meets an alert for a customer named Anna Kowalczyk. The listed name is Hanna Kowalchik. The spelling tool scores the two as close. The sound tool gives the two surnames the same code, K422. Neither tool knows she is a different person. (SYNTHETIC / TRAINING ONLY: every person and name here is fictional.)

A score says how alike two names look or sound. It never says who the person is. So a bank rarely trusts one tool. It chooses its tools, decides how much each one counts, and sets the line a score must cross to raise an alert.

PICTURE IT

Four helpers at a door, each checking one thing

Imagine a door with four helpers who each compare two name tags. One helper marks the smallest number of pen strokes needed to turn one tag into the other. One reads both tags aloud and listens for the same sound. One cuts each tag into pairs of letters and counts the pairs the two tags share. One lays the words of each tag side by side, whatever their order. Each helper gives a mark for how alike the tags are. A host decides how high a mark must be before a tag is set aside for a closer look. A helper never learns who the person is, so a person decides afterwards. Real tools do not hear or see. That part of the picture is imagined.

THE REAL JOB tools give two names a score, so a bank can notice a when a payment spells the name another way.

  1. A name arrives on the payment
  2. The name is tidied and split into words
  3. Each tool scores the pair
  4. The scores are joined into one number
  5. A score over the threshold raises an alert
  6. An investigator decides and writes down why
From two names to a recorded decision

HOW THE PICTURE MAPS

How each part of the picture matches the payment
In the pictureIn the payment
The helper who counts pen strokes to turn one tag into the otherEdit distance, which counts single-letter changes between two spellings
The helper who reads both tags aloudPhonetic codes, such as Soundex, which gives names that sound alike the same code
The helper who cuts tags into pairs of letters and counts shared pairsN-grams, which compare short runs of letters
The helper who lays the words side by side in any orderToken matching, which compares name word by word
The mark each helper givesA similarity score for the pair, by that tool's own rules
The host who sets how high a mark must beThe match threshold, a risk decision the bank writes down
You, looking at the tag set asideThe investigator, who compares the entry with the payment and the customer's fileWho: Kabir

WHERE THIS PICTURE STOPS

  • In the picture, each tag belongs to a person you can see. In screening, the payment holds only a name, and a high mark shows that two names are alike but never who the person is.
  • The pen-stroke count, the spoken sound and the shared pairs are different kinds of mark. A mark from one helper cannot be compared with a mark from another, and a mark does not say how likely a match is.
  • Real sound tools do not listen. They follow fixed letter rules, so a code can match names that sound different, or miss names that sound alike.
  • In the picture the host's line is easy to set. In screening a higher line means fewer alerts. A higher line also raises the risk of missing a listed person whose name is written another way. The Office of Foreign Assets Control (OFAC), the US sanctions office, says it cannot recommend a number.

HOOK

A name score says alike, never who.

REMEMBER IT THIS WAY

A chunk: a long list grouped so it is easier to hold.

Ask four things of a pair: spelling, sound, shared letter runs and word order. Each one has its own tool.

What each part of the trick stands for
In the trickWhat it stands for
How is it spellededit distance and Jaro-Winkler, a second spelling-score tool, count spelling
How does it soundSoundex and Metaphone, a second sound-code tool, give sound codes
Which small runs are sharedn-grams compare short runs of letters
Are the words the same in any ordertoken matching compares word by word

Real engines mix these tools, and a good answer to any one question still does not show who the person is.

TELL A FRIEND

Banks give two names a score, and different tools count different things: spelling, sound, small runs of letters or word order. A high score only means the names are alike, so a person still decides.

OFTEN MIXED UP WITH Name matching and fuzzy logic. The lesson says why close names are checked and who sets the line. This lesson says how a score is counted, and why different tools give different scores for the same pair.

Sources & standards — 5 sources
  1. Market practice2019 guidance; publisher HTML read 6 November 2026

    Wolfsberg Group Sanctions Screening Guidance ↗ — The Wolfsberg Group · 2019 Guidance §§2.1–3.6: risk assessment, screening technology, review and independent testing; publisher HTML opened6 November 2026

    Industry guidance on the elements of an effective sanctions screening programme: the risk-based approach, list management, matching technology, alert generation, and alert handling. · Checked 2026-11-06

    Wolfsberg guidance is industry market practice, not law. The primary publisher HTML was opened and §§5.1–5.2 read on 6 November 2026: screening scope and relevant transaction attributes depend on sanctions risks and applicable requirements. This is not permission to disregard a legal obligation. The current publisher resource URL replaces the earlier unverified route; institutions vary in implementation.

  2. Regulatory guidance

    OFAC Frequently Asked Questions ↗ — US Department of the Treasury, Office of Foreign Assets Control · FAQs5,249,250,892: review identifying information; public search candidate selection and versioned scoring; no recommended threshold; opened6 November 2026

    OFAC's official interpretive guidance on US sanctions programs, list maintenance, blocking, and compliance expectations.

    FAQ 122 defines a weak alias. FAQ 124 states OFAC does not expect firms to screen for weak AKAs, and expects those AKAs may help decide whether a hit from other information is accurate. FAQ 125 sets the civil-penalty position when the only sanctions reference in a processed transaction is a weak AKA.

    FAQ 398 states the 50 Percent Rule speaks only to ownership, not control. FAQ 401 interprets indirect ownership through intermediaries that are themselves 50 percent or more owned by blocked persons, with worked examples including a chain that blocks and a broken chain that does not. · Checked 2026-11-06

    FAQs are added, amended, and renumbered over time; always check the live page for current numbering and text. FAQ 122, 124, 125, 398 and 401 were fetched and read on 2026-08-25. A failed fetch is not a finding about these pages. Additional primary pages5,249,250,892 opened6 November 2026: matching review, initial retrieval/two scoring techniques, threshold choice and2021algorithm update.

  3. Market practice

    Jaro-Winkler — NIST Dictionary of Algorithms and Data Structures ↗ — NIST · NISTentry2 August 2022; measure and initial-character weighting; opened6 November 2026

    String-similarity definition and initial-character weighting; technical reference rather than sanctions requirement. · Checked 2026-11-06

    Primary page opened6 November 2026.

  4. Market practice

    Double Metaphone — NIST Dictionary of Algorithms and Data Structures ↗ — NIST · NISTentry19 July 2021; possible two codes and language scope; opened6 November 2026

    Phonetic algorithm definition, possible two codes and language scope; not a bankmatching mandate. · Checked 2026-11-06

    Primary page opened6 November 2026. Original Philipsarticle remains a separate historical source.

  5. Market practice

    Soundex System ↗ — US National Archives and Records Administration · NARAguide reviewed9 January 2024; coding and separator rules; opened6 November 2026

    Explains the Soundex code used to index census surnames. The code is the first letter of the surname plus three digits. B F P V count as 1, C G J K Q S X Z as 2, D T as 3, L as 4, M N as 5 and R as 6. The letters A E I O U H W Y are disregarded. Cited for how the code is built. · Checked 2026-11-06

    Primary NARA Soundex page opened6 November 2026; reviewed9 January 2024. Read coding groups, adjacent duplicates, vowel separators and H/W exceptions. Historical census-index rules, not a sanctions algorithm mandate.

PRACTISE AND KEEP

Sources for this topic — 7 sources
  1. Market practice2019 guidance; publisher HTML read 6 November 2026

    Wolfsberg Group Sanctions Screening Guidance ↗ — The Wolfsberg Group · Screening technology and fuzzy matching

    Industry guidance on the elements of an effective sanctions screening programme: the risk-based approach, list management, matching technology, alert generation, and alert handling. · Checked 2026-11-06

    Wolfsberg guidance is industry market practice, not law. The primary publisher HTML was opened and §§5.1–5.2 read on 6 November 2026: screening scope and relevant transaction attributes depend on sanctions risks and applicable requirements. This is not permission to disregard a legal obligation. The current publisher resource URL replaces the earlier unverified route; institutions vary in implementation.

  2. Scheme-specific rule

    OFAC Frequently Asked Questions ↗ — US Department of the Treasury, Office of Foreign Assets Control · FAQ 246, Sanctions List Search: Jaro-Winkler, Soundex and name-part matching; FAQ 250: no recommended threshold score (search excerpts, pages not opened)

    OFAC's official interpretive guidance on US sanctions programs, list maintenance, blocking, and compliance expectations.

    FAQ 122 defines a weak alias. FAQ 124 states OFAC does not expect firms to screen for weak AKAs, and expects those AKAs may help decide whether a hit from other information is accurate. FAQ 125 sets the civil-penalty position when the only sanctions reference in a processed transaction is a weak AKA.

    FAQ 398 states the 50 Percent Rule speaks only to ownership, not control. FAQ 401 interprets indirect ownership through intermediaries that are themselves 50 percent or more owned by blocked persons, with worked examples including a chain that blocks and a broken chain that does not. · Checked 2026-11-06

    FAQs are added, amended, and renumbered over time; always check the live page for current numbering and text. FAQ 122, 124, 125, 398 and 401 were fetched and read on 2026-08-25. A failed fetch is not a finding about these pages. Additional primary pages5,249,250,892 opened6 November 2026: matching review, initial retrieval/two scoring techniques, threshold choice and2021algorithm update.

  3. Market practice

    Levenshtein distance (Dictionary of Algorithms and Data Structures) ↗ — National Institute of Standards and Technology (NIST) · Levenshtein distance (search excerpt, page not opened)

    Levenshtein distance is the minimum number of insertions, deletions and substitutions. Adjacent transposition is not one basic Levenshtein operation. · Checked 2026-11-06

    Primary NISTDADS page opened6 November 2026; entry modified15 May 2019. Technical reference, not a sanctions requirement.

  4. Market practice

    Soundex System ↗ — US National Archives and Records Administration · Soundex coding guide (search excerpt, page not opened)

    Explains the Soundex code used to index census surnames. The code is the first letter of the surname plus three digits. B F P V count as 1, C G J K Q S X Z as 2, D T as 3, L as 4, M N as 5 and R as 6. The letters A E I O U H W Y are disregarded. Cited for how the code is built. · Checked 2026-11-06

    Primary NARA Soundex page opened6 November 2026; reviewed9 January 2024. Read coding groups, adjacent duplicates, vowel separators and H/W exceptions. Historical census-index rules, not a sanctions algorithm mandate.

  5. Market practice

    The Double Metaphone Search Algorithm ↗ — Lawrence Philips, C/C++ Users Journal, vol. 18, no. 6 (June 2000), pp. 38-43 · Double Metaphone (search excerpt, page not opened)

    Cited for one fact only: Double Metaphone can return both a primary and a secondary code for a string, and so adds rules beyond the original Metaphone. It is the author's own publication of the method. · Checked 2026-10-04

    Registered from a web-search excerpt on 2026-10-04 (the catalogue record lists the article; the page itself was not opened). A reader with ordinary network access should open it and correct this entry. A trade-journal article by the algorithm's author, not a standard and not sanctions guidance. It is not cited for any claim about which languages the method suits.

  6. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Four tool families are named and each is shown in its textbook form; real engines combine and tune them in ways vendors keep private, and no source read for this lesson requires one. All scores in the examples are worked by hand from the textbook formulas on fictional names. Anna Kowalczyk and the listed name are fictional, and the lesson offers no guidance on producing name variants.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  7. Regulatory guidance

    OFAC Frequently Asked Questions ↗ — US Department of the Treasury, Office of Foreign Assets Control · FAQs5,249,250,892: review identifying information; public search candidate selection and versioned scoring; no recommended threshold; opened6 November 2026

    OFAC's official interpretive guidance on US sanctions programs, list maintenance, blocking, and compliance expectations.

    FAQ 122 defines a weak alias. FAQ 124 states OFAC does not expect firms to screen for weak AKAs, and expects those AKAs may help decide whether a hit from other information is accurate. FAQ 125 sets the civil-penalty position when the only sanctions reference in a processed transaction is a weak AKA.

    FAQ 398 states the 50 Percent Rule speaks only to ownership, not control. FAQ 401 interprets indirect ownership through intermediaries that are themselves 50 percent or more owned by blocked persons, with worked examples including a chain that blocks and a broken chain that does not. · Checked 2026-11-06

    FAQs are added, amended, and renumbered over time; always check the live page for current numbering and text. FAQ 122, 124, 125, 398 and 401 were fetched and read on 2026-08-25. A failed fetch is not a finding about these pages. Additional primary pages5,249,250,892 opened6 November 2026: matching review, initial retrieval/two scoring techniques, threshold choice and2021algorithm update.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.