Unlike the other filter functions, this function actually *returns* a filter function. It should have a name that reflects this - perhaps `make_stopwords_filter`.