mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-10 22:45:27 +00:00
update of argparse help strings
This commit is contained in:
parent
ce7ec4f3cb
commit
ec6a8462e4
@ -144,7 +144,8 @@ def get_parser():
|
|||||||
type=str,
|
type=str,
|
||||||
nargs="+",
|
nargs="+",
|
||||||
default=[],
|
default=[],
|
||||||
help="",
|
help="List of tokens to ignore when computing confidence scores "
|
||||||
|
"(e.g., punctuation marks)",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
@ -154,21 +155,21 @@ def get_parser():
|
|||||||
choices=[
|
choices=[
|
||||||
"ctc_align",
|
"ctc_align",
|
||||||
],
|
],
|
||||||
help=""" Decoding method for doing the forced alignment.""",
|
help="Decoding method for doing the forced alignment.",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--context-size",
|
"--context-size",
|
||||||
type=int,
|
type=int,
|
||||||
default=2,
|
default=2,
|
||||||
help="The context size in the decoder. 1 means bigram; " "2 means tri-gram",
|
help="The context size in the decoder. 1 means bigram; 2 means tri-gram",
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"dataset_manifests",
|
"dataset_manifests",
|
||||||
type=str,
|
type=str,
|
||||||
nargs="+",
|
nargs="+",
|
||||||
help="""Manifests of test-sets to be evaluated""",
|
help="CutSet manifests to be aligned (CurSet with features and transcripts)",
|
||||||
)
|
)
|
||||||
|
|
||||||
add_model_arguments(parser)
|
add_model_arguments(parser)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user