def get_pipe(self, name):
for pipe_name, component in self.pipeline:<EOL><INDENT>if pipe_name == name:<EOL><INDENT>return component<EOL><DEDENT><DEDENT>raise KeyError(Errors.E001.format(name=name, opts=self.pipe_names))<EOL>
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