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
b05510bafa
commit
e2f82e690c
Binary file not shown.
@ -805,8 +805,13 @@ def main():
|
||||
|
||||
for line in jsons:
|
||||
splited = line.split()
|
||||
utt_id = splited[1][1:-2]
|
||||
text_idx = line.index('"text":')
|
||||
|
||||
pseudo = f'"psudo text": "{res_dict[utt_id]}",'
|
||||
line.insert(text_idx+1, pseudo)
|
||||
print(line)
|
||||
|
||||
'''
|
||||
for test_set, test_dl in zip(test_sets, test_dl):
|
||||
results_dict = decode_dataset(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user