Refa: control the simi for entity resolution. (#6386)
### What problem does this PR solve? #6352 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
d83911b632
commit
9ed004e90d
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ class EntityResolution(Extractor):
|
||||||
if editdistance.eval(a, b) <= min(len(a), len(b)) // 2:
|
if editdistance.eval(a, b) <= min(len(a), len(b)) // 2:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if len(set(a) & set(b)) > 0:
|
if len(set(a) & set(b)) > 1:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue