Pull application of extract options (first, trim_punctuation, etc.) into its own method so it can more easily be reused