          new_name (str): New name of the component.
  
          DOCS: https://spacy.io/api/language#rename_pipe
          """
          if old_name not in self.pipe_names:
              raise ValueError(Errors.E001.format(name=old_name, opts=self.pipe_names))
          if new_name in self.pipe_names:
              raise ValueError(Errors.E007.format(name=new_name, opts=self.pipe_names))
          i = self.pipe_names.index(old_name)
          self.pipeline[i] = (new_name, self.pipeline[i][1])
          self._pipe_meta[new_name] = self._pipe_meta.pop(old_name)
          self._pipe_configs[new_name] = self._pipe_configs.pop(old_name)
  
      def remove_pipe(self, name: str) -> Tuple[str, Callable[[Doc], Doc]]:
          """Remove a component from the pipeline.
 
</s> remove         if name not in self.pipe_names:
            raise ValueError(Errors.E001.format(name=name, opts=self.pipe_names))
        removed = self.pipeline.pop(self.pipe_names.index(name))
 </s> add         if name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=name, opts=self._pipe_names))
        removed = self._pipeline.pop(self._pipe_names.index(name)) </s> remove         raise ValueError(Errors.E006.format(args=all_args, opts=self.pipe_names))
 </s> add         raise ValueError(Errors.E006.format(args=all_args, opts=self._pipe_names)) </s> remove         if name in self.pipe_names:
            raise ValueError(Errors.E007.format(name=name, opts=self.pipe_names))
 </s> add         if name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=name, opts=self._pipe_names)) </s> remove         for pipe_name, component in self.pipeline:
 </s> add         for pipe_name, component in self._pipeline: </s> remove         raise KeyError(Errors.E001.format(name=name, opts=self.pipe_names))
 </s> add         raise KeyError(Errors.E001.format(name=name, opts=self._pipe_names))
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
          new_name (str): New name of the component.
  
          DOCS: https://spacy.io/api/language#rename_pipe
          """
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
        if old_name not in self._pipe_names:
            raise ValueError(Errors.E001.format(name=old_name, opts=self._pipe_names))
        if new_name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=new_name, opts=self._pipe_names))
        i = self._pipe_names.index(old_name)
        self._pipeline[i] = (new_name, self._pipeline[i][1])
          self._pipe_meta[new_name] = self._pipe_meta.pop(old_name)
          self._pipe_configs[new_name] = self._pipe_configs.pop(old_name)
  
      def remove_pipe(self, name: str) -> Tuple[str, Callable[[Doc], Doc]]:
          """Remove a component from the pipeline.
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py