diff --git a/scripts/pipeline.py b/scripts/pipeline.py index 2826ce6..a9e592c 100644 --- a/scripts/pipeline.py +++ b/scripts/pipeline.py @@ -96,7 +96,7 @@ def run_tei_conversion(classla_file_name, tei_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']) + 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']) print(extraction_command) os.system(extraction_command)