From 3d7f81ddf544f5a5997c7d8a29b9331a025cedcb Mon Sep 17 00:00:00 2001 From: jaspb Date: Sat, 10 Dec 2016 19:18:13 +0000 Subject: [PATCH] added 'en' to spacy.load(..) --- website/docs/usage/entity-recognition.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/entity-recognition.jade b/website/docs/usage/entity-recognition.jade index 1b65f3331..ed29142f4 100644 --- a/website/docs/usage/entity-recognition.jade +++ b/website/docs/usage/entity-recognition.jade @@ -217,7 +217,7 @@ p ('I like London and Berlin.', [(7, 13, 'LOC'), (18, 24, 'LOC')]) ] - nlp = spacy.load(entity=False, parser=False) + nlp = spacy.load('en', entity=False, parser=False) ner = EntityRecognizer(nlp.vocab, entity_types=['PERSON', 'LOC']) for itn in range(5):