gao109214  
慎独 主敬 求仁 习劳

随笔分类 -  自然语言处理

  • 词型树中的词数统计
    摘要:#from nltk.tree import * from nltk.tree import Tree f = open('C:/Users/gao/Desktop/文档/12.txt')#打开文件 se=f.read().replace("\n","")#读取文件,并替换掉换行符 #print(s 阅读全文
    posted @ 2020-09-21 10:32 憋玩意 阅读(147) 评论(0) 推荐(0)