Tweak name-match threshold.
This commit is contained in:
1 parent
7af17f0e0b
commit
45a5afc5f9
1 file changed
+1
-1
@@ -91,7 +91,7 @@ foreach ($results as $lga => $data) {
|
||||
function was_elected($candidate, $vec_wards) {
|
||||
foreach ($vec_wards as $vec_candidates) {
|
||||
list($score, $match) = match_words($candidate, $vec_candidates);
|
||||
if ($score > 100) return true;
|
||||
if ($score > 180) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user