diff --git a/website/docs/usage/entity-recognition.jade b/website/docs/usage/entity-recognition.jade index d0e642759..1b65f3331 100644 --- a/website/docs/usage/entity-recognition.jade +++ b/website/docs/usage/entity-recognition.jade @@ -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