matcher.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:PTT-Chat-Generator 作者: zake7749 项目源码 文件源码
def jiebaCustomSetting(self, dict_path, usr_dict_path):

        jieba.set_dictionary(dict_path)
        with open(usr_dict_path, 'r', encoding='utf-8') as dic:
            for word in dic:
                jieba.add_word(word.strip('\n'))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号