              bad_val = repr(factory_name)
              err = Errors.E966.format(component=bad_val, name=name)
              raise ValueError(err)
          name = name if name is not None else factory_name
          if name in self.pipe_names:
              raise ValueError(Errors.E007.format(name=name, opts=self.pipe_names))
          if source is not None:
              # We're loading the component from a model. After loading the
              # component, we know its real factory name
              pipe_component, factory_name = self.create_pipe_from_source(
                  factory_name, source, name=name
 
</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 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 pipe_name not in disable:
 </s> add             if pipe_name not in exclude:
        if name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=name, opts=self._pipe_names))
              bad_val = repr(factory_name)
              err = Errors.E966.format(component=bad_val, name=name)
              raise ValueError(err)
          name = name if name is not None else factory_name
        if name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=name, opts=self._pipe_names))
        if name in self._pipe_names:
            raise ValueError(Errors.E007.format(name=name, opts=self._pipe_names))
          if source is not None:
              # We're loading the component from a model. After loading the
              # component, we know its real factory name
              pipe_component, factory_name = self.create_pipe_from_source(
                  factory_name, source, name=name
keep keep keep keep replace replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py