          RETURNS (tuple): A `(name, component)` tuple of the removed component.
  
          DOCS: https://spacy.io/api/language#remove_pipe
          """
          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))
          # We're only removing the component itself from the metas/configs here
          # because factory may be used for something else
          self._pipe_meta.pop(name)
          self._pipe_configs.pop(name)
          return removed
 
</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         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             if after not in self.pipe_names:
                raise ValueError(Errors.E001.format(name=after, opts=self.pipe_names))
            return self.pipe_names.index(after) + 1
 </s> add             if after not in self._pipe_names:
                raise ValueError(Errors.E001.format(name=after, opts=self._pipe_names))
            return self._pipe_names.index(after) + 1 </s> remove         for pipe_name, component in self.pipeline:
 </s> add         for pipe_name, component in self._pipeline:
        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))
          RETURNS (tuple): A `(name, component)` tuple of the removed component.
  
          DOCS: https://spacy.io/api/language#remove_pipe
          """
        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))
        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))
        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))
          # We're only removing the component itself from the metas/configs here
          # because factory may be used for something else
          self._pipe_meta.pop(name)
          self._pipe_configs.pop(name)
          return removed
keep keep keep keep replace replace replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py