def METHOD_NAME(value_string):
    """
    Normalize the string value in an RTE pair's ``value`` or ``entailment``
    attribute as an integer (1, 0).
    :param value_string: the label used to classify a text/hypothesis pair
    :type value_string: str
    :rtype: int
    """
    valdict = {"TRUE": 1, "FALSE": 0, "YES": 1, "NO": 0}
    return valdict[value_string.upper()]