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:
相关文章
相关标签/搜索