在调试一个项目的时候发现报了这么一个bug TypeError: stem() takes 2 positional arguments but 4 were given TypeError: stem()接受2个位置参数,但给出了4个 定位到出错的函数: 修改为 return stemmer.stem(word) 成功运行