title: How to add a text at end of each stopwords in a file
body: <p>What im doing is append a string = "NOTRELATED" in each stopwords in the file. Here is my code but its not working:</p>
  
  <pre><code>stop_words  = set(stopwords.words('english'))
  for line in word_tokenize(input_file):
      if line == stop_words:
          line = line.strip("\n") + " NOTRELATED\n"
          output_file.write(line)
  </code></pre>