def METHOD_NAME(cls, tokenizer, dict_config):
    if dict_config.get("default_dict"):
        if os.path.isfile(dict_config.get("default_dict")):
            path_default_dict = glob.glob("{}".format(dict_config.get("default_dict")))
            tokenizer = cls.set_default_dict(tokenizer, path_default_dict[0])
        else:
            print("Because the path of Jieba Default Dictionary has to be a file, not a directory, \
                   so Jieba Default Dictionary hasn't been switched.")
    else:
        print("No Jieba Default Dictionary found")
    if dict_config.get("user_dicts"):
        if os.path.isdir(dict_config.get("user_dicts")):
            parse_pattern = "{}/*"
        else:
            parse_pattern = "{}"
        path_user_dicts = glob.glob(parse_pattern.format(dict_config.get("user_dicts")))    
        tokenizer = cls.set_user_dicts(tokenizer, path_user_dicts)
    else:
        print("No Jieba User Dictionary found")
    return tokenizer