-
Notifications
You must be signed in to change notification settings - Fork 46
/
config.py
20 lines (19 loc) · 879 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# TODO: Remove path dependence on ron
basePath = "/home/ronlai/patent"
loc = {
"db": "{path}/output/loctbl.sqlite3".format(path=basePath),
"gns": "{path}/input/geonames.txt".format(path=basePath),
"nat": "{path}/input/natfile.txt".format(path=basePath),
"typo": "{path}/input/typos.csv".format(path=basePath),
"usloc": "{path}/input/natfile.txt".format(path=basePath),
"us_db": "{path}/input/CD_ZIP.sqlite3".format(path=basePath),
"typos": "{path}/input/typos.csv".format(path=basePath),
"nat": "{path}/input/natfile.txt".format(path=basePath),
"us_tbl": "congdist",
"nat_tbl": "usloc",
"gns_tbl": "gnsloc",
"mtch_tbl": "matchloc",
"gns_error": "{path}/output/gns_error.txt".format(path=basePath),
"nat_error": "{path}/output/nat_error.txt".format(path=basePath),
"s3_dir": "{path}/output/s3".format(path=basePath),
}