FUZZY MATCHING ALGORITHMS EXPLAINED

What is Fuzzy Matching?

Fuzzy matching is a technique of finding strings in a dataset, that approximately match strings in a separate dataset, rather than exactly. The discipline of fuzzy matching can be typically sub-divided into two problems: 

Fuzzy matching is known by several names including fuzzy string matching and approximate string matching. Most fuzzy matching algorithms return similarity scores as percentages to help users gauge how similar the compared text entries are, with a typical scale ranging from 0% for no matches to 100% for exact matches.

Why Use Fuzzy Matching Software?

Data in the real world is often not stored in uniform formats due to the variety of methods used in data collection and processing. This diversity can lead to discrepancies in data entry, such as variations in spelling and formatting. However, these challenges can be significantly mitigated with the use of fuzzy matching software during the data cleaning process.

Fuzzy matching software can aid in identifying and rectifying text-based discrepancies within your datasets. This feature is especially beneficial when dealing with non-standardised data, reducing the number of manual data cleaning operations.

A well-designed fuzzy matching tool eliminates the need for costly and time-consuming tasks such as fresh coding or algorithm development. This allows business users and technical teams to focus their efforts on addressing data processing challenges, rather than being burdened with additional tasks. The use of such a tool not only improves efficiency but also optimises resource allocation.

What Can Fuzzy Matching Software Do?

Fuzzy matching algorithms have been successfully applied in areas like spell checking and record linkage. Here is a brief look at what these applications can be used for:

Minimising the Impact of False Positives

Fuzzy Matching in Action: A Real-World Example

Record linkage techniques can be used to detect fraud, resource wastage or abuse. In this story, two databases were merged and compared for inconsistencies, leading to a discovery that helped the U.S. government put a stop to fraudulent behaviour by some government employees:

In a period of 18 months leading to the summer of 2005, a database comprising records of 40,000 pilots licensed by the U.S. Federal Aviation Administration and residing in Northern California, was matched to a database consisting of individuals receiving disability payments from the Social Security Administration, and it was discovered that names of some pilots appeared in both databases.

In a report by the Associated Press, a prosecutor from the U.S. Attorney’s Office in Fresno, CA stated the following:

There was probably criminal wrongdoing. The pilots were either lying to the FAA or wrongfully receiving benefits. The pilots claimed to be medically fit to fly airplanes. However, they may have been flying with debilitating illnesses that should have kept them grounded, ranging from schizophrenia and bipolar disorder to drug and alcohol addiction and heart conditions.

In the end, at least 40 pilots were charged with the crimes of "making false statements to a government agency" and "making and delivering a false official writing". The FAA also suspended licenses of 14 pilots in total, while others were put on notice pending further investigations.

Popular Fuzzy Matching Algorithms