mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			281 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			281 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# coding: utf8
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
from spacy.lang.el import Greek
 | 
						|
 | 
						|
 | 
						|
def test_issue4272():
 | 
						|
    """Test that lookup table can be accessed from Token.lemma if no POS tags
 | 
						|
    are available."""
 | 
						|
    nlp = Greek()
 | 
						|
    doc = nlp("Χθες")
 | 
						|
    assert doc[0].lemma_
 |