79598747

Date: 2025-04-29 15:44:37
Score: 2
Natty:
Report link

Good idea from Daren Thomas
Performance: it repeats the calculation every time it is called in a loop, it would be better to

english_stopwords = set(stopwords.words('english')) # Convert to collections for faster lookups

filtered_words = [word for word in word_list if word not in english_stopwords]

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hysen Ch