Add note about round-trip serializing pipeline to API docs (#9583)

This commit is contained in:
Paul O'Leary McCann 2021-11-03 08:55:30 +00:00 committed by GitHub
parent f1bc655a38
commit e43639b27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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