  
          RETURNS (Dict[str, List[str]]): Labels keyed by component name.
          """
          labels = {}
          for name, pipe in self.pipeline:
              if hasattr(pipe, "labels"):
                  labels[name] = list(pipe.labels)
          return labels
  
      @classmethod
 
</s> remove         for pipe_name, pipe in self.pipeline:
 </s> add         for pipe_name, pipe in self._pipeline: </s> remove         for name, proc in self.pipeline:
 </s> add         for name, proc in self._pipeline: </s> remove         for name, proc in self.pipeline:
 </s> add         for name, proc in self._pipeline: </s> remove         for name, proc in self.pipeline:
 </s> add         for name, proc in self._pipeline: </s> remove         for name, proc in self.pipeline:
            if not hasattr(proc, "name"):
                continue
 </s> add         for name, proc in self._pipeline:
            # TODO: why did we add this?
            # if not hasattr(proc, "name"):
            #     continue
        for name, pipe in self._pipeline:
  
          RETURNS (Dict[str, List[str]]): Labels keyed by component name.
          """
          labels = {}
        for name, pipe in self._pipeline:
              if hasattr(pipe, "labels"):
                  labels[name] = list(pipe.labels)
          return labels
  
      @classmethod
keep keep keep keep replace keep keep keep keep keep
 Allow loaded but disabled components 
spacy/language.py