From e43639b27afbd72d24e17e49dbb030ffff4e40cd Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Wed, 3 Nov 2021 08:55:30 +0000 Subject: [PATCH] Add note about round-trip serializing pipeline to API docs (#9583) --- website/docs/api/language.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/docs/api/language.md b/website/docs/api/language.md index d0d6b9514..45c42040e 100644 --- a/website/docs/api/language.md +++ b/website/docs/api/language.md @@ -1000,6 +1000,11 @@ subclasses like `English` or `German` to make language-specific functionality like the [lexical attribute getters](/usage/linguistic-features#language-data) available to the loaded object. +Note that if you want to serialize and reload a whole pipeline, using this alone +won't work, you also need to handle the config. See +["Serializing the pipeline"](https://spacy.io/usage/saving-loading#pipeline) for +details. + > #### Example > > ```python