stops = stopwords.words('english')mystops = ['rather', 'word']
mystops.extend(bar)nonstopwords = [w.lower() for w in X if w.isalpha() and w.lower() not in mystops]
--
You received this message because you are subscribed to the Google Groups "nltk-users" group.
To post to this group, send email to nltk-...@googlegroups.com.
To unsubscribe from this group, send email to nltk-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nltk-users?hl=en.
But that doesn't really solve the question of where all the missing
stop words have gone. If I follow your procedure I have to type in a
few hundred by hand which, presumably, are still in a list somewhere.
If this is the way I have to do things, does anyone have a list of
stopwords I can copy?
Craig
Craig Hagerman
January 6, 2011 10:44 AM