MCPcopy
hub / github.com/explosion/spaCy / get_pipe_config

Method get_pipe_config

spacy/language.py:454–463  ·  view source on GitHub ↗

Get the config used to create a pipeline component. name (str): The component name. RETURNS (Config): The config used to create the pipeline component.

(self, name: str)

Source from the content-addressed store, hash-verified

452 return self._pipe_meta[name]
453
454 def get_pipe_config(self, name: str) -> Config:
455 """Get the config used to create a pipeline component.
456
457 name (str): The component name.
458 RETURNS (Config): The config used to create the pipeline component.
459 """
460 if name not in self._pipe_configs:
461 raise ValueError(Errors.E960.format(name=name))
462 pipe_config = self._pipe_configs[name]
463 return pipe_config
464
465 @classmethod
466 def factory(

Callers 4

configMethod · 0.95
replace_listenersMethod · 0.95

Calls

no outgoing calls