NLTK 统计词频

import nltk

Freq_dist_nltk = nltk.FreqDist(list)
for k,y in Freq_dist_nltk:
    print str(k),str(y)

 

posted @ 2018-08-06 15:28  破晓e  阅读(434)  评论(0编辑  收藏  举报