mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	* Update get_freqs.py script
This commit is contained in:
		
							parent
							
								
									a29fd79fbc
								
							
						
					
					
						commit
						a748146dd3
					
				|  | @ -43,7 +43,7 @@ def null_props(string): | |||
| 
 | ||||
| def count_freqs(input_loc, output_loc): | ||||
|     print(output_loc) | ||||
|     tokenizer = Tokenizer.from_dir(Vocab(), English.default_data_dir()) | ||||
|     tokenizer = Tokenizer.from_dir(Vocab(), spacy.en.English.default_data_dir()) | ||||
| 
 | ||||
|     counts = PreshCounter() | ||||
|     for json_comment in iter_comments(input_loc): | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user