from local

This commit is contained in:
dohe0342 2023-01-25 16:35:42 +09:00
parent 557868ccca
commit 53e0773ba4
2 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ def main():
for line in jsons:
splited = line.split()
utt_id = splited[1][1:-2]
text_idx = line.index('"text":')
text_idx = splited.index('"text":')
pseudo = f'"pseudo text": "{res_dict[utt_id]}",'
splited.insert(text_idx-1, pseudo)