mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	I have removed two lines: # coding: utf8 from __future__ import unicode_literals And updated: >>> from spacy.lang.tn.examples import sentences
		
			
				
	
	
		
			16 lines
		
	
	
		
			436 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			436 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""
 | 
						|
Example sentences to test spaCy and its language models.
 | 
						|
>>> from spacy.lang.tn.examples import sentences
 | 
						|
>>> docs = nlp.pipe(sentences)
 | 
						|
"""
 | 
						|
 | 
						|
 | 
						|
sentences = [
 | 
						|
    "Apple e nyaka go reka JSE ka tlhwatlhwa ta R1 billion",
 | 
						|
    "Johannesburg ke toropo e kgolo mo Afrika Borwa.",
 | 
						|
    "O ko kae?",
 | 
						|
    "ke mang presidente ya Afrika Borwa?",
 | 
						|
    "ke eng toropo kgolo ya Afrika Borwa?",
 | 
						|
    "Nelson Mandela o belegwe leng?",
 | 
						|
]
 |