<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_pipe(self, name):
 """Remove a component from the pipeline. name (unicode):
 Name of the component to remove. RETURNS (tuple):
 A `(name, component)` tuple of the removed component. DOCS: https://spacy.io/api/language#remove_pipe """

        if name not in self.pipe_names:
            raise ValueError(Errors.E001.format(name=name, opts=self.pipe_names))
        return self.pipeline.pop(self.pipe_names.index(name))