withExtractor

Create a new pipeline with the given extractor.

Return

A new pipeline instance

Parameters

extractor

The entity extractor to use