def _get_parser(): """ Get arguments parser """ parser = argparse.ArgumentParser(description='KoSpeech') parser.add_argument('--mode', type=str, default='eval') build_preprocess_opts(parser) build_eval_opts(parser) return parser
def _get_parser(): """ Get arguments parser """ parser = argparse.ArgumentParser( description='End-to-end Speech Recognition') parser.add_argument('--mode', type=str, default='train') build_preprocess_opts(parser) build_model_opts(parser) build_train_opts(parser) return parser