Merge pull request #979 from tsohil/patch-1

Extra brace ")" creating error
This commit is contained in:
Ines Montani 2017-04-13 13:46:12 +02:00 committed by GitHub
commit cb7821e3e3
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ p
doc.ents = [Span(doc, 0, 1, label=doc.vocab.strings['GPE'])] doc.ents = [Span(doc, 0, 1, label=doc.vocab.strings['GPE'])]
assert doc[0].ent_type_ == 'GPE' assert doc[0].ent_type_ == 'GPE'
doc.ents = [] doc.ents = []
doc.ents = [(u'LondonCity', doc.vocab.strings['GPE']), 0, 1)] doc.ents = [(u'LondonCity', doc.vocab.strings['GPE'], 0, 1)]
p p
| The value you assign should be a sequence, the values of which | The value you assign should be a sequence, the values of which