()
| 114 | |
| 115 | |
| 116 | def parse_args(): |
| 117 | parser = argparse.ArgumentParser() |
| 118 | parser.add_argument( |
| 119 | "--text_input_path", |
| 120 | type=str, |
| 121 | required=True, |
| 122 | help="Path to the input text file.", |
| 123 | ) |
| 124 | parser.add_argument("--bin_output_path", type=str, required=True, help="Path to the output bin file.") |
| 125 | |
| 126 | return parser.parse_args() |
| 127 | |
| 128 | |
| 129 | def main(): |