mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			246 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			246 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# coding: utf8
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
from spacy.tokens import DocBin
 | 
						|
 | 
						|
 | 
						|
def test_issue4367():
 | 
						|
    """Test that docbin init goes well"""
 | 
						|
    DocBin()
 | 
						|
    DocBin(attrs=["LEMMA"])
 | 
						|
    DocBin(attrs=["LEMMA", "ENT_IOB", "ENT_TYPE"])
 |