              pipe_config = self.get_pipe_config(pipe_name)
              pipeline[pipe_name] = {"factory": pipe_meta.factory, **pipe_config}
              if pipe_meta.default_score_weights:
                  score_weights.append(pipe_meta.default_score_weights)
          self._config["nlp"]["pipeline"] = self.pipe_names
          self._config["components"] = pipeline
          self._config["training"]["score_weights"] = combine_score_weights(score_weights)
          if not srsly.is_json_serializable(self._config):
              raise ValueError(Errors.E961.format(config=self._config))
          return self._config
 
</s> remove         for pipe_name in self.pipe_names:
 </s> add         for pipe_name in self._pipe_names: </s> remove             if pipe_name not in disable:
 </s> add             if pipe_name not in exclude: </s> remove         self.pipeline = []
 </s> add         self._pipeline = []
        self._disabled = set() </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])
        self._config["nlp"]["pipeline"] = self._pipe_names
        self._config["nlp"]["disabled"] = list(self._disabled)
              pipe_config = self.get_pipe_config(pipe_name)
              pipeline[pipe_name] = {"factory": pipe_meta.factory, **pipe_config}
              if pipe_meta.default_score_weights:
                  score_weights.append(pipe_meta.default_score_weights)
        self._config["nlp"]["pipeline"] = self._pipe_names
        self._config["nlp"]["disabled"] = list(self._disabled)
          self._config["components"] = pipeline
          self._config["training"]["score_weights"] = combine_score_weights(score_weights)
          if not srsly.is_json_serializable(self._config):
              raise ValueError(Errors.E961.format(config=self._config))
          return self._config
keep keep keep keep replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py