Commit f09258ec authored by rabauti's avatar rabauti
Browse files

kataloogide asukoha loogika targemaks

parent 46d1353b
......@@ -9,8 +9,18 @@ from pathlib import Path
#lähtefailide kataloog
#väljundis säilitame sama struktuuri
indir = '/Users/rabauti/repos/tu/ut_veakorpus/korpus_utf8'
outdir = '/Users/rabauti/repos/tu/ut_veakorpus/korpus_xml'
script_name = (os.path.realpath(__file__))
script_dir = os.path.dirname(script_name)
#lähtefailide kataloog
#väljundis säilitame sama struktuuri
indir = script_dir +'/korpus_utf8'
outdir = script_dir +'/korpus_xml'
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