python 结巴分词 停用词库

具体问题见图片,谢谢各位了~~~
2025-12-05 15:41:01
推荐回答(1个)
回答1:

if w not in stopword:
#改为
if w.word not in stopword.keys():
#试试