mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Minor typos
This commit is contained in:
parent
c7889492f9
commit
8373115cbd
|
@ -36,10 +36,10 @@ p
|
|||
|
||||
+code("Example").
|
||||
doc = nlp(u'London is a big city in the United Kingdom.')
|
||||
print(doc[0].text, doc[0].ent_iob, doc[0].ent_type_))
|
||||
print(doc[0].text, doc[0].ent_iob, doc[0].ent_type_)
|
||||
# (u'London', 2, u'GPE')
|
||||
print(doc[1].text, doc[1].ent_iob, doc[1].ent_type_))
|
||||
(u'is', 3, u'')]
|
||||
print(doc[1].text, doc[1].ent_iob, doc[1].ent_type_)
|
||||
# (u'is', 3, u'')
|
||||
|
||||
+h(2, "setting") Setting entity annotations
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user