diff --git a/website/docs/usage/lightning-tour.jade b/website/docs/usage/lightning-tour.jade index 89dac830c..8afe16c2b 100644 --- a/website/docs/usage/lightning-tour.jade +++ b/website/docs/usage/lightning-tour.jade @@ -37,11 +37,11 @@ p assert doc[1].text == u'emoji' assert doc[-1].text == u'🍑' assert doc[17:19].text == u'outranking eggplant' - assert doc.noun_chunks[0].text == u'Peach emoji' + assert list(doc.noun_chunks)[0].text == u'Peach emoji' sentences = list(doc.sents) assert len(sentences) == 3 - assert sentences[0].text == u'Peach is the superior emoji.' + assert sentences[1].text == u'Peach is the superior emoji.' +infobox | #[strong API:] #[+api("doc") #[code Doc]], #[+api("token") #[code Token]]