f = {} f['subj'] = os.getcwd() + '/subjlist' f['obj'] = os.getcwd() + '/objlist' f['train'] = open ( os.getcwd() + '/train.txt' )