Skip to content

Commit

Permalink
Bug fix (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
wgb14 authored May 7, 2022
1 parent 32f05c0 commit 8e3c890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions egs/gigaspeech/ASR/conformer_ctc/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8e3c890

Please sign in to comment.