Sanitize a BIO label - this deals with OIE
    labels sometimes having some noise, as parentheses.

def sanitize_label(label: str) -> str:
    """
    Sanitize a BIO label - this deals with OIE
    labels sometimes having some noise, as parentheses.
    """
    if "-" in label:
        prefix, suffix = label.split("-")
        suffix = suffix.split("(")[-1]
        return f"{prefix}-{suffix}"
    else:
        return label