def f(txt):
    """
    accept a string containing a scripture reference, normalize it, and then
    return the reformatted string
    """
    return reference_to_string(*normalize_reference(
        *scripture_re.match(txt).groups()))
def f(txt):
    """
    accept a string containing a scripture reference, normalize it, and then
    return the reformatted string
    """
    return reference_to_string(
            *normalize_reference(*scripture_re.match(txt).groups()))
def f(txt):
    """
    accept a string containing a scripture reference, normalize it, and then
    return the reformatted string
    """
    #print("parsing {}".format(txt))
    res = reference_to_string(
        *normalize_reference(*scripture_re.match(txt).groups()))
    #print("...yielded {}".format(res))
    return res
def normalize(txt):
    return normalize_reference(*scripture_re.match(txt).groups())
def normalize(txt):
    return normalize_reference(*scripture_re.match(txt).groups())