                  opts = ", ".join(pipeline.keys())
                  raise ValueError(Errors.E956.format(name=pipe_name, opts=opts))
              pipe_cfg = util.copy_config(pipeline[pipe_name])
              raw_config = Config(filled["components"][pipe_name])
              if pipe_name not in disable:
                  if "factory" not in pipe_cfg and "source" not in pipe_cfg:
                      err = Errors.E984.format(name=pipe_name, config=pipe_cfg)
                      raise ValueError(err)
                  if "factory" in pipe_cfg:
                      factory = pipe_cfg.pop("factory")
 
</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         for pipe_name in self.pipe_names:
 </s> add         for pipe_name in self._pipe_names: </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 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))
            if pipe_name not in exclude:
                  opts = ", ".join(pipeline.keys())
                  raise ValueError(Errors.E956.format(name=pipe_name, opts=opts))
              pipe_cfg = util.copy_config(pipeline[pipe_name])
              raw_config = Config(filled["components"][pipe_name])
            if pipe_name not in exclude:
                  if "factory" not in pipe_cfg and "source" not in pipe_cfg:
                      err = Errors.E984.format(name=pipe_name, config=pipe_cfg)
                      raise ValueError(err)
                  if "factory" in pipe_cfg:
                      factory = pipe_cfg.pop("factory")
keep keep keep keep replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py