From d2c474cbb76c3f680660d60da866903ce4893756 Mon Sep 17 00:00:00 2001 From: adrianeboyd Date: Mon, 22 Jul 2019 11:18:55 +0200 Subject: [PATCH] Fix initial example in EntityRuler API docs (#3999) --- website/docs/api/entityruler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/entityruler.md b/website/docs/api/entityruler.md index 5c05450f8..4424bd254 100644 --- a/website/docs/api/entityruler.md +++ b/website/docs/api/entityruler.md @@ -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