Skip to content

Commit 44ad755

Browse files
committed
increased threshold to 0.9
1 parent 615d80e commit 44ad755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/table_annotator/matching.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def find_column_single(table: Table, column_type: str) -> Optional[int]:
6363

6464
def match_entry(last_name: str, first_name: str, date_of_birth: str, number: str,
6565
persdata_index: dict[str, list[dict]],
66-
threshold: float = 0.8) -> Optional[DataMatch]:
66+
threshold: float = 0.9) -> Optional[DataMatch]:
6767
"""Match an entry against persdata index and return highest match if any."""
6868
final_match = None
6969
for potential_match in persdata_index.get(number, []):

0 commit comments

Comments
 (0)