From e2fca9724750b78f3fe4c9eff4aed5b4bd1ba64f Mon Sep 17 00:00:00 2001 From: Javier Martin Montull Date: Tue, 22 Aug 2017 09:34:54 +0200 Subject: [PATCH] AuthorComparator threshold fix Signed-off-by: Javier Martin Montull --- inspire_json_merger/comparators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inspire_json_merger/comparators.py b/inspire_json_merger/comparators.py index bc376ae..bb47f59 100644 --- a/inspire_json_merger/comparators.py +++ b/inspire_json_merger/comparators.py @@ -65,7 +65,7 @@ def __call__(self, author): class AuthorComparator(DistanceFunctionComparator): - threhsold = 0.12 + threshold = 0.12 distance_function = AuthorNameDistanceCalculator(author_tokenize) norm_functions = [ NewIDNormalizer('ORCID'),