def compute_difficulty(rank):
    """

        normalized between 0 and 1
         the difficulty increases in steps of 0.01
         for every 500 ranks
         assumes a frequency list of 50K words

    :param rank:
    :return:
    """
    return rank // 500 / 100.0
