News for hackers. Stuff that matters.
Re:How to solve most NLP problems: a step-by-step guide by phijFTW on Wednesday January 24, 2018 @02:39PM (#16225640)
I think

  def sanitize_characters(raw, clean):    
      for line in input_file:
          out = line
          output_file.write(line)
  sanitize_characters(input_file, output_file)
should be

  def sanitize_characters(raw, clean):    
      for line in raw:
          out = line
          clean.write(line)
  sanitize_characters(input_file, output_file)
in your notebook: https://github.com/hundredblocks/concrete_NLP_tutorial/blob/...

Or am I mistaken?

There are no comments on this comment yet.