mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-19 12:39:59 +08:00
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
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user