mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix initial example in EntityRuler API docs (#3999)
This commit is contained in:
parent
1167c303a0
commit
d2c474cbb7
|
@ -23,7 +23,7 @@ be a token pattern (list) or a phrase pattern (string). For example:
|
|||
>
|
||||
> ```python
|
||||
> # Construction via create_pipe
|
||||
> ruler = nlp.create_pipe("entityruler")
|
||||
> ruler = nlp.create_pipe("entity_ruler")
|
||||
>
|
||||
> # Construction from class
|
||||
> from spacy.pipeline import EntityRuler
|
||||
|
|
Loading…
Reference in New Issue
Block a user