def load_options(option):
    rval = np.zeros((500, 4000), dtype='float32')
    for i in xrange(500):
        f = open(options_dir + '/' + str(i) + '.option_' + str(option) + '.desc')
        l = f.readlines()
        f.close()
        for w in l:
            if w in wordlist:
                rval[i, wordlist.index(w)] = 1
    return rval
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/scripts/icml_2013_wrepl/multimodal/make_submission.py/load_options/original