mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
Update prepare_lexicon.py
This commit is contained in:
parent
cf08faa2f3
commit
f1d4a3f174
@ -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 = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user