问题通过预料库将文档的词语建立词典时,保存词典到本地
dictionary.save('C:\\Users\\11342\\Desktop\\python\\dict.txt')
在本地文档显示为乱码
coding = “utf-8”不行就换成gbk,还不行就gbk2312
dictionary.save('C:\Users\11342\Desktop\python\dict.txt',encoding = 'utf-8')