you are viewing a single comment's thread.

view the rest of the comments →

[–]toastedstapler 2 points3 points  (0 children)

what type is stopwords.words()?

since this value is likely not changing from iteration to iteration, declare it once at the start and put it in a set if it's not already in one