【发布时间】:2022-01-17 21:23:35
【问题描述】:
您好:) 我正在使用包 SnowballStemmer,但出现错误。我很高兴得到任何帮助:)
代码:
stem2 =[]
for word in stem:
if word not in nlp.Default.stop_words:
stem2.append(word)
print(stem2)
此处出错:
line 127, in <module>
if word not in nlp.Default.stop_words:
AttributeError: 'English' object has no attribute 'Default'
【问题讨论】:
标签: python package snowball-stemmer