Converting information into probability measures with the Kullback-Leibler divergence