from typing import Callable


def similarize_distance(distance_measure: Callable) -> Callable:
    """
    Takes a distance measure and converts it into a information_density measure.

    Args:
        distance_measure: The distance measure to be converted into information_density measure.

    Returns:
        The information_density measure obtained from the given distance measure.
    """

    def sim(*args, **kwargs):
        return 1 / (1 + distance_measure(*args, **kwargs))

    return sim