mirror of
				https://github.com/infiniflow/ragflow.git
				synced 2025-11-03 19:29:43 +00: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