diff --git a/code/convert_speeches_text.py b/code/convert_speeches_text.py index f9af5b3..7e75a50 100644 --- a/code/convert_speeches_text.py +++ b/code/convert_speeches_text.py @@ -106,8 +106,7 @@ def _get_innertext(nodes: t.List[etree.Element]) -> t.Iterator[str]: help = 'File containing the speeches'' text', type = pathlib.Path, required = True) - #args = parser.parse_args() - #print(f'folder in: {args.folder_in}') - #print(f'file out: {args.file_out}') - #convert_speeches_text(args.folder_in, args.file_out) - convert_speeches_text(pathlib.Path('d:/datasets/who/raw'), pathlib.Path('d:/datasets/who/corpus.jsonl')) + args = parser.parse_args() + print(f'folder in: {args.folder_in}') + print(f'file out: {args.file_out}') + convert_speeches_text(args.folder_in, args.file_out)