题目详情
单选题 阅读下面一段程序: from nltk.corpus import stopwords import nltk sentence = 'Life is short,you need Python.' words = nltk.word_tokenize(sentence) stop_words = stopwords.words('english') remain_words = [] for word in words: if word not in stop_words: remain_words.append(word) print(remain_words) 执行上述程序,最终输出的结果为( )

学科:商务数据分析与应用
时间:2024-01-12 01:00:49
