Update prepare_lexicon.py

This commit is contained in:
Tiance Wang 2022-06-30 18:26:04 +08:00 committed by GitHub
parent cf08faa2f3
commit f1d4a3f174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,7 @@ def prepare_lexicon(manifests_dir: str, lang_dir: str):
The lexicon.txt file and the train.text in lang_dir.
"""
import gzip
phones = set()
supervisions_train = (