From 405a826436a114e085b6cd6b105e8903103e02f1 Mon Sep 17 00:00:00 2001 From: Ioannis Daras Date: Mon, 1 Oct 2018 11:24:50 +0300 Subject: [PATCH] Correct error in spacy universe docs concerning spacy-lookup (#2814) --- website/universe/universe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/universe/universe.json b/website/universe/universe.json index f1d90e5c9..ab58d6f3e 100644 --- a/website/universe/universe.json +++ b/website/universe/universe.json @@ -184,7 +184,7 @@ "from spacy_lookup import Entity", "", "nlp = spacy.load('en')", - "entity = Entity(nlp, keywords_list=['python', 'java platform'])", + "entity = Entity(keywords_list=['python', 'java platform'])", "nlp.add_pipe(entity, last=True)", "", "doc = nlp(u\"I am a product manager for a java and python.\")",