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:
Kevin Hu 2025-03-21 13:16:34 +08:00 committed by GitHub
parent d83911b632
commit 9ed004e90d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,7 +217,7 @@ class EntityResolution(Extractor):
if editdistance.eval(a, b) <= min(len(a), len(b)) // 2:
return True
if len(set(a) & set(b)) > 0:
if len(set(a) & set(b)) > 1:
return True
return False