mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Test Issue #600
This commit is contained in:
		
							parent
							
								
									fd2a012fd3
								
							
						
					
					
						commit
						125c910a8d
					
				
							
								
								
									
										8
									
								
								spacy/tests/regression/test_issue600.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								spacy/tests/regression/test_issue600.py
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
from __future__ import unicode_literals
 | 
			
		||||
from ...tokens import Doc
 | 
			
		||||
from ...vocab import Vocab
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def test_issue600():
 | 
			
		||||
    doc = Doc(Vocab(tag_map={'NN': {'pos': 'NOUN'}}), words=['hello'])
 | 
			
		||||
    doc[0].tag_ = u'NN'
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user