MCPcopy Index your code
hub / github.com/modelscope/FunASR / parse_args

Function parse_args

fun_text_processing/text_normalization/run_evaluate.py:19–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def 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
44if __name__ == "__main__":

Callers 1

run_evaluate.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…