Merge pull request #660 from jsmootiv/patch-2

Minor typos Fix
This commit is contained in:
Ines Montani 2016-11-26 12:23:48 +01:00 committed by GitHub
commit 38f5ad4bfb
1 changed files with 3 additions and 3 deletions

View File

@ -36,10 +36,10 @@ p
+code("Example"). +code("Example").
doc = nlp(u'London is a big city in the United Kingdom.') 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') # (u'London', 2, u'GPE')
print(doc[1].text, doc[1].ent_iob, doc[1].ent_type_)) print(doc[1].text, doc[1].ent_iob, doc[1].ent_type_)
(u'is', 3, u'')] # (u'is', 3, u'')
+h(2, "setting") Setting entity annotations +h(2, "setting") Setting entity annotations