完整的中英文词频统计
摘要:
for word in sep: str=str.replace(word,"") print(str) #排除无意义的词 li=str.split() strset=set(li) exclude={'in','you','i','go'} strset=strset-exclude #单词字数 dict={} f... 阅读全文
posted @ 2018-12-24 10:47 zoyeln 阅读(166) 评论(0) 推荐(0) 编辑