()
| 17 | |
| 18 | |
| 19 | def parse_args(): |
| 20 | parser = ArgumentParser() |
| 21 | parser.add_argument("--input", help="input file path", type=str) |
| 22 | parser.add_argument("--lang", help="language", choices=["en"], default="en", type=str) |
| 23 | parser.add_argument( |
| 24 | "--input_case", |
| 25 | help="input capitalization", |
| 26 | choices=["lower_cased", "cased"], |
| 27 | default="cased", |
| 28 | type=str, |
| 29 | ) |
| 30 | parser.add_argument( |
| 31 | "--cat", |
| 32 | dest="category", |
| 33 | help="focus on class only (" + ", ".join(known_types) + ")", |
| 34 | type=str, |
| 35 | default=None, |
| 36 | choices=known_types, |
| 37 | ) |
| 38 | parser.add_argument( |
| 39 | "--filter", action="store_true", help="clean data for normalization purposes" |
| 40 | ) |
| 41 | return parser.parse_args() |
| 42 | |
| 43 | |
| 44 | if __name__ == "__main__": |
no outgoing calls
no test coverage detected
searching dependent graphs…