Skip to content
Snippets Groups Projects
Commit 1987150e authored by Pawel Orlowicz's avatar Pawel Orlowicz
Browse files

Add resources (reader, writer) cleanup

parent 3ef35298
No related merge requests found
......@@ -152,6 +152,9 @@ def go():
new_par.append(new_sent)
# save tagged paragraph
writer.write_chunk(new_par)
del reader
writer.finish()
del writer
else:
sys.stderr.write('Nothing to do. See --help\n')
if __name__ == '__main__':
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment