Tweak name matching algo to put Vaughan Williams in the correct LGA.

This commit is contained in:
Kim Taylor
2024-09-25 22:12:22 +10:00
parent abb4f5675c
commit 34e0297947

View File

@@ -63,7 +63,7 @@ function match_lga(&$candidate_data, $lga_list) {
foreach ($bb as $b) {
similar_text($a, $b, $score);
if ($score > 70) $score_sum += $score;
else $score_sum -= 10;
else $score_sum -= 1;
}
}