def NormalizeDictVector(v):
    norm = {}
    divisor = sum(v.values())
    for key, value in v.items():
        norm[key] = float(value) / divisor
    return norm
dataset/ETHPy150Open j3camero/canada-election-forecast/calculate_redistributed_2011_results.py/NormalizeDictVector/original