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