From 04606e3e6a7d8f0637a9f4fe871637e5465a057e Mon Sep 17 00:00:00 2001 From: Cyprian Laskowski Date: Wed, 13 Jan 2021 19:08:17 +0100 Subject: [PATCH] IssueID #1562: adjusted call to wani.py for new tei format --- scripts/pipeline2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pipeline2.py b/scripts/pipeline2.py index 37e0292..16f24b3 100644 --- a/scripts/pipeline2.py +++ b/scripts/pipeline2.py @@ -48,7 +48,7 @@ def split_tei_input(input_file_name, single_file_name, multiple_file_name): def run_mwe_extraction(structure_file_name, tei_file_name, mwe_csv_file_name): print('Extracting MWEs from tei ...') - extraction_command = ' '.join(['python', MWE_EXTRACTION_SCRIPT_NAME, structure_file_name, tei_file_name, '--all', mwe_csv_file_name, '--skip-id-check', '--fixed-restriction-order']) + extraction_command = ' '.join(['python', MWE_EXTRACTION_SCRIPT_NAME, structure_file_name, tei_file_name, '--all', mwe_csv_file_name, '--skip-id-check', '--fixed-restriction-order', '--new-tei']) print(extraction_command) os.system(extraction_command)