def METHOD_NAME(
    lab_dir,
    lab_name,
    lab_sets,
    phn_dir,
    phn_sets,
    pad_len=0,
    upsample=1,
    verbose=False,
):
    uid2refs = {}
    for s in phn_sets:
        uid2refs.update(read_phn(f"{phn_dir}/{s}.tsv"))
    uid2hyps = {}
    for s in lab_sets:
        uid2hyps.update(
            read_lab(
                f"{lab_dir}/{s}/{lab_name}",
                pad_len,
                upsample,
            )
        )
    _main(uid2refs, uid2hyps, verbose)