mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Fix doc string
This commit is contained in:
parent
ef18829fd9
commit
bc3337d539
|
@ -850,7 +850,7 @@ class Language:
|
||||||
where you provide a config and let spaCy construct the instance). See 'spacy.load'
|
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.
|
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
|
name (str): Name of pipeline component. Overwrites existing
|
||||||
component.name attribute if available. If no name is set and
|
component.name attribute if available. If no name is set and
|
||||||
the component exposes no name attribute, component.__name__ is
|
the component exposes no name attribute, component.__name__ is
|
||||||
|
|
Loading…
Reference in New Issue
Block a user