fixing bug in conllu generator
This commit is contained in:
parent
f9bf5ecc01
commit
0b5b900992
@ -74,8 +74,9 @@ for raw_recipe in buffered_reader_1M:
|
|||||||
buffer_count += 1
|
buffer_count += 1
|
||||||
if buffer_count % recipe_buffers_per_file == 0:
|
if buffer_count % recipe_buffers_per_file == 0:
|
||||||
savefile.close()
|
savefile.close()
|
||||||
savefile = open(f"recipes{file_count}.conllu", 'w')
|
|
||||||
file_count += 1
|
file_count += 1
|
||||||
|
savefile = open(f"recipes{file_count}.conllu", 'w')
|
||||||
|
|
||||||
|
|
||||||
process_instructions(instructions)
|
process_instructions(instructions)
|
||||||
print(f"processed {i} recipes")
|
print(f"processed {i} recipes")
|
Loading…
Reference in New Issue
Block a user