IssueID #1562: used new flag for fixed order

This commit is contained in:
Cyprian Laskowski 2020-11-03 16:29:54 +01:00
parent 5e7ac5d832
commit bc2ad4d45f

View File

@ -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)