def load_label(path):
    """
    INPUTS:
        path            - label file. formatted as "uttid label" per line. label is int
    
    OUTPUTS:
        utt_to_label    - a mapping from uttid to a int
    """
    with open(path) as f:
        toks = [line.rstrip().split() for line in f]
    utt_to_label = dict([(tok[0], int(tok[1])) for tok in toks])
    return utt_to_label