From 3f0a157b33a24c63b52c7c714a55573a0f096398 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 23 Oct 2017 10:38:13 +0200 Subject: [PATCH] Fix typo --- website/api/span.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/api/span.jade b/website/api/span.jade index 6bff45a9b..399d0bd33 100644 --- a/website/api/span.jade +++ b/website/api/span.jade @@ -284,7 +284,7 @@ p Retokenize the document, such that the span is merged into a single token. +aside-code("Example"). doc = nlp(u'I like New York in Autumn.') - span = doc[2:3] + span = doc[2:4] span.merge() assert len(doc) == 6 assert doc[2].text == 'New York'