mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
Correct error in spacy universe docs concerning spacy-lookup (#2814)
This commit is contained in:
parent
6c498f9ff4
commit
405a826436
|
@ -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.\")",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user