Tweak name-match threshold.
This commit is contained in:
@@ -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