()
return args
Parse commandline.
Parse commandline.
Parse commandline .
def get_args():
    """Parse commandline."""
    parser = argparse.ArgumentParser()
    parser.add_argument("--input", required=True, type=str,
                        help="kaldi data file path")
    parser.add_argument("--output", required=True, type=str,
                        help="mace data file path")
    args = parser.parse_args()
    return args
def get_args ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( "--input" , required = True , type = str , help = "kaldi data file path" ) parser . add_argument ( "--output" , required = True , type = str , help = "mace data file path" ) args = parser . parse_args ( ) return args