Python實現統計《三國演義》人物出場次數

#三國演義人物出場次數統計 import jieba excludes = {"將軍","卻說","荊州","二人","不可","不能","如此","商議","軍士","如何", "主公","軍馬","左右",} txt = open("./三國演義.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) c
相關文章
相關標籤/搜索