Correct error in spacy universe docs concerning spacy-lookup (#2814)

This commit is contained in:
Ioannis Daras 2018-10-01 11:24:50 +03:00 committed by Matthew Honnibal
parent 6c498f9ff4
commit 405a826436

View File

@ -184,7 +184,7 @@
"from spacy_lookup import Entity", "from spacy_lookup import Entity",
"", "",
"nlp = spacy.load('en')", "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)", "nlp.add_pipe(entity, last=True)",
"", "",
"doc = nlp(u\"I am a product manager for a java and python.\")", "doc = nlp(u\"I am a product manager for a java and python.\")",