mirror of https://github.com/explosion/spaCy.git
Merge pull request #979 from tsohil/patch-1
Extra brace ")" creating error
This commit is contained in:
commit
cb7821e3e3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue