题目4单选题
阅读下面一段程序: 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) 执行上述程序,最终输出的结果为( )A. ['Life', 'short', ',', 'need', 'Python', '.']B. ['Life', 'short', ',', 'you' ,'need', 'Python', '.']C. ['Life', 'short', 'need', 'Python',]D. ['Life', 'is', 'short', ',', 'need', 'Python', '.']