nltk(二)
摘要:
1.collocations模块 用于计算一组单词中,没window_size个单词中n个词同时出现的次数 from nltk.collocations import * sent = 'this this is is a a test test'.split() b = BigramColloca 阅读全文
posted @ 2020-03-12 01:24 杨杨09265 阅读(186) 评论(0) 推荐(0) 编辑