IssueID #1487: updated calling of conllu->xml script

This commit is contained in:
Cyprian Laskowski 2021-01-08 09:58:33 +01:00
parent ba5c2d155d
commit 80e5055729

View File

@ -56,7 +56,8 @@ def run_classla(obeliks_file_name, classla_file_name):
def run_tei_conversion(classla_file_name, tei_file_name): def run_tei_conversion(classla_file_name, tei_file_name):
print('Converting to tei ...') print('Converting to tei ...')
convert_command = ' '.join(['python', CONLLU_TEI_SCRIPT_NAME, classla_file_name, tei_file_name, '--translate', TRANSLATION_FILE_NAME]) convert_command = ' '.join(['python', CONLLU_TEI_SCRIPT_NAME, '-o', tei_file_name, classla_file_name])
print(convert_command)
os.system(convert_command) os.system(convert_command)
run_pipeline(input_file_name, output_file_name) run_pipeline(input_file_name, output_file_name)