diff --git a/egs/gigaspeech/ASR/conformer_ctc/decode.py b/egs/gigaspeech/ASR/conformer_ctc/decode.py index a810bef06d..6ab9852b4b 100755 --- a/egs/gigaspeech/ASR/conformer_ctc/decode.py +++ b/egs/gigaspeech/ASR/conformer_ctc/decode.py @@ -177,8 +177,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)) - new_hyp = asr_text_post_processing(" ".join(hyp)) + 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