mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
f269169c43
commit
94e34ec4bf
Binary file not shown.
@ -811,13 +811,13 @@ def main():
|
||||
except: pass
|
||||
|
||||
for k, v in res_dict:
|
||||
v = v.strip()
|
||||
if len(v) < 10:
|
||||
continue
|
||||
#v = v.strip()
|
||||
#if len(v) < 10:
|
||||
# continue
|
||||
utt_id = '-'.join(k.split('-')[:-1])
|
||||
print(utt_id)
|
||||
f = open(f'/DB/LibriSpeech_tar/vox/{params.spk_id}_texts/{utt_id}.txt', 'w')
|
||||
f.write(v.strip())
|
||||
f.write(v)
|
||||
print(k, v)
|
||||
exit()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user