IssueID #1487: fixed parameter names
This commit is contained in:
parent
51ed244a5c
commit
743ee6ebae
|
@ -14,8 +14,8 @@ arg_parser = argparse.ArgumentParser(description='Parse Slovene strings and conv
|
|||
arg_parser.add_argument('-inlist', type=str, help='Input list file')
|
||||
arg_parser.add_argument('-outtei', type=str, help='Output TEI file')
|
||||
arguments = arg_parser.parse_args()
|
||||
input_file_name = arguments.infile
|
||||
output_file_name = arguments.outfile
|
||||
input_file_name = arguments.inlist
|
||||
output_file_name = arguments.outtei
|
||||
|
||||
NLP_CONFIG_MAP = {
|
||||
'treebank': 'sl_ssj_jos',
|
||||
|
|
|
@ -13,8 +13,8 @@ arg_parser.add_argument('-outlexicon', type=str, help='Output lexicon file')
|
|||
arguments = arg_parser.parse_args()
|
||||
input_list_file_name = arguments.inlist
|
||||
input_tei_file_name = arguments.intei
|
||||
output_lexicon_file_name = arguments.outlexicon
|
||||
output_structure_file_name = arguments.outstructures
|
||||
output_lexicon_file_name = arguments.outlexicon
|
||||
|
||||
def run_pipeline(input_list_file_name, input_tei_file_name, output_lexicon_file_name, output_structure_file_name):
|
||||
shutil.rmtree(TMP_DIRECTORY, True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user