def exact_match(gt_s, gt_e, pr_s, pr_e):
    """
    Evaluate exact match of a predicted span over a ground truth span.
    Args:
        gt_s: index of the ground truth start position
        gt_e: index of the ground truth end position
        pr_s: index of the predicted start position
        pr_e: index of the predicted end position
    """
    return gt_s == pr_s and gt_e == pr_e