mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			569 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			569 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# coding: utf8
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
 | 
						|
"""
 | 
						|
Example sentences to test spaCy and its language models.
 | 
						|
 | 
						|
>>> from spacy.lang.fa.examples import sentences
 | 
						|
>>> docs = nlp.pipe(sentences)
 | 
						|
"""
 | 
						|
 | 
						|
 | 
						|
sentences = [
 | 
						|
    "این یک جمله نمونه می باشد.",
 | 
						|
    "قرار ما، امروز ساعت ۲:۳۰ بعدازظهر هست!"
 | 
						|
    "دیروز علی به من ۲۰۰۰.۱﷼ پول نقد داد.",
 | 
						|
    "چطور میتوان از تهران به کاشان رفت؟"
 | 
						|
    "حدود ۸۰٪ هوا از نیتروژن تشکیل شده است."
 | 
						|
]
 |