如何用python对文章中文分词并统计词频

2025-02-23 14:56:39
推荐回答(1个)
回答1:

使用结巴分词,统计频率可以使用Counter,即from collections import Counter