              if after >= len(self.pipeline) or after < 0:
                  err = Errors.E959.format(dir="after", idx=after, opts=self.pipe_names)
                  raise ValueError(err)
              return after + 1
          raise ValueError(Errors.E006.format(args=all_args, opts=self.pipe_names))
  
      def has_pipe(self, name: str) -> bool:
          """Check if a component name is present in the pipeline. Equivalent to
          `name in nlp.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) </s> remove             if before >= len(self.pipeline) or before < 0:
                err = Errors.E959.format(dir="before", idx=before, opts=self.pipe_names)
 </s> add             if before >= len(self._pipeline) or before < 0:
                err = Errors.E959.format(
                    dir="before", idx=before, opts=self._pipe_names
                ) </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             if before not in self.pipe_names:
                raise ValueError(Errors.E001.format(name=before, opts=self.pipe_names))
            return self.pipe_names.index(before)
 </s> add             if before not in self._pipe_names:
                raise ValueError(Errors.E001.format(name=before, opts=self._pipe_names))
            return self._pipe_names.index(before) </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])
        raise ValueError(Errors.E006.format(args=all_args, opts=self._pipe_names))
              if after >= len(self.pipeline) or after < 0:
                  err = Errors.E959.format(dir="after", idx=after, opts=self.pipe_names)
                  raise ValueError(err)
              return after + 1
        raise ValueError(Errors.E006.format(args=all_args, opts=self._pipe_names))
  
      def has_pipe(self, name: str) -> bool:
          """Check if a component name is present in the pipeline. Equivalent to
          `name in nlp.pipe_names`.
  
keep keep keep keep replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py