def METHOD_NAME(rttm_path):
    """Parse audio and query pairs from *.rttm."""
    # e.g. "LEXEME quesst14_12345 ... quesst14_dev_123 ..."
    pattern = re.compile(r"LEXEME\s+(quesst14_[0-9]+).*?(quesst14_(dev|eval)_[0-9]+)")
    query2audios = defaultdict(list)
    with open(rttm_path) as fd:
        for line in fd:
            match = pattern.match(line)
            if match is None:
                continue
            query2audios[match.group(2)].append(match.group(1))
    return query2audios