diff --git a/Tagging/recipe_collnu_generator.py b/Tagging/recipe_conllu_generator.py similarity index 99% rename from Tagging/recipe_collnu_generator.py rename to Tagging/recipe_conllu_generator.py index a9a5760..bef9157 100755 --- a/Tagging/recipe_collnu_generator.py +++ b/Tagging/recipe_conllu_generator.py @@ -74,8 +74,9 @@ for raw_recipe in buffered_reader_1M: buffer_count += 1 if buffer_count % recipe_buffers_per_file == 0: savefile.close() - savefile = open(f"recipes{file_count}.conllu", 'w') file_count += 1 + savefile = open(f"recipes{file_count}.conllu", 'w') + process_instructions(instructions) print(f"processed {i} recipes")