From bc3337d539d74a2f4fc02cbd98116ad2dbb86ce6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 16 Apr 2024 12:24:45 +0200 Subject: [PATCH] Fix doc string --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/language.py b/spacy/language.py index bb1ac2531..adc574d42 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -850,7 +850,7 @@ class Language: where you provide a config and let spaCy construct the instance). See 'spacy.load' for details of how to load back a pipeline with components added by instance. - pipe_instance (Callable[[Doc], Doc]): The component to add. + component (Callable[[Doc], Doc]): The component to add. name (str): Name of pipeline component. Overwrites existing component.name attribute if available. If no name is set and the component exposes no name attribute, component.__name__ is