Commit 46d1353b authored by rabauti's avatar rabauti
Browse files

kataloogide asukoha loogika targemaks

parent ae1f1751
......@@ -9,12 +9,16 @@ from bs4 import BeautifulSoup
from pathlib import Path
#parsing dictionary
script_name = (os.path.realpath(__file__))
script_dir = os.path.dirname(script_name)
#lähtefailide kataloog
#väljundis säilitame sama struktuuri
indir = '/Users/rabauti/repos/tu/ut_veakorpus/korpus_xml'
outdir = '/Users/rabauti/repos/tu/ut_veakorpus/korpus_ids'
indir = script_dir + '/korpus_xml'
outdir = script_dir + '/korpus_ids'
files = os.listdir(indir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment