From 328678c7e998389ce78ea9ddc869ffa83a5a0762 Mon Sep 17 00:00:00 2001 From: Sohil Date: Thu, 13 Apr 2017 17:12:28 +0530 Subject: [PATCH] Extra brace ")" creating error There is an extra closing brace `)` which is creating error while running example. --- website/docs/usage/entity-recognition.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/entity-recognition.jade b/website/docs/usage/entity-recognition.jade index 210b04337..ab8ce22d0 100644 --- a/website/docs/usage/entity-recognition.jade +++ b/website/docs/usage/entity-recognition.jade @@ -57,7 +57,7 @@ p doc.ents = [Span(doc, 0, 1, label=doc.vocab.strings['GPE'])] assert doc[0].ent_type_ == 'GPE' doc.ents = [] - doc.ents = [(u'LondonCity', doc.vocab.strings['GPE']), 0, 1)] + doc.ents = [(u'LondonCity', doc.vocab.strings['GPE'], 0, 1)] p | The value you assign should be a sequence, the values of which