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