Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
markanewman committed Jan 4, 2021
1 parent 0737ef2 commit 13ed008
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions code/convert_speeches_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 13ed008

Please sign in to comment.