mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Extra brace ")" creating error
There is an extra closing brace `)` which is creating error while running example.
This commit is contained in:
parent
1b92c8d5d5
commit
328678c7e9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user