def calculate_precision(total_correct: int, total_found: int) -> float:
    """
    Calculate precision as the ratio of correct acronyms to the found acronyms.

    :param total_correct:
    :param total_found:
    :return:
    """
    return total_correct / total_found if total_found != 0 else 0