mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	* Fix cluster initialization
This commit is contained in:
		
							parent
							
								
									5e99ff94c8
								
							
						
					
					
						commit
						c8a553fe91
					
				| 
						 | 
					@ -58,7 +58,7 @@ def _read_clusters(loc):
 | 
				
			||||||
            clusters[word.lower()] = cluster
 | 
					            clusters[word.lower()] = cluster
 | 
				
			||||||
        if word.title() not in clusters:
 | 
					        if word.title() not in clusters:
 | 
				
			||||||
            clusters[word.title()] = cluster
 | 
					            clusters[word.title()] = cluster
 | 
				
			||||||
        if word.upper() not in clusters
 | 
					        if word.upper() not in clusters:
 | 
				
			||||||
            clusters[word.upper()] = cluster
 | 
					            clusters[word.upper()] = cluster
 | 
				
			||||||
    return clusters
 | 
					    return clusters
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user