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)