-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update_recipes #1208
update_recipes #1208
Conversation
- commonvoice : use "spawn" context in `ProcessPoolExecutor` - eval2000 : bugfix (@click.option must begin with `--*`) - librispeech : add `--to-lowercase` for librispeech dataprep (default are uppercase transcripts)
a8569e1
to
e67ea29
Compare
@click.option( | ||
"--to-lowercase", | ||
type=bool, | ||
default=False, | ||
help="Conversion of transcripts to lower-vase (originally in uppercase).", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vesis84 most other recipes have an option called --normalize-text
with choices such as "upper", "kaldi", etc. Maybe you can name this option the same for consistency?
b8124a4
to
ed03ca7
Compare
Hi, thanks @desh2608 for the suggestion. Now, it is refactored accordingly ( and tested ). |
"--normalize-text", | ||
type=click.Choice(["none", "lower"], case_sensitive=False), | ||
default="none", | ||
help="Conversion of transcripts to lower-vase (originally in uppercase).", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lower-vase --> lower-case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, corrected now...
… as desh2608 suggested
ed03ca7
to
ae2518b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM!
Proposing small changes to the recipes:
ProcessPoolExecutor
--*
)--to-lowercase
for librispeech dataprep (default are uppercase transcripts)