2024-05-08 02:15:34 发布
网友
因为我的数据是法语的,所以我怎么才能得到法语中stopwords的关键字列表呢。 stop_words=stopwords.words('french')
stop_words=stopwords.words('french')
您提供的代码表明您正在询问如何使用^{}的停止词。我明白你的意思吗?在这种情况下,停止字集如下所示:
>>> import nltk >>> from nltk.corpus import stopwords >>> stop_words = set(stopwords.words('french'))
您提供的代码表明您正在询问如何使用^{} 的停止词。我明白你的意思吗?在这种情况下,停止字集如下所示:
相关问题 更多 >
编程相关推荐