mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	* Ensure unseen words are given low log probability
This commit is contained in:
		
							parent
							
								
									9d3b0d83de
								
							
						
					
					
						commit
						ff9ff6f3fa
					
				| 
						 | 
				
			
			@ -31,7 +31,7 @@ def get_lex_props(string):
 | 
			
		|||
        'prefix': string[0],
 | 
			
		||||
        'suffix': string[-3:],
 | 
			
		||||
        'cluster': 0,
 | 
			
		||||
        'prob': 0,
 | 
			
		||||
        'prob': -22,
 | 
			
		||||
        'sentiment': 0
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user