Extra brace ")" creating error

There is an extra closing brace `)` which is creating error while running example.
This commit is contained in:
Sohil 2017-04-13 17:12:28 +05:30 committed by GitHub
parent 1b92c8d5d5
commit 328678c7e9

View File

@ -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