IssueID #1562: adjusted call to wani.py for new tei format
This commit is contained in:
parent
aae67a3070
commit
04606e3e6a
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user