From f1a8dfffb8b386d4eafb062ae304fcced9b0043f Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 19 Oct 2023 16:53:07 +0200 Subject: [PATCH] add comment that pipeline is a custom one --- website/docs/usage/linguistic-features.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/usage/linguistic-features.mdx b/website/docs/usage/linguistic-features.mdx index 47259ce15..5431cd56c 100644 --- a/website/docs/usage/linguistic-features.mdx +++ b/website/docs/usage/linguistic-features.mdx @@ -730,6 +730,7 @@ object, or the `ent_kb_id` and `ent_kb_id_` attributes of a ```python import spacy +# "my_custom_el_pipeline" is assumed to be a custom NLP pipeline that was trained and serialized to disk nlp = spacy.load("my_custom_el_pipeline") doc = nlp("Ada Lovelace was born in London")