import collections from snownlp import SnowNLP def word_counts_action(self, text, top_number): """ :param text: 统计的文本 :param top_number: 输出词频前几 """ # Read More
posted @ 2022-05-06 21:23 PythonNew_Mr.Wang Views(73) Comments(0) Diggs(0)