1、gensim 包
from gensim.parsing.preprocessing import STOPWORDSls_stopwords = list(STOPWORDS)print(ls_stopwords) # jy: 337
2、nltk 包
import nltknltk.download('stopwords')stop_words = nltk.corpus.stopwords.words('english')print(len(stop_words))print(stop_words[:7])print([sw for sw in stop_words if len(sw) == 1])
