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

a bilingual recipe similar to the multi-zh_hans #1265

Merged
merged 48 commits into from
Nov 26, 2023

Conversation

JinZr
Copy link
Collaborator

@JinZr JinZr commented Sep 21, 2023

No description provided.

@JinZr JinZr marked this pull request as draft September 21, 2023 07:47
@JinZr JinZr changed the title [WIP] a bilingual recipe similar to multi-zh_hans [WIP] a bilingual recipe similar to the multi-zh_hans Sep 21, 2023
transcript_path = lang_dir / "transcript_chars.txt"

with open(text, "r", encoding="utf-8") as fin:
with open(transcript_path, "w+", encoding="utf-8") as fout:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you change w+ to w?

Copy link
Collaborator

@csukuangfj csukuangfj left a comment

Choose a reason for hiding this comment

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

Thanks!

@JinZr JinZr merged commit ae67f75 into k2-fsa:master Nov 26, 2023
37 checks passed
@JinZr JinZr deleted the dev/bilingual branch November 26, 2023 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants