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

Add Fisher English #374

Merged
merged 5 commits into from
Aug 15, 2021

Conversation

videodanchik
Copy link
Contributor

Fisher English recipe.

@pzelasko
Copy link
Collaborator

Thanks, this looks great! Could you also update the table that lists all available corpora in docs/corpus.rst?

LMK if it's otherwise ready to merge.

@pzelasko pzelasko added this to the v0.8 milestone Aug 14, 2021
@videodanchik
Copy link
Contributor Author

Added Fisher corpus to docs/corpus.rst, I also allow myself small refactoring of corpora that have sph2pipe dependency.

output_dir = Path(output_dir)
output_dir.mkdir(parents=True, exist_ok=True)
recordings.to_json(output_dir / 'recordings.json')
supervisions.to_json(output_dir / 'supervisions.json')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since Fisher is large at ~2000h, I suggest writing both of those as jsonl instead, like this:

Suggested change
supervisions.to_json(output_dir / 'supervisions.json')
supervisions.to_file(output_dir / 'supervisions.jsonl.gz')

It will enable others to use the lazy manifest mechanism if needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, will change now.

@pzelasko
Copy link
Collaborator

Thanks, great work!

@pzelasko pzelasko merged commit 861b3e6 into lhotse-speech:master Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants