From 34d51b4fda7b182264fddd51b52a819bcfd5f569 Mon Sep 17 00:00:00 2001 From: Luka Date: Mon, 12 Dec 2022 10:24:01 +0100 Subject: [PATCH] Quick fix --- src/write/write.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/write/write.py b/src/write/write.py index 0587c07..91d6458 100644 --- a/src/write/write.py +++ b/src/write/write.py @@ -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())