mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			556 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			556 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """
 | |
| Example sentences to test spaCy and its language models.
 | |
| 
 | |
| >>> from spacy.lang.en.examples import sentences
 | |
| >>> docs = nlp.pipe(sentences)
 | |
| """
 | |
| 
 | |
| 
 | |
| sentences = [
 | |
|     "Apple is looking at buying U.K. startup for $1 billion",
 | |
|     "Autonomous cars shift insurance liability toward manufacturers",
 | |
|     "San Francisco considers banning sidewalk delivery robots",
 | |
|     "London is a big city in the United Kingdom.",
 | |
|     "Where are you?",
 | |
|     "Who is the president of France?",
 | |
|     "What is the capital of the United States?",
 | |
|     "When was Barack Obama born?",
 | |
| ]
 |