'A dictionary from keys to floating-point weights.'

@LazyClassProperty
def _weights(cls):

    weights_view = config['match']['distance_weights']
    weights = {}
    for key in weights_view.keys():
        weights[key] = weights_view[key].as_number()
    return weights
