Quick fix

This commit is contained in:
Luka 2022-12-12 10:24:01 +01:00
parent eb0ea39415
commit 34d51b4fda

View File

@ -34,8 +34,8 @@ def form_paragraphs(annotated_source_divs):
return etree_source_divs, div_name
def write_tei(annotated_source_divs, annotated_target_divs, document_edges, args):
# print('BUILDING LINKS...')
# etree_links = build_links(document_edges)
print('BUILDING LINKS...')
etree_links = build_links(document_edges)
with open(os.path.join(args.results_folder, f"links.xml"), 'w') as tf:
tf.write(etree.tostring(etree_links, pretty_print=True, encoding='utf-8').decode())