Skip to content
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

batch transcribe dir (recursively) with transcribe.py #2879

Merged
merged 2 commits into from
Apr 3, 2020

Conversation

JRMeyer
Copy link
Contributor

@JRMeyer JRMeyer commented Apr 2, 2020

No description provided.

@JRMeyer JRMeyer requested a review from tilmankamp April 2, 2020 03:43
Copy link
Contributor

@tilmankamp tilmankamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.
Just a nit on some unnecessarily complicated code.

transcribe.py Outdated
dst_paths = [ path.replace('.wav','.tlog') for path in paths ]
elif kind == 'catalog':
# the user pointed to a catalog dir from DSAlign
src_paths,dst_paths = zip(*paths)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why so complicated? This if block and the kind parameter are not required if all the case-specific preparations would just be done in the corresponding cases in main - just before calling transcribe_many.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

un-complicat-ified the function:)

@tilmankamp tilmankamp merged commit 510e29f into mozilla:master Apr 3, 2020
@JRMeyer JRMeyer deleted the batch-transcribe branch April 3, 2020 16:05
@lissyx lissyx linked an issue Apr 6, 2020 that may be closed by this pull request
@lock
Copy link

lock bot commented May 5, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

transcribe.py functionality and docs
2 participants