@staticmethod
def compute(guess: str, answers: List[str]) -> 'ExactMatchMetric':
    if ((guess is None) or (answers is None)):
        return None
    guess = normalize_answer(guess)
    for a in answers:
        if (guess == normalize_answer(a)):
            return ExactMatchMetric(1)
    return ExactMatchMetric(0)
@staticmethod
def compute(guess: str, answers: List[str]) -> 'ExactMatchMetric':
    if ((guess is None) or (answers is None)):
        return None
    guess = normalize_answer(guess)
    for a in answers:
        if (guess == normalize_answer(a)):
            return ExactMatchMetric(1)
    return ExactMatchMetric(0)