摘要: import os import jieba path=r'F:\duym\123' fs=os.listdir(path) for f in fs: fp=os.path.join(path,f) word=open (fp,'r',encoding='utf-8').read() for w in jieba.cut(word): print(w) # ji... 阅读全文
posted @ 2018-12-17 11:15 DT_TD 阅读(94) 评论(0) 推荐(0) 编辑