          """
          for pipe_name, component in self.pipeline:
              if pipe_name == name:
                  return component
          raise KeyError(Errors.E001.format(name=name, opts=self.pipe_names))
  
      def create_pipe(
          self,
          factory_name: str,
          name: Optional[str] = None,
 
</s> remove         for pipe_name, component in self.pipeline:
 </s> add         for pipe_name, component in self._pipeline: </s> remove         for pipe_name, pipe in self.pipeline:
 </s> add         for pipe_name, pipe in self._pipeline: </s> remove         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])
 </s> add         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]) </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 after >= len(self.pipeline) or after < 0:
                err = Errors.E959.format(dir="after", idx=after, opts=self.pipe_names)
 </s> add             if after >= len(self._pipeline) or after < 0:
                err = Errors.E959.format(dir="after", idx=after, opts=self._pipe_names)
        raise KeyError(Errors.E001.format(name=name, opts=self._pipe_names))
          """
          for pipe_name, component in self.pipeline:
              if pipe_name == name:
                  return component
        raise KeyError(Errors.E001.format(name=name, opts=self._pipe_names))
  
      def create_pipe(
          self,
          factory_name: str,
          name: Optional[str] = None,
keep keep keep keep replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py