Make use of the ExtractionPattern model in the PatternExecutor class.