Skip to content

Commit

Permalink
forgotten debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Oct 6, 2023
1 parent 29865cf commit 10d8347
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nomenklatura/matching/compare/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ def person_name_jaro_winkler(query: E, result: E) -> float:
result_names = [_name_parts(n) for n in result_names_]
score = 0.0
for (qn, rn) in product(query_names, result_names):
pair_score = _align_name_parts(list(qn), list(rn))
if pair_score > 0.0:
print("JW", qn, rn, pair_score)
score = max(score, pair_score)
score = max(score, _align_name_parts(list(qn), list(rn)))
return score


Expand Down

0 comments on commit 10d8347

Please sign in to comment.