This commit is contained in:
Guanbo Wang 2022-05-03 22:26:46 +00:00
parent b747e6a43d
commit 239524d384

View File

@ -206,8 +206,8 @@ def post_processing(
) -> List[Tuple[List[str], List[str]]]:
new_results = []
for ref, hyp in results:
new_ref = asr_text_post_processing(' '.join(ref)).split()
new_hyp = asr_text_post_processing(' '.join(hyp)).split()
new_ref = asr_text_post_processing(" ".join(ref)).split()
new_hyp = asr_text_post_processing(" ".join(hyp)).split()
new_results.append((new_ref, new_hyp))
return new_results