diff --git a/website/docs/usage/entity-recognition.jade b/website/docs/usage/entity-recognition.jade index 9fc7dddd9..210b04337 100644 --- a/website/docs/usage/entity-recognition.jade +++ b/website/docs/usage/entity-recognition.jade @@ -138,7 +138,9 @@ p +code. import spacy + import random from spacy.gold import GoldParse + from spacy.language import EntityRecognizer train_data = [ ('Who is Chaka Khan?', [(7, 17, 'PERSON')]),