code: def get_pipe(self, name):
          
          for pipe_name, component in self.pipeline:
              if pipe_name == name:
                  return component
          raise KeyError(Errors.E001.format(name=name, opts=self.pipe_names))
docs: Get a pipeline component for a given component name.
  
          name (unicode): Name of pipeline component to get.
          RETURNS (callable): The pipeline component.
  
          DOCS: https://spacy.io/api/language#get_pipe