Loading scripts/bm25extraction.py +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ os.mkdir(new_dir) if ID_ONLY == True: output = codecs.open(new_dir+"/newsroom_articles.txt","w","utf-8") output.write("#" + TOPIC + " #" + IR + " #" + EVENTS_TO_RANGE[TOPIC] + "\n") output.write("#" + TOPIC + " #" + IR + " #" + str(EVENTS_TO_RANGE[TOPIC]) + "\n") for idx,el in enumerate(sortedarticles): if idx == MAX_DOCUMENTS: break Loading Loading
scripts/bm25extraction.py +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ os.mkdir(new_dir) if ID_ONLY == True: output = codecs.open(new_dir+"/newsroom_articles.txt","w","utf-8") output.write("#" + TOPIC + " #" + IR + " #" + EVENTS_TO_RANGE[TOPIC] + "\n") output.write("#" + TOPIC + " #" + IR + " #" + str(EVENTS_TO_RANGE[TOPIC]) + "\n") for idx,el in enumerate(sortedarticles): if idx == MAX_DOCUMENTS: break Loading