python xx 文章詞頻統計

import jieba txt = open(r'G:\txt\全面深化金融供給側結構性改革.txt','r',encoding='utf-8').read() words =jieba.lcut(txt) # 精準切詞 count={} for word in words: if len(word) ==1: continue else:
相關文章
相關標籤/搜索