def make_lex_dict(self):
lex_dict = {}<EOL>for line in self.lexicon_full_filepath.split('<STR_LIT:\n>'):<EOL><INDENT>(word, measure) = line.strip().split('<STR_LIT:\t>')[<NUM_LIT:0>:<NUM_LIT:2>]<EOL>lex_dict[word] = float(measure)<EOL><DEDENT>return lex_dict<EOL>
Convert lexicon file to a dictionary