摘要: 关键代码: def jb(str1): words = jieba.lcut(str1) counts = {} for word in words: if len(word) == 1: # 排除单个字符的分词结果 continue else: counts[word] = counts.get( 阅读全文
posted @ 2021-12-07 22:16 新古董 阅读(62) 评论(0) 推荐(0)