I'd just do something like this: from nltk.corpus import stopwords s=set(stopwords.words('english')) txt="a long string of text about him and her" print ...
確定! 回上一頁