Esempio n. 1
0
def asr_programmatic_wrapper(ref, hyp, head_ids, tail_ids, case_insensitive,
                             remove_empty_refs):
    programmatic_ns = Namespace(ref=open(ref),
                                hyp=open(hyp),
                                head_ids=head_ids,
                                tail_ids=tail_ids,
                                case_insensitive=case_insensitive,
                                remove_empty_refs=remove_empty_refs,
                                print_instances=False,
                                print_errors=False,
                                confusions=False,
                                min_word_count=False,
                                print_wer_vs_length=False,
                                programmatically=True)
    return other_main(programmatic_ns)
Esempio n. 2
0
def main():
    """Run the program."""
    parser = get_parser()
    args = parser.parse_args()
    other_main(args)
Esempio n. 3
0
def main():
    parser = get_parser()
    args = parser.parse_args()
    other_main(args)
Esempio n. 4
0
def main():
    """Run the program."""
    parser = get_parser()
    args = parser.parse_args()
    other_main(args)