Skip to content

ASR,ST and CS recipies - #1307

Open
AmirHussein96 wants to merge 13 commits into
lhotse-speech:masterfrom
AmirHussein96:multiling_cs
Open

ASR,ST and CS recipies#1307
AmirHussein96 wants to merge 13 commits into
lhotse-speech:masterfrom
AmirHussein96:multiling_cs

Conversation

@AmirHussein96

Copy link
Copy Markdown
Contributor

This is a pull request for:

@AmirHussein96

Copy link
Copy Markdown
Contributor Author

@desh2608 @pzelasko This PR is ready to be reviewed.

Comment thread lhotse/cut/data.py Outdated
# Case 3: anything else
else v
)
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This code shouldn't be reformatted, it's possible you're using a different version of black. Please revert all formatting changes.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Also please move global imports of optional dependencies like bs4 to local imports instead, the CI is failing on trying to import them.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'll continue to review once this is done (too many changes atm)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks @pzelasko , I have addressed your comments.

"supervisions": default_collate(
[
{
"text": supervision.text,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe we can just add ”language”: supervision.language, in the line below and always return it to get rid of the extra option and code duplication.

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