Commits

Anonymous committed 3fa0ffd

Naively use argv to specify input data

Comments (0)

Files changed (1)

 from utils import get_close_matches
 
 
-records = loads(open("data.json", "rb").read())
+records = loads(open(argv[1], "rb").read())
 
 
 cutoff = 0.85
 
 
 pool = Pool()
-pool.map(job, glob(argv[1]))
+pool.map(job, glob(argv[2]))