IssueID #1562: adjusted call to wani.py for new tei format

This commit is contained in:
Cyprian Laskowski 2021-01-13 19:08:17 +01:00
parent aae67a3070
commit 04606e3e6a

View File

@ -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): def run_mwe_extraction(structure_file_name, tei_file_name, mwe_csv_file_name):
print('Extracting MWEs from tei ...') 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) print(extraction_command)
os.system(extraction_command) os.system(extraction_command)