Match Score
First the distance is individually calculated for the first and last name. The distance meaning the the minimal amount of additions/removals/substitutions to transform one list of names to another, using a variation of https://en.wikipedia.org/wiki/Levenshtein_distance working on phonetic words(https://en.wikipedia.org/wiki/Metaphone) instead of letter.
Some examples:
"Stefan" -> "Erik" = 1 (1 Substitution, Stefan changed to Erik)
"Stefan" -> "Stefan Erik" = 1 (1 Addition, Erik appended)
"Stefan Erik" -> "Stefan" = 1 (1 Removal, Erik Removed)
"Sophia" => "Sofia" = 0 (Phonetically equal)
Full name: "Ebba Elisabeth", "Busch" => "Ebba", "Busch Thor". This would require 1 removal in the first name and an addition in the last name, hence a total distance of 2. The final score is then calculated by using the total distance in the following logarithmic function, f(x) = e^(x*-0.328), resulting in a table that looks like this:
Distance | Score |
---|---|
0 | 1.00 |
1 | 0.72 |
2 | 0.52 |
3 | 0.37 |
4 | 0.27 |
5 | 0.19 |
6 | 0.14 |
7 | 0.10 |
Distance is maxed out a 7, meaning the lowest possible score is 0.10.