stop_words.add_filter()

stop_words.add_filter(func, language=None)[source]

Register filters for specific language. If language == None the filter applies for all languages. Filter will not apply for stop words in cache. :param func: callable :param language: string|None :return: