file_name 为文件类对象或自定义词典的路径. 然后使用如下代码即可完成正确分词:. jieba.load_userdict(r'E:/jieba/userdict.txt') seg_list ...
確定! 回上一頁