mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	* Remove lemmatizer from init_model
This commit is contained in:
		
							parent
							
								
									df01a88763
								
							
						
					
					
						commit
						83c0f0da22
					
				|  | @ -113,7 +113,6 @@ def setup_vocab(src_dir, dst_dir): | |||
|     vocab = Vocab(data_dir=None, get_lex_props=get_lex_props) | ||||
|     clusters = _read_clusters(src_dir / 'clusters.txt') | ||||
|     probs = _read_probs(src_dir / 'words.sgt.prob') | ||||
|     lemmatizer = Lemmatizer(str(src_dir / 'wordnet'), NOUN, VERB, ADJ) | ||||
|     lexicon = [] | ||||
|     for word, prob in reversed(sorted(probs.items(), key=lambda item: item[1])): | ||||
|         entry = get_lex_props(word) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user