$stop_words Stop words lookup. */ public function __construct( $stemmer, array $stop_words ) { parent::__construct( $stop_words, true, true, static function ( string $token ) use ( $stemmer ): string { return $stemmer->stem( $token ); } ); } }