mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-01 00:17:44 +03:00 
			
		
		
		
	* Remove test for loading ad hoc rules format
This commit is contained in:
		
							parent
							
								
									6369835306
								
							
						
					
					
						commit
						516f0f1e14
					
				|  | @ -1,11 +0,0 @@ | |||
| from spacy import util | ||||
| 
 | ||||
| 
 | ||||
| def test_load_en(): | ||||
|     rules = util.read_tokenization('en') | ||||
|     assert len(rules) != 0 | ||||
|     aint = [rule for rule in rules if rule[0] == "ain't"][0] | ||||
|     chunk, pieces = aint | ||||
|     assert chunk == "ain't" | ||||
|     assert pieces[0] == "are" | ||||
|     assert pieces[1] == "not" | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user