Fix ents input format example

This commit is contained in:
Ines Montani 2017-01-01 12:28:37 +01:00
parent a9a7cddf5b
commit e3d84572f2
1 changed files with 1 additions and 1 deletions

View File

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