mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			191 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			191 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from __future__ import unicode_literals
 | 
						|
 | 
						|
 | 
						|
def test_only_pre1(en_tokenizer):
 | 
						|
    assert len(en_tokenizer("(")) == 1
 | 
						|
 | 
						|
 | 
						|
def test_only_pre2(en_tokenizer):
 | 
						|
    assert len(en_tokenizer("((")) == 2
 |