Fix initial example in EntityRuler API docs (#3999)

This commit is contained in:
adrianeboyd 2019-07-22 11:18:55 +02:00 committed by Matthew Honnibal
parent 1167c303a0
commit d2c474cbb7
1 changed files with 1 additions and 1 deletions

View File

@ -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