def METHOD_NAME(self, options: dict) -> None:
    if JIEBA:
        dict_path = options.get('dict')
        if dict_path and os.path.isfile(dict_path):
            jieba.load_userdict(dict_path)
    self.stemmer = snowballstemmer.stemmer('english')