mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Fix typo
This commit is contained in:
		
							parent
							
								
									a31f048b4d
								
							
						
					
					
						commit
						3f0a157b33
					
				| 
						 | 
					@ -284,7 +284,7 @@ p Retokenize the document, such that the span is merged into a single token.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
+aside-code("Example").
 | 
					+aside-code("Example").
 | 
				
			||||||
    doc = nlp(u'I like New York in Autumn.')
 | 
					    doc = nlp(u'I like New York in Autumn.')
 | 
				
			||||||
    span = doc[2:3]
 | 
					    span = doc[2:4]
 | 
				
			||||||
    span.merge()
 | 
					    span.merge()
 | 
				
			||||||
    assert len(doc) == 6
 | 
					    assert len(doc) == 6
 | 
				
			||||||
    assert doc[2].text == 'New York'
 | 
					    assert doc[2].text == 'New York'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user